# Payment with Quote
source: https://developer.mastercard.com/cross-border-services/documentation/use-cases/payment-with-quote/index.md

Payment with Quote allows associating the FX rate and amounts calculated for a previously submitted quote, to the payment.   
For the complete list of supported transaction types, see [Use Cases.](https://developer.mastercard.com/cross-border-services/documentation/use-cases/index.md)

The pricing model that you follow will help determine the type of the API call that you will use, the content you will send inside the API call, and the timing of when FX rates are retrieved. Learn more about the [Pricing Model](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md).
Note: A valid single quote is for one-time use only i.e. it can be used for a single transaction.

Payment with quote can be achieved in three different ways:

## 1. Forward Payment (fees included) with quote {#1-forward-payment-fees-included-with-quote}

In this type, the sender specifies the Sending amount and currency for a payment including any applicable service fees and the amount received by recipient in the receiver currency is calculated.

##### ++Customer Managed Sender Pricing (CSMP) for an Originating Institution flow++: {#ucustomer-managed-sender-pricing-csmp-for-an-originating-institution-flowu}

The below sequence diagram shows a forward payment of 100 USD to Phillippines (including the service fees) with a quote, in a [CMSP](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md) model.  

**Note**: The Originating Institution (OI) gets the rates from Cross-Border Services ahead of time and feeds into their system either using carded rates mechanism or Quotes API. This flow is not shown in the below diagram. For this example, let's assume the FX rate for USD to PHP conversion provided by Mastercard is 50 and service fees is 2 USD.
Diagram send-fwd-with-quote-fees-cmsp-sequence

##### ++Mastercard Managed Sender Pricing (MMSP) for an Originating Institution flow++: {#umastercard-managed-sender-pricing-mmsp-for-an-originating-institution-flowu}

The below sequence diagram shows a forward payment of 100 USD to Phillippines (including the service fees) with a quote, in a [MMSP](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md) model.  
Diagram send-fwd-with-quote-fees-mmsp-sequence

## 2. Forward Payment(fees not included) with quote {#2-forward-paymentfees-not-included-with-quote}

In this type, the sender specifies the Sending amount and currency for a payment and the amount received by the end recipient and also the amount charged to the sender with the service fees applied on top of the request send amount is calculated.

##### ++Customer Managed Sender Pricing (CMSP) for an Originating Institution flow++: {#ucustomer-managed-sender-pricing-cmsp-for-an-originating-institution-flowu}

The below sequence shows a forward payment transaction of 100 USD to Phillippines as and the service fees applied on top of the sending amount; with a quote, in a [CMSP](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md) model.  

**Note**: The Originating Institution (OI) gets the rates from Cross-Border Services ahead of time and feeds into their system either using carded rates mechanism or Quotes API. This flow is not shown in the below diagram. For this example, let's assume the FX rate for USD to PHP conversion provided by Mastercard is 50 and service fees is 2 USD.
Diagram send-fwd-with-quote-wo-fees-cmsp-sequence

##### ++Mastercard Managed Sender Pricing (MMSP) for an Originating Institution flow++: {#umastercard-managed-sender-pricing-mmsp-for-an-originating-institution-flowu-1}

The below sequence shows a forward payment transaction of 100 USD to Phillippines as and the service fees applied on top of the sending amount; with a quote, in a [MMSP](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md) model.  
Diagram send-fwd-with-quote-wo-fees-mmsp-sequence

## 3. Reverse Payment with quote {#3-reverse-payment-with-quote}

Here, the receiving amount in receiver currency is specified by the sender and the total amount charged to the sender is calculated.

##### ++Customer Managed Sender Pricing (CMSP) for an Originating Institution flow++: {#ucustomer-managed-sender-pricing-cmsp-for-an-originating-institution-flowu-1}

The below sequence shows a payment transaction of 5000 PHP as a reverse payment based on the quote, in [CMSP](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md) model.   

**Note**: The Originating Institution (OI) gets the rates from Cross-Border Services ahead of time and feeds into their system either using carded rates mechanism or Quotes API. This flow is not shown in the below diagram. For this example, let's assume the FX rate for USD to PHP conversion provided by Mastercard is 50 and service fees is 2 USD.
Diagram send-rvs-with-quote-cmsp-sequence

##### ++Mastercard Managed Sender Pricing (MMSP) for an Originating Institution flow++: {#umastercard-managed-sender-pricing-mmsp-for-an-originating-institution-flowu-2}

The below sequence shows a payment transaction of 5000 PHP as a reverse payment based on the quote, in [MMSP](https://developer.mastercard.com/cross-border-services/documentation/use-cases/pricing-model/index.md) model.  
Diagram send-rvs-with-quote-mmsp-sequence

## 4. Payment with Quote Confirmation {#4-payment-with-quote-confirmation}

Here, the Originating Institution (OI) has to confirm the quote that they receive in the quote API within the time specified in the quote APIs response.

##### ++Confirm Quote API for an Originating Institution flow++: {#uconfirm-quote-api-for-an-originating-institution-flowu}

Diagram send-confirm-quote-request

##### ++Cancel Confirmed Quote API for an Originating Institution flow++: {#ucancel-confirmed-quote-api-for-an-originating-institution-flowu}

Diagram send-cancel-quote-request
