Payins
Create payin
Changed onCreates a payin (payment intent) for an order. Requires order_id and either type or gateway_id.
For card payments, the response includes a direct_link to the payment page. For bank wire payments, the response includes bank transfer details in provider.
post/payins
Request
- Base URLhttps://your-subdomain.truust.io/2.0
- URLhttps://your-subdomain.truust.io/2.0/payins
- AuthHTTP bearer
Request body
Example request
{
"order_id": 4950,
"type": "REDSYS_V2",
"save_card": 1
}Response
Payin created
Example response
{
"self": "/2.0/payins/456"
}Changes
- breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - breaking
removed the enum value
BANKWIREof the request property - breaking
removed the enum value
CARDof the request property - breaking
removed the enum value
WALLETof the request property - breaking
the
request property type changed frombooleantointeger - info
added the new
0.00enum value to the request property - info
added the new
1.00enum value to the request property
- breaking