Card Type Transactions

The following is a detailed response of a transaction for various card types, including Visa, MasterCard, Amex, and Mada. This response provides comprehensive information regarding a successful payment transaction, offering insights into the order details, payment methods, and authorization specifics. The transaction pertains to an order with the following attributes

This data outlines the intricacies of the payment process, including authentication, payment details, and authorization codes. Furthermore, it covers the customer's information, card details, and other relevant parameters to provide a comprehensive overview of the transaction.

Sample Callback Payload

{  
  "order": {  
    "orderId": "8473d501-35e0-46ca-f36f-08dbcbcad032",  
    "amount": 100,  
    "tipAmount": 0,  
    "convenienceFeeAmount": 0,  
    "totalAmount": 100,  
    "settleAmount": 100,  
    "currency": "EGP",  
    "settleCurrency": "EGP",  
    "language": "en",  
    "detailedStatus": "Paid",  
    "status": "Success",  
    "threeDSecureId": "25e7f463-f8e6-4b1e-2cac-08dbcbc853ca",  
    "merchantId": "1aa75eb2-d308-4140-068e-08da1ecb259c",  
    "merchantPublicKey": "2a6bfdef-3a50-40da-9718-430d1524f632",  
    "parentOrderId": null,  
    "merchantReferenceId": "testingtmg",  
    "mcc": "7777",  
    "callbackUrl": "<https://webhook.site/95b0a01d-09ba-415e-bc75-7480a0576200">,  
    "billingAddress": {  
      "countryCode": null,  
      "street": null,  
      "city": null,  
      "postCode": null  
    },  
    "shippingAddress": {  
      "countryCode": null,  
      "street": null,  
      "city": null,  
      "postCode": null  
    },  
    "returnUrl": null,  
    "cardOnFile": false,  
    "tokenId": null,  
    "initiatedBy": "Internet",  
    "agreementId": null,  
    "agreementType": null,  
    "amountVariability": null,  
    "paymentOperation": "Pay",  
    "custom": null,  
    "paymentIntent": {  
      "id": "c808ca11-f4ae-4019-cf14-08dbcd5a9af9",  
      "parentPaymentIntentId": null,  
      "type": "EInvoice",  
      "number": "319329739480"  
    },  
    "restrictPaymentMethods": false,  
    "paymentMethods": null,  
    "platform": null,  
    "statementDescriptor": null,  
    "description": null,  
    "setDefaultPaymentMethod": false,  
    "recurrence": null,  
    "transactions": [  
      {  
        "transactionId": "25e7f463-f8e6-4b1e-2cac-08dbcbc853ca",  
        "type": "Authentication",  
        "status": "Success",  
        "amount": 100,  
        "currency": "EGP",  
        "source": "HPP",  
        "authorizationCode": null,  
        "rrn": null,  
        "stan": "0",  
        "paymentMethod": {  
          "type": "Card",  
          "brand": "mastercard",  
          "cardholderName": "TestUser",  
          "maskedCardNumber": "512345******0008",  
          "wallet": null,  
          "expiryDate": {  
            "month": 1,  
            "year": 39  
          },  
          "sameBank": false,  
          "issuingCountry": null,  
          "fundingType": null,  
          "issuingBank": null,  
          "cardCategory": null  
        },  
        "codes": {  
          "acquirerCode": null,  
          "acquirerMessage": null,  
          "responseCode": "000",  
          "responseMessage": "Success",  
          "detailedResponseCode": "000",  
          "detailedResponseMessage": "The operation was successful"  
        },  
        "authenticationDetails": {  
          "acsEci": "02",  
          "authenticationToken": "kHyn+7YFi1EUAREAAAAvNUe6Hv8=",  
          "paResStatus": null,  
          "veResEnrolled": null,  
          "xid": "3171ac6c-47d3-45b8-aeff-09e0bd234fcd",  
          "accountAuthenticationValue": null,  
          "proofXml": null,  
          "threeDSecureServerTransactionId": null,  
          "acsTransactionId": "f3b65c6f-cbb9-481c-8feb-22e8c4801ede",  
          "directoryServerId": "A999999999",  
          "dsTransactionId": "3171ac6c-47d3-45b8-aeff-09e0bd234fcd",  
          "methodCompleted": false,  
          "methodSupported": "SUPPORTED",  
          "protocolVersion": "2.1.0",  
          "requestorId": "MAS00001_INT_MPGS_APTE3PR4NKSVZ3959",  
          "requestorName": "1232",  
          "transactionStatus": "Y",  
          "statusReasonCode": null,  
          "acsReferenceNumber": null,  
          "dsReferenceNumber": null  
        },  
        "postilionDetails": null,  
        "terminalDetails": null,  
        "meezaDetails": null,  
        "bnplDetails": null,  
        "bankInstallmentDetails": null,  
        "correlationId": "b1da6c00-2131-4c24-9337-1e2886d3ca34",  
        "parentTransactionId": null,  
        "paymentAttemptId": "d4ad08f4-1b72-4bba-b754-ef82f9a8461d",  
        "acquirer": {  
          "additionalResponseData": null,  
          "batch": null,  
          "customData": null,  
          "date": null,  
          "id": null,  
          "merchantId": "MERCH_IA_25P",  
          "settlementDate": null,  
          "time": null,  
          "timeZone": null,  
          "transactionId": null  
        },  
        "authorizationResponse": {  
          "autoExpiry": null,  
          "avsCode": null,  
          "cardLevelIndicator": null,  
          "cardSecurityCodeError": null,  
          "cardSecurityCodePresenceIndicator": null,  
          "commercialCard": null,  
          "commercialCardIndicator": null,  
          "financialNetworkCode": null,  
          "financialNetworkDate": null,  
          "marketSpecificData": null,  
          "merchantAdviceCode": null,  
          "paySvcData": null,  
          "posData": null,  
          "posEntryMode": null,  
          "posEntryModeChanged": null,  
          "processingCode": null,  
          "responseCode": null,  
          "date": null,  
          "responseMessage": null,  
          "returnAci": null,  
          "time": null,  
          "timeZone": null,  
          "trackQuality": null,  
          "transactionIdentifier": null,  
          "transactionIntegrityClass": null,  
          "validationCode": null,  
          "vpasResponse": null  
        },  
        "madaDetails": null,  
        "refundType": null,  
        "refundStatus": null,  
        "createdDate": "2023-10-16T05:09:40.0172411",  
        "createdBy": "PGW",  
        "updatedDate": "2023-10-16T05:09:48.6530958",  
        "updatedBy": "PGW"  
      },  
      {  
        "transactionId": "a6e2cfd2-a39e-451f-c1af-08dbcbc8380f",  
        "type": "Pay",  
        "status": "Success",  
        "amount": 100,  
        "currency": "EGP",  
        "source": "HPP",  
        "authorizationCode": "021904",  
        "rrn": "328905021904",  
        "stan": "21904",  
        "paymentMethod": {  
          "type": "Card",  
          "brand": "mastercard",  
          "cardholderName": "TestUser",  
          "maskedCardNumber": "512345******0008",  
          "wallet": null,  
          "expiryDate": {  
            "month": 1,  
            "year": 39  
          },  
          "sameBank": false,  
          "issuingCountry": null,  
          "fundingType": null,  
          "issuingBank": null,  
          "cardCategory": null  
        },  
        "codes": {  
          "acquirerCode": "00",  
          "acquirerMessage": "Approved",  
          "responseCode": "000",  
          "responseMessage": "Success",  
          "detailedResponseCode": "000",  
          "detailedResponseMessage": "The operation was successful"  
        },  
        "authenticationDetails": null,  
        "postilionDetails": null,  
        "terminalDetails": null,  
        "meezaDetails": null,  
        "bnplDetails": null,  
        "bankInstallmentDetails": null,  
        "correlationId": "4e2c8a85-ab3b-477f-9494-cc98e5ffafd0",  
        "parentTransactionId": null,  
        "paymentAttemptId": "d4ad08f4-1b72-4bba-b754-ef82f9a8461d",  
        "acquirer": {  
          "additionalResponseData": null,  
          "batch": 20231016,  
          "customData": null,  
          "date": "1016",  
          "id": "BMNF_S2I",  
          "merchantId": "MERCH_IA_25P",  
          "settlementDate": "2023-10-16T00:00:00",  
          "time": null,  
          "timeZone": "+0300",  
          "transactionId": "123456789"  
        },  
        "authorizationResponse": {  
          "autoExpiry": null,  
          "avsCode": null,  
          "cardLevelIndicator": null,  
          "cardSecurityCodeError": "M",  
          "cardSecurityCodePresenceIndicator": null,  
          "commercialCard": "888",  
          "commercialCardIndicator": "3",  
          "financialNetworkCode": "777",  
          "financialNetworkDate": null,  
          "marketSpecificData": null,  
          "merchantAdviceCode": null,  
          "paySvcData": null,  
          "posData": "1025100006600",  
          "posEntryMode": "812",  
          "posEntryModeChanged": null,  
          "processingCode": "003000",  
          "responseCode": "00",  
          "date": null,  
          "responseMessage": null,  
          "returnAci": null,  
          "time": null,  
          "timeZone": null,  
          "trackQuality": null,  
          "transactionIdentifier": "123456789",  
          "transactionIntegrityClass": null,  
          "validationCode": null,  
          "vpasResponse": null  
        },  
        "madaDetails": null,  
        "refundType": null,  
        "refundStatus": null,  
        "createdDate": "2023-10-16T05:09:49.9284135",  
        "createdBy": "PGW",  
        "updatedDate": "2023-10-16T05:09:51.5983255Z",  
        "updatedBy": "PGW"  
      }  
    ],  
    "orderItems": \[],  
    "isTokenPayment": false,  
    "paymentMethod": {  
      "type": "Card",  
      "brand": "mastercard",  
      "cardholderName": "TestUser",  
      "maskedCardNumber": "512345**\*\***0008",  
      "wallet": null,  
      "expiryDate": {  
        "month": 1,  
        "year": 39  
      },  
      "sameBank": false,  
      "issuingCountry": null,  
      "fundingType": null,  
      "issuingBank": null,  
      "cardCategory": null  
    },  
    "totalAuthorizedAmount": 100,  
    "totalCapturedAmount": 100,  
    "totalRefundedAmount": 0,  
    "orderSource": "GeideaGateway",  
    "paymentBrands": [  
      "mastercard"  
    ],  
    "multiCurrency": {  
      "authCurrency": "EGP",  
      "authAmount": 100,  
      "settleCurrency": "EGP",  
      "settleAmount": 100,  
      "exchangeRate": null,  
      "exchangeFeePercentage": null,  
      "exchangeFeeAmount": null  
    },  
    "isTest": true,  
    "cashOnDelivery": false,  
    "amountToCollect": null,  
    "isDownPayment": false,  
    "exchangeRate": null,  
    "exchangeFeePercentage": null,  
    "exchangeFeeAmount": null,  
    "deviceId": "551524f7-1dc6-4fad-8329-08da662deb11",  
    "gatewayDecision": "ContinueToPay",  
    "subscriptionId": null,  
    "subscriptionOccurrenceId": null,  
    "refundType": null,  
    "refundStatus": null,  
    "bankId": "1009",  
    "isPayWithToken": false,  
    "customerName": "سيدرا طاهر",  
    "customerEmail": "[[email protected]](mailto:[email protected])",  
    "createCustomer": false,  
    "customerReferenceId": null,  
    "customerId": "af4c7650-f47a-4260-f47f-08db8e76b582",  
    "customerPhoneNumber": "553089094",  
    "customerPhoneCountryCode": "+971",  
    "customerCustomValue": null,  
    "createdDate": "2023-10-16T05:09:40.0172411",  
    "createdBy": "PGW",  
    "updatedDate": "2023-10-16T05:09:44.5703271",  
    "updatedBy": "PGW"  
  },  
  "signature": "23hzdOW9dz/1MVUGrmY76vb6wI6WQBJ/cCVyldIcriU="  
}