{
"id": "7bb6f1f3-d280-4b0c-a74f-90471ea69426", // Auto-generated UUID
"paymentMethod": "paydirekt",
"returnUrl": "http://example.com", // URL to return after payment completion.
"webhookUrl": "https://example.com", // URL to receive webhook notification.
"transaction":{
"reference": "test-1111", // Max 20 characters
"currency": "EUR", // ISO4217 format
"amount": 2000, // The amount is in cents, 2000 = 20 EUR. Has to be sum of amounts * quantity in lines.
"description": "test-1444",
"lines":[
{
"name": "Some Voucher - 20 EUR", // Max 100 characters. Name of product.
"category": "PREPAID-VOUCHER", // Max 100 characters.
"brand": "alphacomm", // Max 100 characters.
"quantity": 1, // Number of items
"amount": 2000 // The amount is in cents, 2000 = 20 EUR
}
]
},
"paydirekt": {
"email": "test@test.com"
}
}
Sandbox Testing
Check with Dev team that sandbox is set for account.
Request is same as given in example.
Merchant Configuration
- apiKey - Paydirekt auth parameter (Dev providing, for additional information contact dev team)
- apiSecret - Paydirekt auth parameter (Dev providing, for additional information contact dev team)