# WS API examples of American Express
source: https://developer.mastercard.com/mastercard-gateway/documentation/gateway-features/trans-enrich-data/cardholder-present-data/transit/aggtrn-transit-rules-nam/wsapi-amex-examples/index.md

### Aggregated transit fare with point-to-point encryption {#aggregated-transit-fare-with-point-to-point-encryption}

### Verify {#verify}

```json
{
  "apiOperation": "VERIFY",
  "order": {
    "currency": "USD"
  },
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "826",
          "82": "0000",
          "84": "010101010101",
          "95": "0000000000",
          "9A": "161021",
          "9B": "0101",
          "9C": "00",
          "9F02": "000000001099",
          "9F03": "000000000000",
          "9F06": "010101010101",
          "9F07": "0101",
          "9F09": "0101",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "826",
          "9F1E": "0123ABCD",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "E0B8C8",
          "9F34": "1E0300",
          "9F35": "12",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F41": "0123",
          "9F53": "A",
          "9F6E": "0101"
        },
        "expiry": {
          "month": "01",
          "year": "39"
        },
        "number": "5123456789012346"
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "source": "CARD_PRESENT"
  },
  "posTerminal": {
    "address": {
      "country": "AUS"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "SELF_SERVICE_TERMINAL",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "transactionIdentifier": "XgaogpHyUPFtSMG"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 0.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T05:45:39.747Z",
    "currency": "USD",
    "id": "AKS_292675669",
    "lastUpdatedTime": "2025-06-26T05:45:40.143Z",
    "merchantAmount": 0.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "VERIFIED",
    "totalAuthorizedAmount": 0.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  },
  "response": {
    "acquirerCode": "00",
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "840",
          "5F34": "056",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "RLPIKA2AX8BBBBSXQCEKZ2NKBIQVO",
        "scheme": "AMEX",
        "sequenceNumber": "056",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T05:45:40.143Z",
  "timeOfRecord": "2025-06-26T05:45:39.788Z",
  "transaction": {
    "acquirer": {
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 0.00,
    "currency": "USD",
    "id": "AKS_864198839",
    "receipt": "517705000018",
    "source": "CARD_PRESENT",
    "stan": "18",
    "terminal": "0001",
    "transit": {
      "aggregatedFare": {
        "type": "FARE"
      }
    },
    "type": "VERIFICATION"
  },
  "version": "100"
}
```

### Authorization {#authorization}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {},
    "source": "CARD_PRESENT",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "type": "FARE",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "OsChMdb8EaKYm4Q"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T08:55:17.548Z",
    "currency": "USD",
    "id": "AKS_63440946",
    "lastUpdatedTime": "2025-06-25T08:55:17.993Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "4TANITVLDBRAIA3FEHDPE5KV3NPRA",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T08:55:17.993Z",
  "timeOfRecord": "2025-06-25T08:55:17.653Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_698890547",
    "receipt": "517608000004",
    "source": "CARD_PRESENT",
    "stan": "4",
    "terminal": "0002",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "FARE"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

### Capture {#capture}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}   
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "OsChMdb8EaKYm4Q"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T08:55:17.548Z",
    "currency": "USD",
    "id": "AKS_63440946",
    "lastUpdatedTime": "2025-06-25T09:15:54.265Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:15:54.265Z",
  "timeOfRecord": "2025-06-25T09:15:54.090Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_934433620",
    "receipt": "517609000005",
    "source": "CARD_PRESENT",
    "stan": "5",
    "terminal": "0002",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "FARE"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

### Refund {#refund}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}   
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "OsChMdb8EaKYm4Q"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T08:55:17.548Z",
    "currency": "USD",
    "id": "AKS_63440946",
    "lastUpdatedTime": "2025-06-25T09:17:21.979Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 10.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:17:21.979Z",
  "timeOfRecord": "2025-06-25T09:17:21.789Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "currency": "USD",
    "id": "AKS_304936581",
    "receipt": "517609000006",
    "source": "CARD_PRESENT",
    "stan": "6",
    "terminal": "0002",
    "type": "REFUND"
  },
  "version": "100"
}
```

### Void {#void}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_304936581",
    "acquirer": {
      
    }
  }
}  
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "OsChMdb8EaKYm4Q"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T08:55:17.548Z",
    "currency": "USD",
    "id": "AKS_63440946",
    "lastUpdatedTime": "2025-06-25T09:19:06.660Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:19:06.660Z",
  "timeOfRecord": "2025-06-25T09:19:06.418Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "currency": "USD",
    "id": "AKS_94186687",
    "receipt": "517609000007",
    "source": "CARD_PRESENT",
    "stan": "7",
    "targetTransactionId": "AKS_304936581",
    "terminal": "0002",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### Tap initiated debt recovery with point-to-point encryption {#tap-initiated-debt-recovery-with-point-to-point-encryption}

#### Authorization {#authorization-1}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {},
    "source": "CARD_PRESENT",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "type": "DEBT_RECOVERY_TAP_INITIATED",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "8o1i7DOrllL9Zsg"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:20:50.963Z",
    "currency": "USD",
    "id": "AKS_593582711",
    "lastUpdatedTime": "2025-06-25T09:20:51.359Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "MHASUSHPHVNS9NUF3WFWJWUIOZV5M",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:20:51.359Z",
  "timeOfRecord": "2025-06-25T09:20:51.053Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_309460362",
    "receipt": "517609000008",
    "source": "CARD_PRESENT",
    "stan": "8",
    "terminal": "0001",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_TAP_INITIATED"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-1}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "8o1i7DOrllL9Zsg"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:20:50.963Z",
    "currency": "USD",
    "id": "AKS_593582711",
    "lastUpdatedTime": "2025-06-25T09:34:20.579Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:34:20.579Z",
  "timeOfRecord": "2025-06-25T09:34:20.409Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_521743322",
    "receipt": "517609000008",
    "source": "CARD_PRESENT",
    "stan": "8",
    "terminal": "0002",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_TAP_INITIATED"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-1}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "8o1i7DOrllL9Zsg"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:20:50.963Z",
    "currency": "USD",
    "id": "AKS_593582711",
    "lastUpdatedTime": "2025-06-25T09:35:56.726Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 10.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:35:56.726Z",
  "timeOfRecord": "2025-06-25T09:35:56.565Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "currency": "USD",
    "id": "AKS_940431138",
    "receipt": "517609000009",
    "source": "CARD_PRESENT",
    "stan": "9",
    "terminal": "0002",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-1}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_940431138",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "8o1i7DOrllL9Zsg"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:20:50.963Z",
    "currency": "USD",
    "id": "AKS_593582711",
    "lastUpdatedTime": "2025-06-25T09:37:21.144Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:37:21.144Z",
  "timeOfRecord": "2025-06-25T09:37:20.911Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "currency": "USD",
    "id": "AKS_164399455",
    "receipt": "517609000010",
    "source": "CARD_PRESENT",
    "stan": "10",
    "targetTransactionId": "AKS_940431138",
    "terminal": "0002",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### Payer initiated debt recovery {#payer-initiated-debt-recovery}

#### Mail Order Telephone Order (MOTO) {#mail-order-telephone-order-moto}

##### Authorization {#authorization-2}

```json
{
  "apiOperation": "AUTHORIZE",
  "lineOfBusiness": "amex",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "sourceOfFunds": {
    "provided": {
      "card": {
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "number": "371881245560002",
        "sequenceNumber": "099"
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {

    },
    "source": "MOTO",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "type": "DEBT_RECOVERY_PAYER_INITIATED",
        "transportationMode": "TRAIN"
      }
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "77ywS6CLXeYIBJ3"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-07-02T06:08:27.802Z",
    "currency": "USD",
    "id": "AKS_484914753",
    "lastUpdatedTime": "2025-07-02T06:08:28.091Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "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": "AMEX",
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "QLFS1YGBZUA8IECWJKNGQT9LD4T77",
        "scheme": "AMEX",
        "sequenceNumber": "099",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-07-02T06:08:28.091Z",
  "timeOfRecord": "2025-07-02T06:08:27.903Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      ,
      "date": "2025-07-02",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_566556867",
    "receipt": "518306000044",
    "source": "MOTO",
    "stan": "44",
    "terminal": "0001",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_PAYER_INITIATED"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

### Merchant initiated debt recovery with point-to-point encryption {#merchant-initiated-debt-recovery-with-point-to-point-encryption}

#### Failed authorization {#failed-authorization}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "11.25",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {

    },
    "source": "CARD_PRESENT",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "type": "FARE",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "Llb6j6LILD6EZmD"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 11.25,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:40:27.095Z",
    "currency": "USD",
    "id": "AKS_784962552",
    "lastUpdatedTime": "2025-06-25T09:40:27.499Z",
    "merchantAmount": 11.25,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "FAILED",
    "totalAuthorizedAmount": 11.25,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "51",
    "acquirerMessage": "Not sufficient funds",
    "gatewayCode": "INSUFFICIENT_FUNDS",
    "gatewayRecommendation": "RESUBMIT_WITH_ALTERNATIVE_PAYMENT_DETAILS"
  },
  "result": "FAILURE",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "DFYHUALNK3G9NFEB20HZWJUKRMLKZ",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:40:27.499Z",
  "timeOfRecord": "2025-06-25T09:40:27.192Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 11.25,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_878209541",
    "receipt": "517609000009",
    "source": "CARD_PRESENT",
    "stan": "9",
    "terminal": "0001",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "FARE"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

### Merchant initiated debt recovery {#merchant-initiated-debt-recovery}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "type": "CARD"
  },
  "referenceOrderId": "AKS_784962552",
  "transaction": {
    "resubmission": true,
    "acquirer": {

    },
    "source": "MERCHANT",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "type": "DEBT_RECOVERY_MERCHANT_INITIATED",
        "transportationMode": "TRAIN"
      }
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "Llb6j6LILD6EZmD"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:45:42.672Z",
    "currency": "USD",
    "id": "AKS_598586669",
    "lastUpdatedTime": "2025-06-25T09:45:43.178Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "referenceOrderId": "AKS_784962552",
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "O1O0YGGIQCE6WZ5E70RTLBLOCVIH5",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:45:43.178Z",
  "timeOfRecord": "2025-06-25T09:45:42.720Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_642154099",
    "receipt": "517609000010",
    "resubmission": true,
    "source": "MERCHANT",
    "stan": "10",
    "terminal": "0001",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-2}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "Llb6j6LILD6EZmD"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:45:42.672Z",
    "currency": "USD",
    "id": "AKS_598586669",
    "lastUpdatedTime": "2025-06-25T09:48:51.292Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:48:51.292Z",
  "timeOfRecord": "2025-06-25T09:48:51.152Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_655389125",
    "receipt": "517609000011",
    "source": "MERCHANT",
    "stan": "11",
    "terminal": "0001",
    "transit": {
      "aggregatedFare": {
        "aggregationStartDate": "2022-05-05",
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-2}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "Llb6j6LILD6EZmD"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:45:42.672Z",
    "currency": "USD",
    "id": "AKS_598586669",
    "lastUpdatedTime": "2025-06-25T09:49:23.573Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 10.00
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:49:23.573Z",
  "timeOfRecord": "2025-06-25T09:49:23.573Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "currency": "USD",
    "id": "AKS_126055047",
    "receipt": "517609000011",
    "source": "MERCHANT",
    "stan": "11",
    "terminal": "0002",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-2}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_126055047",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "Llb6j6LILD6EZmD"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T09:45:42.672Z",
    "currency": "USD",
    "id": "AKS_598586669",
    "lastUpdatedTime": "2025-06-25T09:52:59.832Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T09:52:59.832Z",
  "timeOfRecord": "2025-06-25T09:52:59.832Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "currency": "USD",
    "id": "AKS_423859394",
    "receipt": "517609000012",
    "source": "MERCHANT",
    "stan": "12",
    "targetTransactionId": "AKS_126055047",
    "terminal": "0002",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

#### Known fare transit real time with point-to-point encryption {#known-fare-transit-real-time-with-point-to-point-encryption}

##### Authorization {#authorization-3}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {},
    "source": "CARD_PRESENT",
    "transit": {
      "knownFare": {
        "type": "FARE_REAL_TIME_AUTHORIZATION",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "G4Q9JNLxcgMJoEP"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:14:51.591Z",
    "currency": "USD",
    "id": "AKS_846680045",
    "lastUpdatedTime": "2025-06-25T10:14:52.061Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "LTCTQ2Y3IVDAGCZIQFUDLVSBUOYJO",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:14:52.061Z",
  "timeOfRecord": "2025-06-25T10:14:51.634Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_357275043",
    "receipt": "517610000014",
    "source": "CARD_PRESENT",
    "stan": "14",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_REAL_TIME_AUTHORIZATION"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-3}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "G4Q9JNLxcgMJoEP"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:14:51.591Z",
    "currency": "USD",
    "id": "AKS_846680045",
    "lastUpdatedTime": "2025-06-25T10:16:32.932Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:16:32.932Z",
  "timeOfRecord": "2025-06-25T10:16:32.812Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_509552518",
    "receipt": "517610000015",
    "source": "CARD_PRESENT",
    "stan": "15",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_REAL_TIME_AUTHORIZATION"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-3}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "5",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "G4Q9JNLxcgMJoEP"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:14:51.591Z",
    "currency": "USD",
    "id": "AKS_846680045",
    "lastUpdatedTime": "2025-06-25T10:17:55.661Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 5.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:17:55.661Z",
  "timeOfRecord": "2025-06-25T10:17:55.521Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_90719969",
    "receipt": "517610000015",
    "source": "CARD_PRESENT",
    "stan": "15",
    "terminal": "0002",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-3}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_90719969",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "G4Q9JNLxcgMJoEP"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:14:51.591Z",
    "currency": "USD",
    "id": "AKS_846680045",
    "lastUpdatedTime": "2025-06-25T10:19:29.147Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:19:29.147Z",
  "timeOfRecord": "2025-06-25T10:19:28.999Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_139487222",
    "receipt": "517610000016",
    "source": "CARD_PRESENT",
    "stan": "16",
    "targetTransactionId": "AKS_90719969",
    "terminal": "0002",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### Known fare transit deferred with point-to-point encryption {#known-fare-transit-deferred-with-point-to-point-encryption}

#### Deferred authorization {#deferred-authorization}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {
      
    },
    "source": "CARD_PRESENT",
    "transit": {
      "knownFare": {
        "type": "FARE_DEFERRED_AUTHORIZATION",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "X2TfVUdWFKTJhKF"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:22:35.056Z",
    "currency": "USD",
    "id": "AKS_782462924",
    "lastUpdatedTime": "2025-06-25T10:22:35.393Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "KABYK0GC45EPPYKMVGQEGS7OTOOVG",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:22:35.393Z",
  "timeOfRecord": "2025-06-25T10:22:35.091Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_75034530",
    "receipt": "517610000016",
    "source": "CARD_PRESENT",
    "stan": "16",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_DEFERRED_AUTHORIZATION"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-4}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "X2TfVUdWFKTJhKF"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:22:35.056Z",
    "currency": "USD",
    "id": "AKS_782462924",
    "lastUpdatedTime": "2025-06-25T10:23:57.198Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:23:57.198Z",
  "timeOfRecord": "2025-06-25T10:23:57.059Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_260130553",
    "receipt": "517610000017",
    "source": "CARD_PRESENT",
    "stan": "17",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_DEFERRED_AUTHORIZATION"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-4}

```json
{
 "apiOperation": "REFUND",
 "lineOfBusiness": "amex",
 "transaction": {
   "amount": "5",
   "currency": "USD",
   "acquirer": {
     
   }
 }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "X2TfVUdWFKTJhKF"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:22:35.056Z",
    "currency": "USD",
    "id": "AKS_782462924",
    "lastUpdatedTime": "2025-06-25T10:25:17.262Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 5.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:25:17.262Z",
  "timeOfRecord": "2025-06-25T10:25:17.091Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_555289578",
    "receipt": "517610000018",
    "source": "CARD_PRESENT",
    "stan": "18",
    "terminal": "0001",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-4}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_555289578",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "X2TfVUdWFKTJhKF"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "CYG_S2I_MER2",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T10:22:35.056Z",
    "currency": "USD",
    "id": "AKS_782462924",
    "lastUpdatedTime": "2025-06-25T10:31:09.802Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T10:31:09.802Z",
  "timeOfRecord": "2025-06-25T10:31:09.606Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_636888823",
    "receipt": "517610000019",
    "source": "CARD_PRESENT",
    "stan": "19",
    "targetTransactionId": "AKS_555289578",
    "terminal": "0001",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### Known fare tap initiated debt recovery with point-to-point encryption {#known-fare-tap-initiated-debt-recovery-with-point-to-point-encryption}

#### Tap initiated debt recovery {#tap-initiated-debt-recovery}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {
      
    },
    "source": "CARD_PRESENT",
    "transit": {
      "knownFare": {
        "type": "DEBT_RECOVERY_TAP_INITIATED",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "EKRxctN1sCDhJqU"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T13:57:22.809Z",
    "currency": "USD",
    "id": "AKS_702485596",
    "lastUpdatedTime": "2025-06-25T13:57:23.132Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "FHNYYUITH46EHMTTPYFQ7PAO3XGYD",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T13:57:23.132Z",
  "timeOfRecord": "2025-06-25T13:57:22.844Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_111187748",
    "receipt": "517613000004",
    "source": "CARD_PRESENT",
    "stan": "4",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_TAP_INITIATED"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-5}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "EKRxctN1sCDhJqU"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T13:57:22.809Z",
    "currency": "USD",
    "id": "AKS_702485596",
    "lastUpdatedTime": "2025-06-25T13:59:52.088Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T13:59:52.088Z",
  "timeOfRecord": "2025-06-25T13:59:51.941Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_634202622",
    "receipt": "517613000005",
    "source": "CARD_PRESENT",
    "stan": "5",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_TAP_INITIATED"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-5}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "5",
    "currency": "USD",
    "acquirer": {
      
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "EKRxctN1sCDhJqU"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T13:57:22.809Z",
    "currency": "USD",
    "id": "AKS_702485596",
    "lastUpdatedTime": "2025-06-25T14:02:20.798Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 5.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T14:02:20.798Z",
  "timeOfRecord": "2025-06-25T14:02:20.597Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_266354490",
    "receipt": "517614000006",
    "source": "CARD_PRESENT",
    "stan": "6",
    "terminal": "0001",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-5}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_266354490",
    "acquirer": {
      
    }
  }
}
  
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "EKRxctN1sCDhJqU"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-25T13:57:22.809Z",
    "currency": "USD",
    "id": "AKS_702485596",
    "lastUpdatedTime": "2025-06-25T14:05:41.904Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-25T14:05:41.904Z",
  "timeOfRecord": "2025-06-25T14:05:41.705Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-25",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_204188984",
    "receipt": "517614000007",
    "source": "CARD_PRESENT",
    "stan": "7",
    "targetTransactionId": "AKS_266354490",
    "terminal": "0001",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### Known fare payer initiated debt recovery {#known-fare-payer-initiated-debt-recovery}

#### Moto {#moto}

#### Authorization {#authorization-4}

```json
{
  "apiOperation": "AUTHORIZE",
  "lineOfBusiness": "amex",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "sourceOfFunds": {
    "provided": {
      "card": {
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "number": "371881245560002",
        "sequenceNumber": "099"
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {

    },
    "source": "MOTO",
    "transit": {
      "knownFare": {
        "type": "DEBT_RECOVERY_PAYER_INITIATED",
        "transportationMode": "TRAIN"
      }
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "OGQRjh3KowOd1hg"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-07-02T06:41:31.273Z",
    "currency": "USD",
    "id": "AKS_177859077",
    "lastUpdatedTime": "2025-07-02T06:41:31.526Z",
    "merchantAmount": 100,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "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": "AMEX",
        "expiry": {
          "month": "12",
          "year": "39"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "WRSYOKFNEXN7NNPOYI22QPXVAXKQW",
        "scheme": "AMEX",
        "sequenceNumber": "099",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-07-02T06:41:31.526Z",
  "timeOfRecord": "2025-07-02T06:41:31.324Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      ,
      "date": "2025-07-02",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_60724709",
    "receipt": "518306000046",
    "source": "MOTO",
    "stan": "46",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_PAYER_INITIATED"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

### Known fare merchant initiated debt recovery with point-to-point encryption {#known-fare-merchant-initiated-debt-recovery-with-point-to-point-encryption}

#### Failed authorization {#failed-authorization-1}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "11.25",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {
      
    },
    "source": "CARD_PRESENT",
    "transit": {
      "knownFare": {
        "type": "FARE_DEFERRED_AUTHORIZATION",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "rsLsf6MB3yARDNR"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 11.25,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:00:39.881Z",
    "currency": "USD",
    "id": "AKS_468373921",
    "lastUpdatedTime": "2025-06-26T02:00:40.552Z",
    "merchantAmount": 11.25,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "FAILED",
    "totalAuthorizedAmount": 11.25,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "51",
    "acquirerMessage": "Not sufficient funds",
    "gatewayCode": "INSUFFICIENT_FUNDS",
    "gatewayRecommendation": "RESUBMIT_WITH_ALTERNATIVE_PAYMENT_DETAILS"
  },
  "result": "FAILURE",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "DRZ5PYTONKYGAVM5F2PGQ91DXAEX4",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:00:40.552Z",
  "timeOfRecord": "2025-06-26T02:00:40.077Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 11.25,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_338954142",
    "receipt": "517702000010",
    "source": "CARD_PRESENT",
    "stan": "10",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_DEFERRED_AUTHORIZATION"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Merchant initiated debt recovery {#merchant-initiated-debt-recovery-1}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "type": "CARD"
  },
  "referenceOrderId": "AKS_468373921",
  "transaction": {
    "resubmission": true,
    "acquirer": {},
    "source": "MERCHANT",
    "transit": {
      "knownFare": {
        "type": "DEBT_RECOVERY_MERCHANT_INITIATED",
        "transportationMode": "TRAIN"
      }
    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "rsLsf6MB3yARDNR"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:05:50.276Z",
    "currency": "USD",
    "id": "AKS_983081411",
    "lastUpdatedTime": "2025-06-26T02:05:51.003Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "AUTHORIZED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "referenceOrderId": "AKS_468373921",
  "response": {
    "acquirerCode": "00",
    "acquirerMessage": "Approved",
    "gatewayCode": "APPROVED",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "FT5OR1TKKI7JI0DCDEFI1NJTZ9WUP",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:05:51.003Z",
  "timeOfRecord": "2025-06-26T02:05:50.537Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 100.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_692736385",
    "receipt": "517702000004",
    "resubmission": true,
    "source": "MERCHANT",
    "stan": "4",
    "terminal": "0002",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-6}

```json
{
  "apiOperation": "CAPTURE",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "10",
    "currency": "USD",
    "acquirer": {}
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "rsLsf6MB3yARDNR"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:05:50.276Z",
    "currency": "USD",
    "id": "AKS_983081411",
    "lastUpdatedTime": "2025-06-26T02:08:04.466Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:08:04.466Z",
  "timeOfRecord": "2025-06-26T02:08:04.300Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 10.00,
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_964505304",
    "receipt": "517702000005",
    "source": "MERCHANT",
    "stan": "5",
    "terminal": "0002",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-6}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "5",
    "currency": "USD",
    "acquirer": {}
  }
} 
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "rsLsf6MB3yARDNR"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:05:50.276Z",
    "currency": "USD",
    "id": "AKS_983081411",
    "lastUpdatedTime": "2025-06-26T02:09:34.855Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_REFUNDED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 5.00
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:09:34.855Z",
  "timeOfRecord": "2025-06-26T02:09:34.673Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_179546853",
    "receipt": "517702000006",
    "source": "MERCHANT",
    "stan": "6",
    "terminal": "0002",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-6}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_179546853",
    "acquirer": {}
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "rsLsf6MB3yARDNR"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:05:50.276Z",
    "currency": "USD",
    "id": "AKS_983081411",
    "lastUpdatedTime": "2025-06-26T02:11:22.012Z",
    "merchantAmount": 100.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_CAPTURED",
    "totalAuthorizedAmount": 100.00,
    "totalCapturedAmount": 10.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:11:22.012Z",
  "timeOfRecord": "2025-06-26T02:11:21.804Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_450570038",
    "receipt": "517702000007",
    "source": "MERCHANT",
    "stan": "7",
    "targetTransactionId": "AKS_179546853",
    "terminal": "0002",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### First ride risk known fare with point-to-point encryption {#first-ride-risk-known-fare-with-point-to-point-encryption}

#### Failed authorization {#failed-authorization-2}

```json
{
  "apiOperation": "AUTHORIZE",
  "order": {
    "amount": "11.25",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "p2pe": {
          "cardBin": "345678",
          "initializationVector": "00000000000000000000000000000000",
          "encryptionState": "VALID",
          "keySerialNumber": "3CE000000000000000000001",
          "payload": "c33e0985d7f7e6da8519eeaee114bea45b8adf66667e10eb5362d09ffec56018"
        }
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "acquirer": {},
    "source": "CARD_PRESENT",
    "transit": {
      "knownFare": {
        "type": "FARE_DEFERRED_AUTHORIZATION",
        "transportationMode": "TRAIN"
      }
    }
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "THlafNKt3uYMYj4"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 11.25,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:13:35.826Z",
    "currency": "USD",
    "id": "AKS_18960887",
    "lastUpdatedTime": "2025-06-26T02:13:36.168Z",
    "merchantAmount": 11.25,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "FAILED",
    "totalAuthorizedAmount": 11.25,
    "totalCapturedAmount": 0.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "acquirerCode": "51",
    "acquirerMessage": "Not sufficient funds",
    "gatewayCode": "INSUFFICIENT_FUNDS",
    "gatewayRecommendation": "RESUBMIT_WITH_ALTERNATIVE_PAYMENT_DETAILS"
  },
  "result": "FAILURE",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "encryption": "DUKPT",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "EO9TMQQRSQITCVHZQ6OKPWEN5BRXV",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED",
        "trackDataProvided": true
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:13:36.168Z",
  "timeOfRecord": "2025-06-26T02:13:35.857Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808"
    },
    "amount": 11.25,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_417660935",
    "receipt": "517702000008",
    "source": "CARD_PRESENT",
    "stan": "8",
    "terminal": "0002",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_DEFERRED_AUTHORIZATION"
      }
    },
    "type": "AUTHORIZATION"
  },
  "version": "100"
}
```

#### Capture {#capture-7}

```json
{
  "apiOperation": "CAPTURE",
  "referenceOrderId": "AKS_18960887",
  "lineOfBusiness": "amex",
  "transaction": {
    "authorizationCode": "123456",
    "amount": 7,
    "currency": "USD",
    "source": "CARD_PRESENT",
    "transit": {
      "knownFare": {
        "type": "FIRST_RIDE_RISK",
        "transportationMode": "TRAIN"
      }
    }
  },
  "authorizationResponse": {
    "transactionIdentifier": "THlafNKt3uYMYj4",
    "returnAci": "N"
  }
}
```

```json
{
  "authorizationResponse": {
    "date": "1021",
    "returnAci": "N",
    "transactionIdentifier": "THlafNKt3uYMYj4"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 7.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:16:45.193Z",
    "currency": "USD",
    "id": "AKS_828909398",
    "lastUpdatedTime": "2025-06-26T02:16:45.646Z",
    "merchantAmount": 7.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 7.00,
    "totalCapturedAmount": 7.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "EO9TMQQRSQITCVHZQ6OKPWEN5BRXV",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:16:45.646Z",
  "timeOfRecord": "2025-06-26T02:16:45.224Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 7.00,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "123456",
    "currency": "USD",
    "id": "AKS_92636578",
    "receipt": "517702000011",
    "source": "CARD_PRESENT",
    "stan": "11",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FIRST_RIDE_RISK"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

#### Refund {#refund-7}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "5",
    "currency": "USD",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "date": "1021",
    "returnAci": "N",
    "transactionIdentifier": "THlafNKt3uYMYj4"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 7.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:16:45.193Z",
    "currency": "USD",
    "id": "AKS_828909398",
    "lastUpdatedTime": "2025-06-26T02:18:36.495Z",
    "merchantAmount": 7.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_REFUNDED",
    "totalAuthorizedAmount": 7.00,
    "totalCapturedAmount": 7.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 5.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "EO9TMQQRSQITCVHZQ6OKPWEN5BRXV",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:18:36.495Z",
  "timeOfRecord": "2025-06-26T02:18:36.301Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_164292408",
    "receipt": "517702000012",
    "source": "CARD_PRESENT",
    "stan": "12",
    "terminal": "0001",
    "type": "REFUND"
  },
  "version": "100"
}
```

#### Void {#void-7}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_164292408",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "date": "1021",
    "returnAci": "N",
    "transactionIdentifier": "THlafNKt3uYMYj4"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 7.00,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:16:45.193Z",
    "currency": "USD",
    "id": "AKS_828909398",
    "lastUpdatedTime": "2025-06-26T02:20:35.025Z",
    "merchantAmount": 7.00,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 7.00,
    "totalCapturedAmount": 7.00,
    "totalDisbursedAmount": 0.00,
    "totalRefundedAmount": 0.00
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED",
    "serialNumber": "12345"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "30"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "EO9TMQQRSQITCVHZQ6OKPWEN5BRXV",
        "scheme": "AMEX",
        "sequenceNumber": "000",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:20:35.025Z",
  "timeOfRecord": "2025-06-26T02:20:34.844Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 5.00,
    "currency": "USD",
    "id": "AKS_70014348",
    "receipt": "517702000013",
    "source": "CARD_PRESENT",
    "stan": "13",
    "targetTransactionId": "AKS_164292408",
    "terminal": "0001",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

### Pay {#pay}

#### Pay {#pay-1}

```json
{
  "apiOperation": "PAY",
  "order": {
    "amount": "100",
    "currency": "USD"
  },
  "lineOfBusiness": "amex",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "emvRequest": {
          "5F2A": "978",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F34": "1E0300",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F6E": "1234",
          "9F39": "03",
          "9F35": "14",
          "9F33": "000000",
          "5F34": "000",
          "9F1E": 12345
        },
        "expiry": {
          "month": "12",
          "year": "24"
        },
        "number": "371881245560002",
        "sequenceNumber": "099"
      }
    },
    "type": "CARD"
  },
  "transaction": {
    "transit": {
      "knownFare": {
        "type": "FARE_REAL_TIME_AUTHORIZATION",
        "transportationMode": "TRAIN"
      }
    },
    "source": "CARD_PRESENT"
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  }
}
```

```json
{{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "LRpWAhfP70sOhdM"
  },
  "gatewayEntryPoint": "AUTO",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.0,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:32:05.636Z",
    "currency": "USD",
    "id": "AKS_754699306",
    "lastUpdatedTime": "2025-06-26T02:32:06.227Z",
    "merchantAmount": 100.0,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 100.0,
    "totalCapturedAmount": 100.0,
    "totalDisbursedAmount": 0.0,
    "totalRefundedAmount": 0.0
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT",
    "gatewayRecommendation": "NO_ACTION"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "emvRequest": {
          "5F2A": "978",
          "5F34": "000",
          "82": "0000",
          "84": "0000000000",
          "95": "0000000000",
          "9A": "161021",
          "9C": "00",
          "9F02": "000000001099",
          "9F10": "06011103A000000A0100000000000BB0ABAD",
          "9F1A": "840",
          "9F1E": "12345",
          "9F26": "D1F722D47FCA8273",
          "9F27": "40",
          "9F33": "000000",
          "9F34": "1E0300",
          "9F35": "14",
          "9F36": "0002",
          "9F37": "2A4E1690",
          "9F39": "03",
          "9F6E": "1234"
        },
        "expiry": {
          "month": "12",
          "year": "24"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "paymentAccountReference": "79VCCAIT5S83RCRQR0X6HP7WPYCM0",
        "scheme": "AMEX",
        "sequenceNumber": "099",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:32:06.227Z",
  "timeOfRecord": "2025-06-26T02:32:06.083Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 100.0,
    "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
    "authorizationCode": "abcd12",
    "currency": "USD",
    "id": "AKS_56815532",
    "receipt": "517702000014",
    "source": "CARD_PRESENT",
    "stan": "14",
    "terminal": "0001",
    "transit": {
      "knownFare": {
        "transportationMode": "TRAIN",
        "type": "FARE_REAL_TIME_AUTHORIZATION"
      }
    },
    "type": "CAPTURE"
  },
  "version": "100"
}
```

### Refund {#refund-8}

```json
{
  "apiOperation": "REFUND",
  "lineOfBusiness": "amex",
  "transaction": {
    "amount": "5",
    "currency": "USD",
    "acquirer": {

    }
  }
} 
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "LRpWAhfP70sOhdM"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.0,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:32:05.636Z",
    "currency": "USD",
    "id": "AKS_754699306",
    "lastUpdatedTime": "2025-06-26T02:35:29.330Z",
    "merchantAmount": 100.0,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "PARTIALLY_REFUNDED",
    "totalAuthorizedAmount": 100.0,
    "totalCapturedAmount": 100.0,
    "totalDisbursedAmount": 0.0,
    "totalRefundedAmount": 5.0
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  },
  "response": {
    "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "24"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "099",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:35:29.330Z",
  "timeOfRecord": "2025-06-26T02:35:29.149Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      ,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 5.0,
    "currency": "USD",
    "id": "AKS_928110908",
    "receipt": "517702000015",
    "source": "CARD_PRESENT",
    "stan": "15",
    "terminal": "0001",
    "type": "REFUND"
  },
  "version": "100"
}
```

### Void {#void-8}

```json
{
  "apiOperation": "VOID",
  "transaction": {
    "targetTransactionId": "AKS_928110908",
    "acquirer": {

    }
  }
}
```

```json
{
  "authorizationResponse": {
    "processingCode": "000000",
    "transactionIdentifier": "LRpWAhfP70sOhdM"
  },
  "gatewayEntryPoint": "WEB_SERVICES_API",
  "lineOfBusiness": "amex",
  "merchant": "PEG_S2I_MER1",
  "order": {
    "amount": 100.0,
    "chargeback": {
      "amount": 0,
      "currency": "USD"
    },
    "creationTime": "2025-06-26T02:32:05.636Z",
    "currency": "USD",
    "id": "AKS_754699306",
    "lastUpdatedTime": "2025-06-26T02:37:26.013Z",
    "merchantAmount": 100.0,
    "merchantCategoryCode": "1234",
    "merchantCurrency": "USD",
    "status": "CAPTURED",
    "totalAuthorizedAmount": 100.0,
    "totalCapturedAmount": 100.0,
    "totalDisbursedAmount": 0.0,
    "totalRefundedAmount": 0.0
  },
  "posTerminal": {
    "address": {
      "country": "USA"
    },
    "attended": "UNATTENDED",
    "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
    "inputCapability": "CONTACTLESS_CHIP",
    "lane": "CBAS2I02",
    "location": "MERCHANT_TERMINAL_ON_PREMISES",
    "panEntryMode": "CONTACTLESS",
    "pinEntryCapability": "PIN_NOT_SUPPORTED"
  },
  "response": {
    "gatewayCode": "APPROVED"
  },
  "result": "SUCCESS",
  "sourceOfFunds": {
    "provided": {
      "card": {
        "brand": "AMEX",
        "expiry": {
          "month": "12",
          "year": "24"
        },
        "fundingMethod": "CREDIT",
        "number": "345678xxxxx4564",
        "scheme": "AMEX",
        "sequenceNumber": "099",
        "storedOnFile": "NOT_STORED"
      }
    },
    "type": "CARD"
  },
  "timeOfLastUpdate": "2025-06-26T02:37:26.013Z",
  "timeOfRecord": "2025-06-26T02:37:25.803Z",
  "transaction": {
    "acquirer": {
      "batch": 1,
      ,
      "date": "2025-06-25",
      "id": "NEX_AMEX_ELAVON_S2I",
      "merchantId": "9808",
      "settlementDate": "2025-06-26",
      "timeZone": "-0400"
    },
    "amount": 5.0,
    "currency": "USD",
    "id": "AKS_652095062",
    "receipt": "517702000016",
    "source": "CARD_PRESENT",
    "stan": "16",
    "targetTransactionId": "AKS_928110908",
    "terminal": "0001",
    "type": "VOID_REFUND"
  },
  "version": "100"
}
```

