Skip to main content

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

Body

required
    backd_order_id stringrequired
    merchant_order_id stringrequired

Responses

Order details.

Schema
    data object

    Order data returned by post-order management endpoints.

    backd_order_id string
    create_date string
    order_total number
    cart_amount number
    tax_amount number
    shipping_amount number
    discount_amount number
    status string
    merchant_order_id string
    merchant_order_status string

    Not returned by cancel_order.

    shipping object

    Name, address, phone, and email for a shipping or billing contact.

    name objectrequired

    First and last name of a person.

    first stringrequired
    last stringrequired
    company_name stringrequired
    address objectrequired

    Postal address.

    line1 stringrequired
    line2 string

    Second address line (optional).

    city stringrequired
    state stringrequired
    zipcode stringrequired
    country stringrequired
    phone_number stringrequired
    email stringrequired
    billing object

    Name, address, phone, and email for a shipping or billing contact.

    name objectrequired

    First and last name of a person.

    first stringrequired
    last stringrequired
    company_name stringrequired
    address objectrequired

    Postal address.

    line1 stringrequired
    line2 string

    Second address line (optional).

    city stringrequired
    state stringrequired
    zipcode stringrequired
    country stringrequired
    phone_number stringrequired
    email stringrequired
    items object[]
  • Array [
  • display_name stringrequired
    sku stringrequired
    unit_price numberrequired
    qty numberrequired
    item_image_url string

    URL of the item's image (optional).

    item_url string

    URL of the item's page (optional).

  • ]
  • refunds object[]

    Present on find_order, refund POST, and refund DELETE responses.

  • Array [
  • amount number
    create_date string
    status string
    locked_at string
  • ]
  • message string
    status object
    type string
    code integer
    error boolean
Loading...