...
The return command is used to fully refund the credit card payment of an order.
See more information with this link https://api.pei.is/docs/ui/index#!/Orders/OrdersV1_Return
Responses:
200, Success:
Code Block |
---|
{ "acquirerStatusCode": "00", "acquirerMessage": "Approved." } |
...
The refund command is used for a partial refund of the credit card payment of an order.
See more information with this link https://api.pei.is/docs/ui/index#!/Orders/OrdersV1_Refund
Responses:
200, Success:
Code Block |
---|
{ "acquirerStatusCode": "00", "acquirerMessage": "Approved." } |
...
Code Block |
---|
{ "code": "10051", "message": "Unknown error occurred", "correlationId": "342137fa-88ca-46e1", "cardActionResult": { "acquirerStatusCode": "51-I", "acquirerMessage": "Do not honor. Correlation ID: e6df6457-a84b-44c2-ae40-3260b4797981" } } |
Returning information about the order, “OrderAPI” “GET Orders”
A few things have been added to the order to provide more information about the order.
See more information on this link https://api.pei.is/docs/ui/index#!/Orders/OrdersV1_GetOrder
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” |