...
Field | Description | Example |
---|---|---|
status | Contains status information about the order: Status codes:
| “status” : 1 |
maskedCard | Contains masked credit card number. This will only appear if the payment was credit card payment. | “maskedCard” : “XXXX-XXXX-XXXX-1309“ |
cardType | Credit card type This will only appear if the payment was credit card payment. | “cardType” : “Visa” |
authorizationCode | The authorization code for the payment made with credit card. This will only appear if the payment was credit card payment. | “authorizationCode” : “429136” |
refundedAmount | Refunded amount on a order. | “refundedAmount” : 1000.0 |
cardActionResult | Section with information from credit card acuirer | "cardActionResult": { |
...
Code Block | ||
---|---|---|
| ||
{ "orderId": "i3T0OBxiwjY33tYU43V5o0amXqFTZAllxZ", "purchaseId": 17455210, "merchantId": 4, "merchantName": "1Greidslumidlun ehf.", "merchantParentCompanyName": "Greidslumidlun ehf.", "buyer": { "name": "Some Name", "ssn": "xxxxxxxx", "email": "SomeEmail@pei.is", "mobileNumber": "xxxxxx" }, "amount": 1200000.0, "reference": "Merchant reference", "purchaseOptions": { "installmentFrequency": 1 }, "postbackUrl": "https://webhook.site/example", "postbackStatusModel": 2, "successReturnUrl": "", "cancelReturnUrl": "", "items": [ { "id": 3308378, "timestamp": "2022-11-14T14:27:54.49", "code": null, "name": "Nocco", "isActive": true, "quantity": 01.0, "unit": null, "unitPrice": 0.0, "amount": 0200000.0, "groupName": null, "isOptional": false, "isDefaultSelected": null } ], "isConfirmed": true, "confirmationDate": "2022-11-14T14:29:13.81", "saleDate": "2022-11-14T14:27:54.487", "paymentMethod": 2, "status": 1, "mandateId": "sgmFXXTNkYthLyzYbQmGTnVj5y3wJTVA", "maskedCard": "XXXX-XXXX-XXXX-1309", "cardType": "Visa", "authorizationCode": "429136" "refundedAmount" : 10000.0 "cardActionResult" : { "acquirerStatusCode": "00", "acquirerMessage": "Approved." } } |
...