POST
/
orders
curl --request POST \
  --url https://api.sellburst.io/v1/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com",
  "gateway": "stripe",
  "subgateway": "coinremitter_bitcoin",
  "allow_private": true,
  "notification_url": "https://example.com/notification",
  "cart": [
    {
      "productId": 1,
      "variant": "Default",
      "quantity": 1
    }
  ]
}'
{
  "uuid": "6e9ce865-b27d-4ded-9883-0389ea114ca9",
  "status": "pending",
  "url": "https://example.com/6e9ce865-b27d-4ded-9883-0389ea114ca9",
  "tracking_id": "mp_18297389123"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Merchant
string

The Store Name you want to select

Body

application/json
JSON object to create an order
email
string
required
gateway
string
required

Possible values: stripe, paypal, square, hoodpay, mercado_pago, paypal_fnf, coinremitter, oxapay

cart
object[]
required
subgateway
string

Only available in coinremitter gateway, possible values: coinremitter_litecoin, coinremitter_bitcoin

allow_private
boolean

Whether to allow private products in the cart

notification_url
string

URL to receive notifications (must be https and POST method)

Response

200
application/json
Orders data
uuid
string
required
status
string
required
url
string
tracking_id
string

Only available in mercado_pago gateway