order_placed
POST/order_placed
The merchant sends a request to this endpoint to confirm receipt of the successful order (after customer onSuccess in BNPL Widget) and sharing their unique identifier for the order (merchant_order_id). The order can now be placed in the merchant system.
Request
- application/json
Body
required
backd_order_id stringrequired
merchant_order_id stringrequired
Responses
- 200
Order details.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
order_total numberrequired
cart_amount numberrequired
tax_amount numberrequired
shipping_amount numberrequired
discount_amount numberrequired
status stringrequired
merchant_order_id stringrequired
merchant_order_status stringrequired
items object[]
item_id stringrequired
name stringrequired
quantity integerrequired
price numberrequired
{
"order_total": 150,
"cart_amount": 120,
"tax_amount": 20,
"shipping_amount": 10,
"discount_amount": 0,
"status": "order_placed",
"merchant_order_id": "12345ABC",
"merchant_order_status": "confirmed",
"items": [
{
"item_id": "item001",
"name": "Product Name",
"quantity": 2,
"price": 50
}
]
}
Loading...