Skip to main content

PrepareOrderRequest

amountnumberrequired

The value is ignored because the amount is taken from the barcode.

Example: 0
currencystringrequired

Three-letter ISO 4217 currency code.

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

Example: EUR
countrystringrequired

ISO 3166-1 country code identifying the request country.

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

Example: AT
product_idstringrequired

Requested product identifier.

Example: 28
delivery_typestringrequired

Must be ACCOUNT for PaysafeCard direct and PaysafeCash.

Possible values: [ACCOUNT]

Example: ACCOUNT
utc_offsetstringrequired

Difference between distributor time zone and UTC.

Example: +00:00
shop_idstringrequired

Shop from which the request is made.

Example: shopidtest
terminal_idstringrequired

Unique terminal identifier supplied by the business partner.

Example: terminalidtest
retailer_idstring

Optional retail channel or sub-distributor identifier.

Example: retaileridtest
customer objectrequired
id_typestringrequired

Must be ACCOUNT for PaysafeCard direct and PaysafeCash.

Possible values: [ACCOUNT]

Example: ACCOUNT
idnumberrequired

Barcode number.

Example: 91200058124751270000
capturebooleanrequired

Must be false for prepare order.

Possible values: [false]

Example: false
PrepareOrderRequest
{
"amount": 0,
"currency": "EUR",
"country": "AT",
"product_id": 28,
"delivery_type": "ACCOUNT",
"utc_offset": "+00:00",
"shop_id": "shopidtest",
"terminal_id": "terminalidtest",
"retailer_id": "retaileridtest",
"customer": {
"id_type": "ACCOUNT",
"id": 91200058124751270000
},
"capture": false
}