deprecated
This guide is for the deprecated Flex.API. Please don't use it for new implementations.
See Integration Options, and feel welcome to ask our friendly help desk.
You can mark a request and transaction as demo using the parameter demo
. If marked so, the payment is not actually processed. There are also no transaction costs, shipments, nor statement positions.
Always test Sofort payments with “Demobank”. Please make sure this is considered when working with demo transactions or on test servers.
Example request:
Request Body
{
"data"
:{
"apikey"
:
"6801fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7ace"
,
"demo"
: 1,
...
}
If the parameter is transmitted with the value 1
or true
, it is a demo transaction. If the parameter is omitted, or transmitted with 0
or false
, it is a real transaction.