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 optionally pass merchant-induced information during creation of the transaction. You can pass:
- a customer ID;
- an order ID;
- up to three user fields for individual notes.
Example request:
Request
POST /payment/init HTTP/1.1
Host: api-testing.secuconnect.com
Content-Type: application/json; charset=utf-8;
Accept: application/json
Accept-Charset: utf-8
{
"data"
: {
"apikey"
:
"6801fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7ace"
,
"payment_type"
:
"debit"
,
...
"merchant_customer_id"
:
"1234"
,
"order_id"
:
"100203"
,
"userfield_1"
:
"Hotel room, 1 person, bed and breakfast"
,
"userfield_2"
:
"person is walking disabled; arrival at about 9 p. m."
,
"userfield_3"
:
"2020/01/28 through 2020/01/30"
}
}