Skip to main content

RetrieveOrderResponse

amountnumberrequired

The order amount.

Example: 10
currencystringrequired

The order currency.

Possible values: >= 3 characters and <= 3 characters

Example: EUR
card objectrequired
amountnumberrequired

Face value of the card assigned to the order.

Example: 10
currencystringrequired

Currency of the card in ISO 4217 format.

Possible values: >= 3 characters and <= 3 characters

Example: EUR
serialstringrequired

Serial number of the card assigned to the order.

Example: 1850423010
product_idstringrequired

Product ID of the card assigned to the order.

Example: 28
distributor_idstringrequired

The business partner ID assigned by PaysafeCard.

Example: 9402006
order_idstringrequired

Identifies the order. It is generated by the API or taken from the Correlation-ID header.

Example: order_0009402006_test_corr_001
product_idstringrequired

Product identifier associated with the order.

Example: 28
shop_idstringrequired

Identifies the shop from which the request was made.

Example: shopdid_test
terminal_idstringrequired

Identifies the terminal from which the request was made.

Example: test_terminal_123
order_statusOrderStatus (string)required

Current order status.

Possible values: [PREPARED, DELIVERED, REJECTED, WITHDRAWN, CANCELLED, EXPIRED]

Example: CANCELLED
delivery_typestringrequired

Channel to which the order was delivered. For PaysafeCard direct and PaysafeCash, the value is ACCOUNT.

Possible values: [ACCOUNT]

Example: ACCOUNT
RetrieveOrderResponse
{
"amount": 10,
"currency": "EUR",
"card": {
"amount": 10,
"currency": "EUR",
"serial": "1850423010",
"product_id": 28
},
"distributor_id": 9402006,
"order_id": "order_0009402006_test_corr_001",
"product_id": 28,
"shop_id": "shopdid_test",
"terminal_id": "test_terminal_123",
"order_status": "CANCELLED",
"delivery_type": "ACCOUNT"
}