Create order
Changed onCreates a new escrow payment order. buyer_id and seller_id are required (both customers must exist). Once created, the order has a buyer_link and seller_link for the payment flow.
Request
- Base URLhttps://your-subdomain.truust.io/2.0
- URLhttps://your-subdomain.truust.io/2.0/orders
- AuthHTTP bearer
Request body
Example request
{
"buyer_id": 7485,
"seller_id": 7485,
"name": "Test New Order",
"value": 23.77
}Response
Order created
Example response
{
"self": "/2.0/orders/1234",
"currency": "EUR",
"amount": "150.00 €"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - info
the request property
became optional
- info
- breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - breaking
the request property
became required - breaking
the
request property type changed frombooleantointeger - info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new
0.00enum value to the request property - info
added the new
1.00enum value to the request property
- breaking