Skip to content

Instantly share code, notes, and snippets.

@klondaiker
Created January 21, 2021 09:08
Show Gist options
  • Save klondaiker/b00b9efba23317011979423a114c92e6 to your computer and use it in GitHub Desktop.
Save klondaiker/b00b9efba23317011979423a114c92e6 to your computer and use it in GitHub Desktop.
{
"order": {
"orderId": "abdacc6c-75e4-499b-a7ff-08d8bb8c4463",
"amount": 1500,
"currency": "SAR",
"detailedStatus": "Paid",
"status": "Success",
"threeDSecureId": "2eeb024f-30ff-4d9c-0017-08d8bb8c4465",
"merchantId": "e80ece7e-fb2a-4c0b-de94-08d8a29a107b",
"merchantPublicKey": "1ae97673-bc01-49fa-bfd6-c26abefe0c1d",
"parentOrderId": null,
"merchantReferenceId": "434",
"callbackUrl": "https://api.constructor.avalab.io/v1/callbacks/geidea_payment/notify",
"customerEmail": null,
"billingAddress": null,
"shippingAddress": null,
"returnUrl": null,
"cardOnFile": false,
"tokenId": null,
"initiatedBy": null,
"agreementId": null,
"agreementType": null,
"paymentOperation": "Pay",
"paymentMethod": {
"cardholderName": "TEST TEST",
"maskedCardNumber": "512345******0008",
"expiryDate": {
"month": 5,
"year": 21
},
"type": "Card",
"brand": "mastercard"
},
"totalAuthorizedAmount": 1500,
"totalCapturedAmount": 1500,
"totalRefundedAmount": 0,
"transactions": [
{
"transactionId": "2eeb024f-30ff-4d9c-0017-08d8bb8c4465",
"type": "Authentication",
"status": "Success",
"amount": 1500,
"currency": "SAR",
"source": "Hpp",
"authorizationCode": "[FILTERED]",
"rrn": null,
"paymentMethod": {
"cardholderName": "TEST TEST",
"maskedCardNumber": "512345******0008",
"expiryDate": {
"month": 5,
"year": 21
},
"type": "Card",
"brand": "mastercard"
},
"codes": {
"acquirerCode": null,
"acquirerMessage": null,
"responseCode": "000",
"responseMessage": "Success",
"detailedResponseCode": "000",
"detailedResponseMessage": "Your transaction was successful"
},
"authenticationDetails": {
"acsEci": "02",
"authenticationToken": "jHyn+7YFi1EUAREAAAAvNUe6Hv8=",
"paResStatus": "Y",
"veResEnrolled": "Y",
"xid": "q+yqIo6YjBFEImcCc+iNZKZXPL0=",
"accountAuthenticationValue": null,
"proofXml": null
},
"createdDate": "2021-01-21T08:37:22.3124873",
"createdBy": "PGW",
"updatedDate": "2021-01-21T08:37:45.4972435",
"updatedBy": "PGW"
},
{
"transactionId": "798d6198-7ff1-4c8d-9a71-08d8b967b686",
"type": "Pay",
"status": "Success",
"amount": 1500,
"currency": "SAR",
"source": "Hpp",
"authorizationCode": "[FILTERED]",
"rrn": "102108288400",
"paymentMethod": {
"cardholderName": "TEST TEST",
"maskedCardNumber": "512345******0008",
"expiryDate": {
"month": 5,
"year": 21
},
"type": "Card",
"brand": "mastercard"
},
"codes": {
"acquirerCode": "00",
"acquirerMessage": "Approved",
"responseCode": "000",
"responseMessage": "Success",
"detailedResponseCode": "000",
"detailedResponseMessage": "Your transaction was successful"
},
"authenticationDetails": null,
"createdDate": "2021-01-21T08:37:46.4285721",
"createdBy": "PGW",
"updatedDate": "2021-01-21T08:37:47.8426585Z",
"updatedBy": "PGW"
}
],
"createdDate": "2021-01-21T08:37:22.3124873",
"createdBy": "PGW",
"updatedDate": "2021-01-21T08:37:45.4972435",
"updatedBy": "PGW"
},
"signature": "sjVdYmGXTsjtq82WpAZFyqFwgRX41EQRdXKsVqU1eoM="
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment