Creates 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.
Use your account's Secret Key as the Bearer token.
Order description or product name.
120"Product purchase"
Order amount in the account's base currency.
x >= 0150
Customer ID of the buyer. Required unless auto_settle is 1 or trustee_type is account.
7485
Customer ID of the seller. Required unless auto_settle is 1.
7485
Pass account to use the authenticated account itself as the buyer
(the buyer_id is then set automatically).
account Fixed platform fee amount. Cannot exceed value.
x >= 0Platform fee as a percentage. Min 0, max 100.
0 <= x <= 100Custom reference tag.
100Set to 1 if there is no seller (e-commerce model). Auto-settles after payment.
0, 1 Arbitrary key-value metadata stored on the order.
Custom template data for the checkout page.
Array of image URLs for the order.
10Redirect URL after buyer confirms payment.
Redirect URL if buyer cancels payment.
Redirect URL after seller accepts the order.
Redirect URL if seller rejects the order.
Maximum number of payin attempts allowed.
x >= 1Allowed payment method types for this order (e.g. ["CARD","BANKWIRE"]).
Fallback payment methods if primary types fail.
Address ID to use as the buyer's billing address.
Address ID to use as the buyer's shipping address.
Associate this order with an existing ACTIVE subscription. The subscription must
belong to the buyer_id customer.
Discount amount to apply to the order value.
x >= 0Coupon ID to apply as a discount.
Wallet ID to fund a discount credit.
Bundle ID to associate with this order.
Order created
"/2.0/orders/1234"
Order amount.
"EUR"
Formatted amount with currency symbol.
"150.00 €"
Payment URL to share with the buyer.
Acceptance URL to share with the seller.
QR code image URL for the order.
DRAFT, PENDING_DETAILS, PENDING_PUBLISH, PUBLISHED, ACCEPTED, REJECTED, CANCELLED, RELEASED Human-readable status label.
When the order was paid.
Hypermedia links to related resources.