Card Payment Initiation

This API retrieves the PIN of the card with the specified details.

Endpoint

Sample Request
POST /{{baseUrl}}/payment/card

Authorization

Headers
Authorization = Bearer Token

Request Description


Response Description


Sample Request

Content-Type: application/json; HTTP Method: POST

{
    "transactionType": "<string>",
    "totalAmount": {
        "currency": "YEB",
        "amount": "169022611.96"
    },
    "card": {
        "pan": "29199198980503",
        "sequenceNumber": "176",
        "expiryMonth": "02",
        "expiryYear": "1904",
        "securityCode": "781",
        "holder": "<string>",
        "accountType": "<string>",
        "track1": "<string>",
        "track2": "<string>",
        "iccRelatedData": "a878AABba51A7618aC16849d13e24C3D22e6B1D79Dd60c1Eb5cff6BFc5fEaaA969BE3957dc4baf7529AB545Ec6ea8dB25deF2C4410BDad4B5e0CdeededFFfD21F74ebbc851CEf2A6fDD4473eE32F9EeD8F64Ad016b6eEb423f3C2A273FEeBc7C8389E21BF2deCefe80ebd0Dff925Ad0A446300Aba796164528"
    },
    "acceptorTransactionId": "<string>",
    "merchant": {
        "id": "<string>",
        "name": "<string>",
        "location": {
            "addressLine1": "<string>",
            "addressLine2": "<string>",
            "postCode": "<string>",
            "town": "<string>",
            "state": "<string>",
            "country": "UNB"
        },
        "email": "<string>",
        "url": "<string>",
        "phone": "+12-)56103-6(01064",
        "mcc": "8839"
    },
    "poi": {
        "terminalId": "<string>",
        "transactionChannel": "<string>",
        "entryMode": "<string>"
    },
    "billingAddress": {
        "addressLine1": "<string>",
        "addressLine2": "<string>",
        "postCode": "<string>",
        "town": "<string>",
        "state": "<string>",
        "country": "JMS"
    },
    "shippingAddress": {
        "addressLine1": "<string>",
        "addressLine2": "<string>",
        "postCode": "<string>",
        "town": "<string>",
        "state": "<string>",
        "country": "HRP"
    },
    "originalTransactionType": "<string>"
}

Sample Response

Content-Type: application/json