# WS API examples of Discover and Diners
source: https://developer.mastercard.com/mastercard-gateway/documentation/gateway-features/trans-enrich-data/cardholder-present-data/transit/aggtrn-transit-rules-nam/wsapi-discover-diners-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"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}                
  }
}
```

```json
{
    "authorizationResponse": {
        "transactionIdentifier": "rmFytPjOoIeM8Y2"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 0.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T07:36:53.892Z",
        "currency": "USD",
        "id": "AKS_363181268",
        "lastUpdatedTime": "2025-07-01T07:36:54.187Z",
        "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",
        "serialNumber": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "N9C0O6JC0HGQQALLWWXFPX97GYZ3U",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T07:36:54.187Z",
    "timeOfRecord": "2025-07-01T07:36:53.974Z",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 0.00,
        "currency": "USD",
        "id": "AKS_685576392",
        "receipt": "518207000005",
        "source": "CARD_PRESENT",
        "stan": "5",
        "terminal": "0001",
        "type": "VERIFICATION"
    },
    "version": "100"
}
```

### Authorization {#authorization}

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": 100,
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FARE"
            }
        },
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "1wB0djf9j3eYf5P"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T07:39:41.485Z",
        "currency": "USD",
        "id": "AKS_935719766",
        "lastUpdatedTime": "2025-07-01T07:39:41.789Z",
        "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": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "encryption": "DUKPT",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "O9UOPSIQAVZ8LUNIGIRRBLC7XB1ZW",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T07:39:41.789Z",
    "timeOfRecord": "2025-07-01T07:39:41.543Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_671466086",
        "receipt": "518207000004",
        "source": "CARD_PRESENT",
        "stan": "4",
        "terminal": "0002",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FARE"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

### Capture {#capture}

```json
{
    "apiOperation": "CAPTURE",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "20",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "1wB0djf9j3eYf5P"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T07:39:41.485Z",
        "currency": "USD",
        "id": "AKS_935719766",
        "lastUpdatedTime": "2025-07-01T07:51:30.329Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T07:51:30.329Z",
    "timeOfRecord": "2025-07-01T07:51:30.094Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 20.00,
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_322872913",
        "receipt": "518207000006",
        "source": "CARD_PRESENT",
        "stan": "6",
        "terminal": "0001",
        "type": "CAPTURE"
    },
    "version": "100"
}
```

### Refund {#refund}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "7",
        "currency": "USD"
    }
}  
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "1wB0djf9j3eYf5P"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T07:39:41.485Z",
        "currency": "USD",
        "id": "AKS_935719766",
        "lastUpdatedTime": "2025-07-01T07:53:04.436Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_REFUNDED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T07:53:04.436Z",
    "timeOfRecord": "2025-07-01T07:53:04.283Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_40478005",
        "receipt": "518207000005",
        "source": "CARD_PRESENT",
        "stan": "5",
        "terminal": "0002",
        "type": "REFUND"
    },
    "version": "100"
}
```

### Void {#void}

```json
{
    "apiOperation": "VOID",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "targetTransactionId": "AKS_40478005"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "1wB0djf9j3eYf5P"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T07:39:41.485Z",
        "currency": "USD",
        "id": "AKS_935719766",
        "lastUpdatedTime": "2025-07-01T07:54:19.667Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T07:54:19.667Z",
    "timeOfRecord": "2025-07-01T07:54:19.548Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_26435895",
        "receipt": "518207000006",
        "source": "CARD_PRESENT",
        "stan": "6",
        "targetTransactionId": "AKS_40478005",
        "terminal": "0002",
        "type": "VOID_REFUND"
    },
    "version": "100"
}
```

### Payer initiated debt recovery with point-to-point encryption {#payer-initiated-debt-recovery-with-point-to-point-encryption}

#### Payer initiated debt recovery source type as MOTO {#payer-initiated-debt-recovery-source-type-as-moto}

```json
{
    "apiOperation": "AUTHORIZE",
    "lineOfBusiness": "diner",
    "order": {
        "amount": "100",
        "currency": "USD"
    },
    "sourceOfFunds": {
        "provided": {
            "card": {
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "number": "6011003179988686",
                "sequenceNumber": "099"
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "source": "MOTO",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2022-05-05",
                "type": "DEBT_RECOVERY_PAYER_INITIATED",
                "transportationMode": "TRAIN"
            }
        }
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "z9fZT1bKRnrQ0MJ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T10:19:14.399Z",
        "currency": "USD",
        "id": "AKS_239465444",
        "lastUpdatedTime": "2025-07-01T10:19:14.434Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "AUTHORIZED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 0.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "RX1EALLPAH7NGYJQGF6GEOJPJZSQI",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "099",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:19:14.434Z",
    "timeOfRecord": "2025-07-01T10:19:14.434Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_92303075",
        "receipt": "518210000015",
        "source": "MOTO",
        "stan": "15",
        "terminal": "0001",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2022-05-05",
                "transportationMode": "TRAIN",
                "type": "DEBT_RECOVERY_PAYER_INITIATED"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

#### Capture {#capture-1}

```json
{
    "apiOperation": "CAPTURE",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "20",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "z9fZT1bKRnrQ0MJ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T10:19:14.399Z",
        "currency": "USD",
        "id": "AKS_239465444",
        "lastUpdatedTime": "2025-07-01T10:19:44.196Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "099",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:19:44.196Z",
    "timeOfRecord": "2025-07-01T10:19:44.196Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 20.00,
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_467347535",
        "receipt": "518210000016",
        "source": "MOTO",
        "stan": "16",
        "terminal": "0001",
        "type": "CAPTURE"
    },
    "version": "100"
}
```

#### Refund {#refund-1}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "7",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "z9fZT1bKRnrQ0MJ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T10:19:14.399Z",
        "currency": "USD",
        "id": "AKS_239465444",
        "lastUpdatedTime": "2025-07-01T10:22:06.494Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_REFUNDED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.00
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "099",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:22:06.494Z",
    "timeOfRecord": "2025-07-01T10:22:06.494Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_456407822",
        "receipt": "518210000018",
        "source": "MOTO",
        "stan": "18",
        "terminal": "0002",
        "type": "REFUND"
    },
    "version": "100"
}
```

#### Void {#void-1}

```json
{
    "apiOperation": "VOID",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "targetTransactionId": "AKS_456407822"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "z9fZT1bKRnrQ0MJ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T10:19:14.399Z",
        "currency": "USD",
        "id": "AKS_239465444",
        "lastUpdatedTime": "2025-07-01T10:23:06.523Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "099",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:23:06.523Z",
    "timeOfRecord": "2025-07-01T10:23:06.523Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_317223925",
        "receipt": "518210000019",
        "source": "MOTO",
        "stan": "19",
        "targetTransactionId": "AKS_456407822",
        "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}

#### Verify {#verify-1}

```json
{
    "apiOperation": "VERIFY",
    "order": {
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "transactionIdentifier": "s2xqh5fbUWJWuWg"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 0.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T08:23:23.343Z",
        "currency": "USD",
        "id": "AKS_310167179",
        "lastUpdatedTime": "2025-07-01T08:23:23.850Z",
        "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",
        "serialNumber": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "NLW5DZVVEKWCVWJKDM1NCP5B8I7C6",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T08:23:23.850Z",
    "timeOfRecord": "2025-07-01T08:23:23.438Z",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 0.00,
        "currency": "USD",
        "id": "AKS_585833244",
        "receipt": "518208000007",
        "source": "CARD_PRESENT",
        "stan": "7",
        "terminal": "0001",
        "type": "VERIFICATION"
    },
    "version": "100"
}
```

### Authorization {#authorization-1}

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": 100,
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "DEBT_RECOVERY_TAP_INITIATED"
            }
        },
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "Ya1oja6FQsgOR9s"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T08:25:41.228Z",
        "currency": "USD",
        "id": "AKS_12374862",
        "lastUpdatedTime": "2025-07-01T08:25:41.570Z",
        "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": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "encryption": "DUKPT",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "R4YR5RLR99VYFJVWSZYBVDNZ56D9K",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T08:25:41.570Z",
    "timeOfRecord": "2025-07-01T08:25:41.276Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_645086226",
        "receipt": "518208000007",
        "source": "CARD_PRESENT",
        "stan": "7",
        "terminal": "0002",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "DEBT_RECOVERY_TAP_INITIATED"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

### Capture {#capture-2}

```json
{
    "apiOperation": "CAPTURE",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "20",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "Ya1oja6FQsgOR9s"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T08:25:41.228Z",
        "currency": "USD",
        "id": "AKS_12374862",
        "lastUpdatedTime": "2025-07-01T08:28:03.188Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T08:28:03.188Z",
    "timeOfRecord": "2025-07-01T08:28:03.050Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 20.00,
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_458087445",
        "receipt": "518208000008",
        "source": "CARD_PRESENT",
        "stan": "8",
        "terminal": "0001",
        "type": "CAPTURE"
    },
    "version": "100"
}
```

#### Refund {#refund-2}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "7",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "Ya1oja6FQsgOR9s"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T08:25:41.228Z",
        "currency": "USD",
        "id": "AKS_12374862",
        "lastUpdatedTime": "2025-07-01T08:29:28.583Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_REFUNDED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T08:29:28.583Z",
    "timeOfRecord": "2025-07-01T08:29:28.436Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_767925933",
        "receipt": "518208000008",
        "source": "CARD_PRESENT",
        "stan": "8",
        "terminal": "0002",
        "type": "REFUND"
    },
    "version": "100"
}
```

#### Void {#void-2}

```json
{
    "apiOperation": "VOID",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "targetTransactionId": "AKS_767925933"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "Ya1oja6FQsgOR9s"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T08:25:41.228Z",
        "currency": "USD",
        "id": "AKS_12374862",
        "lastUpdatedTime": "2025-07-01T08:32:09.960Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T08:32:09.960Z",
    "timeOfRecord": "2025-07-01T08:32:09.741Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_878031136",
        "receipt": "518208000009",
        "source": "CARD_PRESENT",
        "stan": "9",
        "targetTransactionId": "AKS_767925933",
        "terminal": "0002",
        "type": "VOID_REFUND"
    },
    "version": "100"
}
```

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

##### Verify {#verify-2}

```json
{
    "apiOperation": "VERIFY",
    "order": {
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "transactionIdentifier": "9x64ZvSqT1Mud2N"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 0.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T09:47:41.196Z",
        "currency": "USD",
        "id": "AKS_266457818",
        "lastUpdatedTime": "2025-07-01T09:47:41.560Z",
        "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",
        "serialNumber": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "KN66EDBWQNVDV6CHGUU2Y1ALWPQSE",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T09:47:41.560Z",
    "timeOfRecord": "2025-07-01T09:47:41.326Z",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 0.00,
        "currency": "USD",
        "id": "AKS_149564753",
        "receipt": "518209000009",
        "source": "CARD_PRESENT",
        "stan": "9",
        "terminal": "0001",
        "type": "VERIFICATION"
    },
    "version": "100"
}
```

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

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": 11.25,
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FARE"
            }
        },
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "pT4spt3AbKZWund"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 11.25,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T09:54:26.376Z",
        "currency": "USD",
        "id": "AKS_206420518",
        "lastUpdatedTime": "2025-07-01T09:54:26.805Z",
        "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": "0123ABCD"
    },
    "response": {
        "acquirerCode": "51",
        "acquirerMessage": "Not sufficient funds",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "INSUFFICIENT_FUNDS",
        "gatewayRecommendation": "RESUBMIT_WITH_ALTERNATIVE_PAYMENT_DETAILS"
    },
    "result": "FAILURE",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "encryption": "DUKPT",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "3ZYP2IPZIDXTNEQK7USKF5DKRBA0L",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T09:54:26.805Z",
    "timeOfRecord": "2025-07-01T09:54:26.466Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 11.25,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_989934639",
        "receipt": "518209000015",
        "source": "CARD_PRESENT",
        "stan": "15",
        "terminal": "0002",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FARE"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

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

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "currency": "USD",
        "amount": "27"
    },
    "lineOfBusiness": "diner",
    "referenceOrderId": "AKS_206420518",
    "transaction": {
        "source": "MERCHANT",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
            }
        },
        "resubmission": true
    },
    "sourceOfFunds": {
        "type": "CARD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "pT4spt3AbKZWund"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 27.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T09:57:55.963Z",
        "currency": "USD",
        "id": "AKS_310827598",
        "lastUpdatedTime": "2025-07-01T09:57:56.229Z",
        "merchantAmount": 27.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "AUTHORIZED",
        "totalAuthorizedAmount": 27.00,
        "totalCapturedAmount": 0.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "referenceOrderId": "AKS_206420518",
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "CSVFAA43WVUFN7KXTLK6Z8E2BSDXU",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T09:57:56.229Z",
    "timeOfRecord": "2025-07-01T09:57:55.999Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 27.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_472222993",
        "receipt": "518209000010",
        "resubmission": true,
        "source": "MERCHANT",
        "stan": "10",
        "terminal": "0001",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

### Capture {#capture-3}

```json
{
    "apiOperation": "CAPTURE",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "20",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "pT4spt3AbKZWund"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 27.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T09:57:55.963Z",
        "currency": "USD",
        "id": "AKS_310827598",
        "lastUpdatedTime": "2025-07-01T10:02:08.558Z",
        "merchantAmount": 27.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 27.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:02:08.558Z",
    "timeOfRecord": "2025-07-01T10:02:08.372Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 20.00,
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_44437153",
        "receipt": "518210000016",
        "resubmission": true,
        "source": "MERCHANT",
        "stan": "16",
        "terminal": "0002",
        "type": "CAPTURE"
    },
    "version": "100"
}
```

#### Refund {#refund-3}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "7",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "pT4spt3AbKZWund"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 27.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T09:57:55.963Z",
        "currency": "USD",
        "id": "AKS_310827598",
        "lastUpdatedTime": "2025-07-01T10:03:12.858Z",
        "merchantAmount": 27.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_REFUNDED",
        "totalAuthorizedAmount": 27.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.00
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:03:12.858Z",
    "timeOfRecord": "2025-07-01T10:03:12.729Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_331898735",
        "receipt": "518210000011",
        "resubmission": true,
        "source": "MERCHANT",
        "stan": "11",
        "terminal": "0001",
        "type": "REFUND"
    },
    "version": "100"
}
```

#### Void {#void-3}

```json
{
   "apiOperation": "VOID",
   "transaction": {
       "acquirer": {
           "customData": {
               "environment": "dev"
           }
       },
       "targetTransactionId": "AKS_331898735"
   }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "pT4spt3AbKZWund"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 27.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T09:57:55.963Z",
        "currency": "USD",
        "id": "AKS_310827598",
        "lastUpdatedTime": "2025-07-01T10:04:41.533Z",
        "merchantAmount": 27.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 27.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:04:41.533Z",
    "timeOfRecord": "2025-07-01T10:04:41.333Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_908661596",
        "receipt": "518210000012",
        "source": "MERCHANT",
        "stan": "12",
        "targetTransactionId": "AKS_331898735",
        "terminal": "0001",
        "type": "VOID_REFUND"
    },
    "version": "100"
}
```

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

#### Verify {#verify-3}

```json
{
    "apiOperation": "VERIFY",
    "order": {
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "transactionIdentifier": "abTdaQl2qnoW3XG"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 0.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T10:30:52.988Z",
        "currency": "USD",
        "id": "AKS_182164707",
        "lastUpdatedTime": "2025-07-01T10:30:53.224Z",
        "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",
        "serialNumber": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "RP6HGKGGOC22IHAAFN4RJ0EYXBCJH",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:30:53.224Z",
    "timeOfRecord": "2025-07-01T10:30:53.020Z",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 0.00,
        "currency": "USD",
        "id": "AKS_49612993",
        "receipt": "518210000021",
        "source": "CARD_PRESENT",
        "stan": "21",
        "terminal": "0002",
        "type": "VERIFICATION"
    },
    "version": "100"
}
```

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

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": 11.25,
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FARE"
            }
        },
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "baBsqMFQOwS0pdH"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 11.25,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T10:32:09.110Z",
        "currency": "USD",
        "id": "AKS_204596801",
        "lastUpdatedTime": "2025-07-01T10:32:09.453Z",
        "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": "0123ABCD"
    },
    "response": {
        "acquirerCode": "51",
        "acquirerMessage": "Not sufficient funds",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "INSUFFICIENT_FUNDS",
        "gatewayRecommendation": "RESUBMIT_WITH_ALTERNATIVE_PAYMENT_DETAILS"
    },
    "result": "FAILURE",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "encryption": "DUKPT",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "EF3XAOVQIYTGSC71NJG391HYNJPY4",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T10:32:09.453Z",
    "timeOfRecord": "2025-07-01T10:32:09.173Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 11.25,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_968555509",
        "receipt": "518210000017",
        "source": "CARD_PRESENT",
        "stan": "17",
        "terminal": "0001",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FARE"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

#### Standalone capture {#standalone-capture}

```json
{
    "apiOperation": "CAPTURE",
    "referenceOrderId": "AKS_204596801",
    "lineOfBusiness": "diner",
    "transaction": {
        "authorizationCode": "123456",
        "amount": 7,
        "currency": "USD",
        "source": "CARD_PRESENT",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FIRST_RIDE_RISK"
            }
        }
    },
    "authorizationResponse": {
        "transactionIdentifier": "baBsqMFQOwS0pdH",
        "returnAci": "N"
    }
}
```

```json
{
    "authorizationResponse": {
        "date": "1021",
        "returnAci": "N",
        "transactionIdentifier": "baBsqMFQOwS0pdH"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 7.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-03T07:22:44.346Z",
        "currency": "USD",
        "id": "AKS_322677987",
        "lastUpdatedTime": "2025-07-03T07:22:44.746Z",
        "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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "EF3XAOVQIYTGSC71NJG391HYNJPY4",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-03T07:22:44.746Z",
    "timeOfRecord": "2025-07-03T07:22:44.384Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-03",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "123456",
        "currency": "USD",
        "id": "AKS_768359956",
        "receipt": "518407000114",
        "source": "CARD_PRESENT",
        "stan": "114",
        "terminal": "0002",
        "transit": {
            "aggregatedFare": {
                "aggregationStartDate": "2024-05-14",
                "transportationMode": "TRAIN",
                "type": "FIRST_RIDE_RISK"
            }
        },
        "type": "CAPTURE"
    },
    "version": "100"
}
```

#### Refund {#refund-4}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "7",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "date": "1021",
        "returnAci": "N",
        "transactionIdentifier": "baBsqMFQOwS0pdH"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 7.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-03T07:22:44.346Z",
        "currency": "USD",
        "id": "AKS_322677987",
        "lastUpdatedTime": "2025-07-03T07:26:45.575Z",
        "merchantAmount": 7.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "REFUNDED",
        "totalAuthorizedAmount": 7.00,
        "totalCapturedAmount": 7.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "EF3XAOVQIYTGSC71NJG391HYNJPY4",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-03T07:26:45.575Z",
    "timeOfRecord": "2025-07-03T07:26:45.440Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-03",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_974453235",
        "receipt": "518407000102",
        "source": "CARD_PRESENT",
        "stan": "102",
        "terminal": "0001",
        "type": "REFUND"
    },
    "version": "100"
}
```

#### Void {#void-4}

```json
{
    "apiOperation": "VOID",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "targetTransactionId": "AKS_974453235"
    }
}
```

```json
{
    "authorizationResponse": {
        "date": "1021",
        "returnAci": "N",
        "transactionIdentifier": "baBsqMFQOwS0pdH"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 7.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-03T07:22:44.346Z",
        "currency": "USD",
        "id": "AKS_322677987",
        "lastUpdatedTime": "2025-07-03T07:27:09.377Z",
        "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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "EF3XAOVQIYTGSC71NJG391HYNJPY4",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-03T07:27:09.377Z",
    "timeOfRecord": "2025-07-03T07:27:09.195Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-03",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_39966795",
        "receipt": "518407000103",
        "source": "CARD_PRESENT",
        "stan": "103",
        "targetTransactionId": "AKS_974453235",
        "terminal": "0001",
        "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-2}

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": 100,
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "transit": {
            "knownFare": {
                "type": "FARE_REAL_TIME_AUTHORIZATION",
                "transportationMode": "TRAIN"
            }
        },
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "aHpMCTftlYNuAc2"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:09:25.614Z",
        "currency": "USD",
        "id": "AKS_938055160",
        "lastUpdatedTime": "2025-07-01T11:09:25.947Z",
        "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": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "encryption": "DUKPT",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "1LPZ5YWGJXILSZDEUGAOU1UAKYFMQ",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:09:25.947Z",
    "timeOfRecord": "2025-07-01T11:09:25.680Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_899653790",
        "receipt": "518211000023",
        "source": "CARD_PRESENT",
        "stan": "23",
        "terminal": "0002",
        "transit": {
            "knownFare": {
                "transportationMode": "TRAIN",
                "type": "FARE_REAL_TIME_AUTHORIZATION"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

#### Capture {#capture-4}

```json
{
    "apiOperation": "CAPTURE",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "20",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "aHpMCTftlYNuAc2"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:09:25.614Z",
        "currency": "USD",
        "id": "AKS_938055160",
        "lastUpdatedTime": "2025-07-01T11:10:38.363Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:10:38.363Z",
    "timeOfRecord": "2025-07-01T11:10:38.221Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 20.00,
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_844953491",
        "receipt": "518211000023",
        "source": "CARD_PRESENT",
        "stan": "23",
        "terminal": "0001",
        "type": "CAPTURE"
    },
    "version": "100"
}
```

#### Refund {#refund-5}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "7",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "aHpMCTftlYNuAc2"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:09:25.614Z",
        "currency": "USD",
        "id": "AKS_938055160",
        "lastUpdatedTime": "2025-07-01T11:17:10.522Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_REFUNDED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:17:10.522Z",
    "timeOfRecord": "2025-07-01T11:17:10.397Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_814958841",
        "receipt": "518211000024",
        "source": "CARD_PRESENT",
        "stan": "24",
        "terminal": "0002",
        "type": "REFUND"
    },
    "version": "100"
}
```

#### Void {#void-5}

```json
{
    "apiOperation": "VOID",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "targetTransactionId": "AKS_814958841"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "aHpMCTftlYNuAc2"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:09:25.614Z",
        "currency": "USD",
        "id": "AKS_938055160",
        "lastUpdatedTime": "2025-07-01T11:18:17.274Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:18:17.274Z",
    "timeOfRecord": "2025-07-01T11:18:17.119Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_484267511",
        "receipt": "518211000025",
        "source": "CARD_PRESENT",
        "stan": "25",
        "targetTransactionId": "AKS_814958841",
        "terminal": "0002",
        "type": "VOID_REFUND"
    },
    "version": "100"
}
```

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

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

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": 100,
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "p2pe": {
                    "cardBin": "601100",
                    "encryptionState": "VALID",
                    "initializationVector": "0000000000000000",
                    "keySerialNumber": "FFFF0000000004100499",
                    "payload": "0DD5141BD97D779AEDA15A08E7BEDF25E80CD624D76881F1DD2FEAFA2683AC0A4A707750E3DAEE3F"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "transit": {
            "knownFare": {
                "type": "FARE_DEFERRED_AUTHORIZATION",
                "transportationMode": "TRAIN"
            }
        },
        "source": "CARD_PRESENT",
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        }
    },
    "posTerminal": {
        "address": {
            "country": "USA"
        },
        "attended": "UNATTENDED",
        "location": "MERCHANT_TERMINAL_ON_PREMISES",
        "cardholderActivated": "NOT_CARDHOLDER_ACTIVATED",
        "panEntryMode": "CONTACTLESS",
        "inputCapability": "CONTACTLESS_CHIP",
        "lane": "CBAS2I02",
        "pinEntryCapability": "PIN_NOT_SUPPORTED"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "7vMuhRKVdt2ndNQ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:30:28.849Z",
        "currency": "USD",
        "id": "AKS_34944792",
        "lastUpdatedTime": "2025-07-01T11:30:29.172Z",
        "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": "0123ABCD"
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "840",
                    "9F1E": "0123ABCD",
                    "9F26": "D1F722D47FCA8273",
                    "9F27": "40",
                    "9F33": "E0B8C8",
                    "9F34": "1E0300",
                    "9F35": "12",
                    "9F36": "0002",
                    "9F37": "2A4E1690",
                    "9F41": "0123",
                    "9F53": "A",
                    "9F6E": "0101"
                },
                "encryption": "DUKPT",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "paymentAccountReference": "7Z1R15FE8MESSXSLIN4X8JPHNXUZF",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:30:29.172Z",
    "timeOfRecord": "2025-07-01T11:30:28.914Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_343027705",
        "receipt": "518211000026",
        "source": "CARD_PRESENT",
        "stan": "26",
        "terminal": "0002",
        "transit": {
            "knownFare": {
                "transportationMode": "TRAIN",
                "type": "FARE_DEFERRED_AUTHORIZATION"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

#### Capture {#capture-5}

```json
{
    "apiOperation": "CAPTURE",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "amount": "20",
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "7vMuhRKVdt2ndNQ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:30:28.849Z",
        "currency": "USD",
        "id": "AKS_34944792",
        "lastUpdatedTime": "2025-07-01T11:32:05.617Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:32:05.617Z",
    "timeOfRecord": "2025-07-01T11:32:05.432Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 20.00,
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_677542563",
        "receipt": "518211000024",
        "source": "CARD_PRESENT",
        "stan": "24",
        "terminal": "0001",
        "type": "CAPTURE"
    },
    "version": "100"
}
```

#### Refund {#refund-6}

```json
{
    "apiOperation": "REFUND",
    "lineOfBusiness": "diner",
    "transaction": {
        "acquirer": {
            "customData": {
                "environment": "dev"
            }
        },
        "amount": 7,
        "currency": "USD"
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "7vMuhRKVdt2ndNQ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:30:28.849Z",
        "currency": "USD",
        "id": "AKS_34944792",
        "lastUpdatedTime": "2025-07-01T11:32:27.144Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_REFUNDED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 7.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED_PENDING_SETTLEMENT"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:32:27.144Z",
    "timeOfRecord": "2025-07-01T11:32:27.033Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_211572588",
        "receipt": "518211000027",
        "source": "CARD_PRESENT",
        "stan": "27",
        "terminal": "0002",
        "type": "REFUND"
    },
    "version": "100"
}
```

#### Void {#void-6}

```json
{
    "apiOperation": "VOID",
    "transaction": {
        "acquirer": {
            "customData": {
                "environment": "dev"
            }
        },
        "targetTransactionId": "AKS_211572588"
    }
}
  }
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "7vMuhRKVdt2ndNQ"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-01T11:30:28.849Z",
        "currency": "USD",
        "id": "AKS_34944792",
        "lastUpdatedTime": "2025-07-01T11:34:06.993Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "PARTIALLY_CAPTURED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 20.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": "0123ABCD"
    },
    "response": {
        "gatewayCode": "APPROVED"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "1",
                    "year": "39"
                },
                "fundingMethod": "DEBIT",
                "issuer": "DISCOVER ISSUER",
                "number": "601100xxxxxx8686",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-01T11:34:06.993Z",
    "timeOfRecord": "2025-07-01T11:34:06.868Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-01",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-01",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "currency": "USD",
        "id": "AKS_716361148",
        "receipt": "518211000028",
        "source": "CARD_PRESENT",
        "stan": "28",
        "targetTransactionId": "AKS_211572588",
        "terminal": "0002",
        "type": "VOID_REFUND"
    },
    "version": "100"
}
```

#### Known fare tap intiated debt recovery {#known-fare-tap-intiated-debt-recovery}

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": "100",
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "emvRequest": {
                    "82": "0000",
                    "84": "0000000000",
                    "95": "0000000000",
                    "5F2A": "840",
                    "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": "301234",
                    "encryptionState": "VALID",
                    "initializationVector": "00000000000000000000000000000000",
                    "keySerialNumber": "3CE000000000000000000001",
                    "payload": "616ba2e122db1a450a462a0e73c9748be09075483c0156dafff2009445b7adce"
                }
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "source": "CARD_PRESENT",
        "transit": {
            "knownFare": {
                "type": "DEBT_RECOVERY_TAP_INITIATED"
            }
        }
    },
    "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",
        "trackQuality": "05",
        "transactionIdentifier": "nalStb8ih2GMTEa"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-03T02:44:58.891Z",
        "currency": "USD",
        "id": "AKS_435603013",
        "lastUpdatedTime": "2025-07-03T02:44:59.173Z",
        "merchantAmount": 100,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "AUTHORIZED",
        "totalAuthorizedAmount": 100,
        "totalCapturedAmount": 0,
        "totalDisbursedAmount": 0,
        "totalRefundedAmount": 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",
        "serialNumber": "12345"
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "emvRequest": {
                    "82": "0000",
                    "84": "0000000000",
                    "95": "0000000000",
                    "5F2A": "840",
                    "5F34": "000",
                    "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": "301234xxxx0000",
                "paymentAccountReference": "2VDVFJPTOXSDBFBHQMAZJVNIELICB",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "000",
                "storedOnFile": "NOT_STORED",
                "trackDataProvided": true
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-03T02:44:59.173Z",
    "timeOfRecord": "2025-07-03T02:44:58.938Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-02",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_997754323",
        "receipt": "518402000077",
        "source": "CARD_PRESENT",
        "stan": "77",
        "terminal": "0001",
        "transit": {
            "knownFare": {
                "type": "DEBT_RECOVERY_TAP_INITIATED"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

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

```json
{
    "apiOperation": "AUTHORIZE",
    "lineOfBusiness": "diner",
    "order": {
        "amount": "100",
        "currency": "USD"
    },
    "sourceOfFunds": {
        "provided": {
            "card": {
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "number": "30123400000000",
                "sequenceNumber": "099"
            }
        },
        "type": "CARD"
    },
    "transaction": {
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "source": "CALL_CENTRE",
        "transit": {
            "knownFare": {
                "type": "DEBT_RECOVERY_PAYER_INITIATED"
            }
        }
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "WppVdBEc1EwvO26"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-03T03:42:46.026Z",
        "currency": "USD",
        "id": "AKS_394901272",
        "lastUpdatedTime": "2025-07-03T03:42:46.276Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "AUTHORIZED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 0.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "12",
                    "year": "39"
                },
                "fundingMethod": "CREDIT",
                "number": "301234xxxx0000",
                "paymentAccountReference": "ID4OSRWUZ8J0NNRGYKYWI3ATDONTU",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "099",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-03T03:42:46.276Z",
    "timeOfRecord": "2025-07-03T03:42:46.061Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-02",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_51179696",
        "receipt": "518403000104",
        "source": "CALL_CENTRE",
        "stan": "104",
        "terminal": "0002",
        "transit": {
            "knownFare": {
                "type": "DEBT_RECOVERY_PAYER_INITIATED"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

#### Known fare merchant intiated debt recovery {#known-fare-merchant-intiated-debt-recovery}

```json
{
    "apiOperation": "AUTHORIZE",
    "order": {
        "amount": "100",
        "currency": "USD"
    },
    "lineOfBusiness": "diner",
    "sourceOfFunds": {
        "type": "CARD"
    },
    "referenceOrderId": "AKS_976120909",
    "transaction": {
        "resubmission": true,
        "acquirer": {
            "customData": "{\"environment\":\"dev\"}"
        },
        "source": "MERCHANT",
        "transit": {
            "knownFare": {
                "type": "DEBT_RECOVERY_MERCHANT_INITIATED",
                "transportationMode": "TRAIN"
            }
        }
    }
}
```

```json
{
    "authorizationResponse": {
        "processingCode": "000000",
        "trackQuality": "05",
        "transactionIdentifier": "7eNvF73MlxDrT0N"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-02T12:07:52.937Z",
        "currency": "USD",
        "id": "AKS_130697591",
        "lastUpdatedTime": "2025-07-02T12:07:53.260Z",
        "merchantAmount": 100.00,
        "merchantCategoryCode": "1234",
        "merchantCurrency": "USD",
        "status": "AUTHORIZED",
        "totalAuthorizedAmount": 100.00,
        "totalCapturedAmount": 0.00,
        "totalDisbursedAmount": 0.00,
        "totalRefundedAmount": 0.00
    },
    "referenceOrderId": "AKS_976120909",
    "response": {
        "acquirerCode": "00",
        "acquirerMessage": "Approved",
        "authenticationTokenVerification": {
            "gatewayCode": "UNKNOWN"
        },
        "gatewayCode": "APPROVED",
        "gatewayRecommendation": "NO_ACTION"
    },
    "result": "SUCCESS",
    "sourceOfFunds": {
        "provided": {
            "card": {
                "brand": "DINERS_CLUB",
                "expiry": {
                    "month": "12",
                    "year": "30"
                },
                "fundingMethod": "CREDIT",
                "number": "301234xxxx0000",
                "paymentAccountReference": "3LLV1XYPJM1LKSNTRXKUSWIXCHF1V",
                "scheme": "DINERS_CLUB",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-02T12:07:53.260Z",
    "timeOfRecord": "2025-07-02T12:07:53.039Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "customData": "{\"environment\":\"dev\"}",
            "date": "2025-07-02",
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808"
        },
        "amount": 100.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "abcd12",
        "currency": "USD",
        "id": "AKS_920206802",
        "receipt": "518312000057",
        "resubmission": true,
        "source": "MERCHANT",
        "stan": "57",
        "terminal": "0001",
        "transit": {
            "knownFare": {
                "transportationMode": "TRAIN",
                "type": "DEBT_RECOVERY_MERCHANT_INITIATED"
            }
        },
        "type": "AUTHORIZATION"
    },
    "version": "100"
}
```

#### Known fare first ride risk {#known-fare-first-ride-risk}

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

```json
{
    "authorizationResponse": {
        "date": "1021",
        "returnAci": "N",
        "transactionIdentifier": "0YSa4JUbd8GQ4Lb"
    },
    "gatewayEntryPoint": "WEB_SERVICES_API",
    "lineOfBusiness": "diner",
    "merchant": "PEG_S2I_MER1",
    "order": {
        "amount": 7.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "chargeback": {
            "amount": 0,
            "currency": "USD"
        },
        "creationTime": "2025-07-03T03:13:49.255Z",
        "currency": "USD",
        "id": "AKS_578194429",
        "lastUpdatedTime": "2025-07-03T03:13:49.497Z",
        "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": "DINERS_CLUB",
                "emvRequest": {
                    "5F2A": "840",
                    "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": "301234xxxx0000",
                "paymentAccountReference": "ZXNELF7HOY8TG56SLEEA7ESJ8YPHH",
                "scheme": "DINERS_CLUB",
                "sequenceNumber": "000",
                "storedOnFile": "NOT_STORED"
            }
        },
        "type": "CARD"
    },
    "timeOfLastUpdate": "2025-07-03T03:13:49.497Z",
    "timeOfRecord": "2025-07-03T03:13:49.284Z",
    "transaction": {
        "acquirer": {
            "batch": 1,
            "id": "NEX_DISCOVER_ELAVON_S2I",
            "merchantId": "9808",
            "settlementDate": "2025-07-03",
            "timeZone": "-0400"
        },
        "amount": 7.00,
        "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT",
        "authorizationCode": "123456",
        "currency": "USD",
        "id": "AKS_927402268",
        "receipt": "518403000092",
        "source": "CARD_PRESENT",
        "stan": "92",
        "terminal": "0002",
        "transit": {
            "knownFare": {
                "transportationMode": "TRAIN",
                "type": "FIRST_RIDE_RISK"
            }
        },
        "type": "CAPTURE"
    },
    "version": "100"
}
```

