Skip to main content
POST
/
b2b
/
place-order
Place one or more product orders
curl --request POST \
  --url https://api2.wizzgift.com/b2b/place-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": [
    {
      "slug": "t-mobile-united-states",
      "skuItemId": "US_TM_10_100",
      "quantity": 1,
      "amount": 10,
      "requiredFields": [
        {
          "name": "mobile",
          "value": "1203256458"
        }
      ]
    }
  ],
  "emailNotification": false
}
'
{
  "success": true,
  "id": "CHK-123456",
  "status": "pending",
  "totalPrice": {
    "USD": 10.199918400652795,
    "EUR": 8.853611949827732,
    "GBP": 7.7947545845553785,
    "AUD": 15.810804806874797,
    "CAD": 14.394141552871512,
    "INR": 909.0295185196178,
    "LTC": 0.12227918720437372,
    "BTC": 0.00011855065091697267,
    "USDC": 10.199918400652795,
    "USDT": 10.205276170642382,
    "XRP": 4.918112008800981,
    "XLM": 41.81896915684
  },
  "totalAmount": 10,
  "data": [
    {
      "slug": "t-mobile-united-states",
      "skuItemId": "US_TM_10_100",
      "quantity": 1,
      "amount": 10,
      "requiredFields": [
        {
          "name": "mobile",
          "value": "1203256458"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
data
object[]
required

List of items to order.

  • Maximum 10 items per request.
Required array length: 1 - 10 elements
emailNotification
boolean
default:true

If set to false, no email will be sent to you regarding order updates.

Response

Order accepted and checkout created.

success
boolean
required
id
string
required

Checkout identifier (checkoutId).

Example:

"CHK-123456"

status
string
required

Initial status of the checkout, usually pending.

Example:

"pending"

totalPrice
object
required

Total price converted into multiple currencies. Keys are currency codes (e.g. USD, EUR, BTC).

Example:
{
"USD": 10.199918400652795,
"EUR": 8.853611949827732
}
totalAmount
integer
required

Total amount in USD.

Example:

10

data
object[]
required

Full data of each ordered item.