# Mastercard QR Transaction Solutions
source: https://developer.mastercard.com/mastercard-gateway/documentation/gateway-features/data-and-reporting/supp-data/mastercard-qr-transaction-solutions/index.md

### Overview {#overview}

Mastercard offers two QR-based payment solutions to provide flexibility, security, and interoperability across digital and physical commerce environments.

#### Pay by Link {#pay-by-link}

This solution enables secure consumer-to-merchant payments by embedding a payment link within a QR code. It is designed for face-to-face or in-store transactions, allowing merchants to display a QR code that customers can scan to initiate payment.
The following are the key benefits:

* The QR code links directly to a secure payment page.
* The solution is ideal for Point-of-Service (POS) environments.
* It supports e-commerce-style transaction processing.

#### X QR {#x-qr}

X QR facilitates QR-initiated payments within Digital Wallet Operator (DWO) ecosystems. It supports intercountry or proprietary QR solutions, enabling Mastercard payments through popular digital wallets.
The following are the key benefits:

* Seamless integration with major digital wallets.
* Enables Mastercard transactions through proprietary QR platforms.
* Transactions are processed as e-commerce transactions.

#### Transaction identification enhancements {#transaction-identification-enhancements}

To improve transaction tracking and reporting, Mastercard is introducing new identifiers in the transaction data. These identifiers:

* Distinguish between Pay by Link and X QR transactions.
* Enhance visibility and accuracy in processing.
* Support better analytics and reconciliation for merchants and partners.

### Supported schemes {#supported-schemes}

Mastercard

#### API version and parameters {#api-version-and-parameters}

Mastercard Gateway supports QR transaction flagging from version 78 onwards of the Web Service API for Mastercard.

#### Minimum required fields and values for QR-initiated transactions {#minimum-required-fields-and-values-for-qr-initiated-transactions}

|                   Field                   |                   Enumeration                   | Field requirement |
|-------------------------------------------|-------------------------------------------------|-------------------|
| `order.amount`                            | -                                               | Mandatory         |
| `order.currency`                          | -                                               | Mandatory         |
| `sourceOfFunds.provided`                  | Parameter Group                                 | Mandatory         |
| `sourceOfFunds.provided.card`             | -                                               | Mandatory         |
| `sourceOfFunds.provided.month`            | -                                               | Mandatory         |
| `sourceOfFunds.provided.year`             | -                                               | Mandatory         |
| `sourceOfFunds.provided.type`             | CARD                                            | Mandatory         |
| `transaction`                             | Parameter Group                                 | Mandatory         |
| `transaction.source`                      | INTERNET                                        | Mandatory         |
| `transaction.qrInitiated`                 | Parameter Group                                 | Mandatory         |
| `transaction.qrInitiated.qrCodeService`   | `MASTERCARD_QR_PAY_BY_LINK` `MASTERCARD_QR_XQR` | Mandatory         |
| `transaction.qrInitiated.qrCodePresenter` | `CUSTOMER_PRESENTED` `MERCHANT_PRESENTED`       | Conditional       |

### Examples of QR transaction fields {#examples-of-qr-transaction-fields}

#### Initated Checkout Authorization sample request and response data {#initated-checkout-authorization-sample-request-and-response-data}

```json
{
  "apiOperation": "INITIATE_CHECKOUT",
  "checkoutMode": "PAYMENT_LINK",
  "paymentLink": {
    "expiryDateTime": "2025-09-30T07:54:33.000Z",
    "numberOfAllowedAttempts": "2"
  },
  "interaction": {
    "operation": "AUTHORIZE",
    "merchant": {
      "name": "JK Enterprises LLC",
      "url": "https://www.your.site.url.com"
    },
    "returnUrl": "https://www.your.site.url.com"
  },
  "transaction": {
    "qrInitiated": {
      "qrCodeService": "MASTERCARD_QR_PAY_BY_LINK",
      "qrCodePresenter": "MERCHANT_PRESENTED"
    }
  },
  "order": {
    "currency": "{{currency}}",
    "amount": "250.00",
    "id": "{{orderId}}",
    "description": "Goods and Services"
  }
}
```

```json
{
  "checkoutMode": "PAYMENT_LINK",
  "merchant": "PEG_S2I_MER1",
  "paymentLink": {
    "expiryDateTime": "2025-09-30T07:54:33.000Z",
    "id": "PAYLINK0001252647835F8791606M34",
    "numberOfAllowedAttempts": 2,
    "url": "https://site1-stripe2-oltp.qa01.gateway.mastercard.int/pbl/PAYLINK0001252647835F8791606M34"
  },
  "result": "SUCCESS",
  "successIndicator": "eecd7dac0237489b"
}
```

#### Initiate Checkout Pay sample request and response data {#initiate-checkout-pay-sample-request-and-response-data}

```json
{
  "apiOperation": "INITIATE_CHECKOUT",
  "checkoutMode": "PAYMENT_LINK",
  "paymentLink": {
    "expiryDateTime": "2025-09-30T07:54:33.000Z",
    "numberOfAllowedAttempts": "2"
  },
  "interaction": {
    "operation": "PURCHASE",
    "merchant": {
      "name": "The Company Co",
      "url": "https://www.merchant-site.com",
      "logo": "https://upload.wikimedia.org/wikipedia/commons/2/21/Verlagsgruppe_Random_House_Logo_2016.png"
    }
  },
  "transaction": {
    "qrInitiated": {
      "qrCodeService": "MASTERCARD_QR_XQR",
      "qrCodePresenter": "CUSTOMER_PRESENTED"
    }
  },
  "order": {
    "currency": "{{currency}}",
    "amount": "100.00",
    "id": "{{orderId}}",
    "description": "Goods and Services"
  },
  "billing": {
    "address": {
      "city": "St Louis",
      "stateProvince": "MO",
      "country": "USA",
      "postcodeZip": "63102",
      "street": "11 N 4th St",
      "street2": "The Gateway Arch"
    }
  },
  "customer": {
    "email": "peteMorris@mail.us.com",
    "firstName": "John",
    "lastName": "Doe",
    "mobilePhone": "+1 5557891230",
    "phone": "+1 1234567890"
  }
}
```

```json
{
"checkoutMode": "PAYMENT_LINK",
"merchant": "PEG_S2I_MER1",
"paymentLink": {
"expiryDateTime": "2025-09-30T07:54:33.000Z",
"id": "PAYLINK0001199762242G3956628N32",
"numberOfAllowedAttempts": 2,
"url": "https://site1-stripe2-oltp.qa01.gateway.mastercard.int/pbl/PAYLINK0001199762242G3956628N32"
},
"result": "SUCCESS",
"successIndicator": "369690442b434012"
}
```

#### Authorization for QR_XQR sample request and response data {#authorization-for-qr_xqr-sample-request-and-response-data}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "AUD"
  },
  "sourceOfFunds": {
    "provided": {
      "card": {
        "expiry": {
          "month": "12",
          "year": "27"
        },
        "number": "5123450000000008"
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "source": "INTERNET",
    "qrInitiated": {
      "qrCodeService": "MASTERCARD_QR_XQR",
      "qrCodePresenter": "CUSTOMER_PRESENTED"
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0912",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-12",
    "posData": "1025104006600",
    "posEntryMode": "812",
    "processingCode": "003000",
    "responseCode": "00",
    "stan": "198231",
    "time": "053124",
    "transactionIdentifier": "033125"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "certainty": "FINAL",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-12T05:31:24.703Z",
    "currency": "AUD",
    "id": "AKS_943595500",
    "lastUpdatedTime": "2025-09-12T05:31:25.111Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 0,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 0
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "27"
        },
        "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-12T05:31:25.111Z",
  "timeOfRecord": "2025-09-12T05:31:24.782Z",
  "transaction": {
    "acquirer": {
      "batch": 20250912,
      "date": "0912",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "transactionId": "033125"
    },
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "033125",
    "currency": "AUD",
    "id": "AKS_56028038",
    "qrInitiated": {
      "qrCodePresenter": "CUSTOMER_PRESENTED",
      "qrCodeService": "MASTERCARD_QR_XQR"
    },
    "receipt": "525505198231",
    "source": "INTERNET",
    "stan": "198231",
    "terminal": "0002",
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Authorization for QR_PAY_BY_LINK sample request and response data {#authorization-for-qr_pay_by_link-sample-request-and-response-data}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "AUD"
  },
  "sourceOfFunds": {
    "provided": {
      "card": {
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "number": "5123450000000008"
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "source": "INTERNET",
    "qrInitiated": {
      "qrCodeService": "MASTERCARD_QR_PAY_BY_LINK",
      "qrCodePresenter": "CUSTOMER_PRESENTED"
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0910",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-10",
    "posData": "1025104006600",
    "posEntryMode": "812",
    "processingCode": "003000",
    "responseCode": "00",
    "stan": "135672",
    "time": "112736",
    "transactionIdentifier": "092736"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "certainty": "FINAL",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-10T11:27:36.680Z",
    "currency": "AUD",
    "id": "AKS_843504202",
    "lastUpdatedTime": "2025-09-10T11:27:36.995Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 0,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 0
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-10T11:27:36.995Z",
  "timeOfRecord": "2025-09-10T11:27:36.716Z",
  "transaction": {
    "acquirer": {
      "batch": 20250911,
      "date": "0911",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "transactionId": "092736"
    },
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "092736",
    "currency": "AUD",
    "id": "AKS_875960265",
    "qrInitiated": {
      "qrCodePresenter": "CUSTOMER_PRESENTED",
      "qrCodeService": "MASTERCARD_QR_PAY_BY_LINK"
    },
    "receipt": "525311135672",
    "source": "INTERNET",
    "stan": "135672",
    "terminal": "0002",
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Pay for QR_XQR sample request and response data {#pay-for-qr_xqr-sample-request-and-response-data}

```json
{
  "apiOperation": "PAY",
  "order": {
    "currency": "AUD",
    "amount": "100"
  },
  "sourceOfFunds": {
    "type": "CARD",
    "provided": {
      "card": {
        "number": "5123450000000008",
        "expiry": {
          "month": "12",
          "year": "39"
        }
      }
    }
  },
  "transaction": {
    "source": "INTERNET",
    "qrInitiated": {
      "qrCodeService": "MASTERCARD_QR_XQR",
      "qrCodePresenter": "CUSTOMER_PRESENTED"
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0915",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-15",
    "posData": "1025100006600",
    "posEntryMode": "812",
    "processingCode": "003000",
    "responseCode": "00",
    "stan": "215254",
    "time": "090945",
    "transactionIdentifier": "070945"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-15T09:09:45.165Z",
    "currency": "AUD",
    "id": "AKS_164435118",
    "lastUpdatedTime": "2025-09-15T09:09:46.168Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 100,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 0
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-15T09:09:46.168Z",
  "timeOfRecord": "2025-09-15T09:09:45.196Z",
  "transaction": {
    "acquirer": {
      "batch": 20250916,
      "date": "0916",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-09-16",
      "timeZone": "+1000",
      "transactionId": "070945"
    },
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "070945",
    "currency": "AUD",
    "id": "AKS_224961308",
    "qrInitiated": {
      "qrCodePresenter": "CUSTOMER_PRESENTED",
      "qrCodeService": "MASTERCARD_QR_XQR"
    },
    "receipt": "525809215254",
    "source": "INTERNET",
    "stan": "215254",
    "terminal": "0002",
    "type": "PAYMENT"
  },
  "version": "100"
}
```

#### Pay for QR_PAY_BY_LINK sample request and response data {#pay-for-qr_pay_by_link-sample-request-and-response-data}

```json
{
  "apiOperation": "PAY",
  "order": {
    "currency": "AUD",
    "amount": "100"
  },
  "sourceOfFunds": {
    "type": "CARD",
    "provided": {
      "card": {
        "number": "5123450000000008",
        "expiry": {
          "month": "12",
          "year": "39"
        }
      }
    }
  },
  "transaction": {
    "source": "INTERNET",
    "qrInitiated": {
      "qrCodeService": "MASTERCARD_QR_PAY_BY_LINK",
      "qrCodePresenter": "MERCHANT_PRESENTED"
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0915",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-15",
    "posData": "1025100006600",
    "posEntryMode": "812",
    "processingCode": "003000",
    "responseCode": "00",
    "stan": "218403",
    "time": "064505",
    "transactionIdentifier": "044505"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-15T06:45:05.067Z",
    "currency": "AUD",
    "id": "AKS_99464063",
    "lastUpdatedTime": "2025-09-15T06:45:06.238Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 100,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 0
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-15T06:45:06.238Z",
  "timeOfRecord": "2025-09-15T06:45:05.094Z",
  "transaction": {
    "acquirer": {
      "batch": 20250915,
      "date": "0915",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-09-15",
      "timeZone": "+1000",
      "transactionId": "044505"
    },
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "044505",
    "currency": "AUD",
    "id": "AKS_194358444",
    "qrInitiated": {
      "qrCodePresenter": "MERCHANT_PRESENTED",
      "qrCodeService": "MASTERCARD_QR_PAY_BY_LINK"
    },
    "receipt": "525806218403",
    "source": "INTERNET",
    "stan": "218403",
    "terminal": "0002",
    "type": "PAYMENT"
  },
  "version": "100"
}
```

#### Capture sample request and response data {#capture-sample-request-and-response-data}

```json
{
  "apiOperation": "CAPTURE",
  "transaction": {
    "amount": "100",
    "currency": "AUD"
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0912",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-12",
    "posData": "1025104006600",
    "posEntryMode": "812",
    "processingCode": "003000",
    "responseCode": "00",
    "stan": "198231",
    "time": "053124",
    "transactionIdentifier": "033125"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "certainty": "FINAL",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-12T05:31:24.703Z",
    "currency": "AUD",
    "id": "AKS_943595500",
    "lastUpdatedTime": "2025-09-12T05:31:34.988Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 100,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 0
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "27"
        },
        "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-12T05:31:34.988Z",
  "timeOfRecord": "2025-09-12T05:31:34.873Z",
  "transaction": {
    "acquirer": {
      "batch": 20250912,
      "date": "0912",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-09-12",
      "timeZone": "+1000",
      "transactionId": "033125"
    },
    "amount": 100,
    "authorizationCode": "033125",
    "currency": "AUD",
    "id": "AKS_453440814",
    "qrInitiated": {
      "qrCodePresenter": "CUSTOMER_PRESENTED",
      "qrCodeService": "MASTERCARD_QR_XQR"
    },
    "receipt": "525505198231",
    "source": "INTERNET",
    "stan": "199260",
    "terminal": "0001",
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund sample request and response data {#refund-sample-request-and-response-data}

```json
{
  "apiOperation": "REFUND",
  "transaction": {
    "amount": "100",
    "currency": "AUD"
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0912",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-12",
    "posData": "1025104006600",
    "posEntryMode": "812",
    "processingCode": "203000",
    "responseCode": "00",
    "stan": "198231",
    "time": "053124",
    "transactionIdentifier": "033125"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "certainty": "FINAL",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-12T05:31:24.703Z",
    "currency": "AUD",
    "id": "AKS_943595500",
    "lastUpdatedTime": "2025-09-12T05:31:44.128Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "REFUNDED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 100,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 100
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "27"
        },
        "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-12T05:31:44.128Z",
  "timeOfRecord": "2025-09-12T05:31:43.984Z",
  "transaction": {
    "acquirer": {
      "batch": 20250912,
      "date": "0912",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-09-12",
      "timeZone": "+1000",
      "transactionId": "033125"
    },
    "amount": 100,
    "currency": "AUD",
    "id": "AKS_118076248",
    "qrInitiated": {
      "qrCodePresenter": "CUSTOMER_PRESENTED",
      "qrCodeService": "MASTERCARD_QR_XQR"
    },
    "receipt": "525505200300",
    "source": "INTERNET",
    "stan": "200300",
    "terminal": "0002",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void sample request and response data {#void-sample-request-and-response-data}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_118076248"
  }
}
```

```json
{
  "authorizationResponse": {
    "commercialCardIndicator": "3",
    "date": "0912",
    "financialNetworkCode": "XYZ",
    "financialNetworkDate": "2025-09-12",
    "posData": "1025104006600",
    "posEntryMode": "812",
    "processingCode": "203000",
    "responseCode": "00",
    "stan": "198231",
    "time": "053124",
    "transactionIdentifier": "033125"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "certainty": "FINAL",
    "chargeback": {
      "amount": 0,
      "currency": "AUD"
    },
    "creationTime": "2025-09-12T05:31:24.703Z",
    "currency": "AUD",
    "id": "AKS_943595500",
    "lastUpdatedTime": "2025-09-12T05:31:58.056Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "4111",
    "merchantCurrency": "AUD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 100,
    "totalCapturedAmount": 100,
    "totalDisbursedAmount": 0,
    "totalRefundedAmount": 0
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "MASTERCARD",
        "expiry": {
          "month": "12",
          "year": "27"
        },
           "fundingMethod": "DEBIT",
        "issuerCountryCode": "LBR",
        "number": "512345xxxxxx0008",
        "scheme": "MASTERCARD",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-09-12T05:31:58.056Z",
  "timeOfRecord": "2025-09-12T05:31:57.920Z",
  "transaction": {
    "acquirer": {
      "batch": 20250912,
      "date": "0912",
      "id": "CYG_TESTACQ_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-09-12",
      "timeZone": "+1000",
      "transactionId": "033125"
    },
    "amount": 100,
    "currency": "AUD",
    "id": "124807",
    "receipt": "525505200300",
    "source": "INTERNET",
    "stan": "201370",
    "targetTransactionId": "AKS_118076248",
    "terminal": "0002",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

