🆕 Request examples
Demo PSP - Transactions
Initiate Hybrid transaction - example 1
In this example we make use of LOAYLTY, and 700 eurocent is categorized as FOOD.
{
"orderId": "c725b315-c8a5-4d59-b4c8-1a6405548577",
"dpaId": "e37eb874-7cc8-4ed3-a241-c5dccdebddc9",
"callbackUrl": "https://localhost",
"amountDetails": {
"currency": "EUR",
"amount": 1456
},
"categories": [
{
"amount": 700,
"types": [
"FOOD"
]
}
],
"claimedUserIds": [
{
"cuid": "123456789",
"cuidType": "LOYALTY"
}
]
}Initiate Hybrid transaction - example 2
In this example we make use of a DYNAMIC_SDKID, and 500 eurocent can be payed by both categories FOOD and ECO.
{
"orderId": "c725b315-c8a5-4d59-b4c8-1a6405548577",
"dpaId": "e37eb874-7cc8-4ed3-a241-c5dccdebddc9",
"callbackUrl": "https://localhost",
"amountDetails": {
"currency": "EUR",
"amount": 1456
},
"categories": [
{
"amount": 500,
"types": [
"ECO", "FOOD"
]
}
],
"claimedUserIds": [
{
"cuid": "3f7a9c0e-6774-4a54-b676-ef067d587c0d",
"cuidType": "DYNAMIC_SDKID"
}
]
}Initiate Hybrid transaction - example 3
In this example we make use of a DYNAMIC_SDKID. 200 eurocent can be payed by category FOOD and400 eurocent can be payed by category ECO.
{
"orderId": "c725b315-c8a5-4d59-b4c8-1a6405548577",
"dpaId": "e37eb874-7cc8-4ed3-a241-c5dccdebddc9",
"callbackUrl": "https://localhost",
"amountDetails": {
"currency": "EUR",
"amount": 1456
},
"categories": [
{
"amount": 200,
"types": [
"FOOD"
]
},
{
"amount": 400,
"types": [
"ECO"
]
}
],
"claimedUserIds": [
{
"cuid": "3f7a9c0e-6774-4a54-b676-ef067d587c0d",
"cuidType": "DYNAMIC_SDKID"
}
]
}Updated about 2 months ago
