POST
/
v2
/
session
/
card
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v2/session/card \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "origin": "https://example.com",
  "mode": "iframe",
  "merchant_reference_id": "merchant-cart-id-max-255",
  "amount_in_cents": 1000,
  "currency": "USD",
  "card_response_format": "token",
  "customer": {
    "email": "john.doe@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "phone": "6125551234",
    "billing_address": {
      "street": "123 W Lake St",
      "street2": "Unit 104",
      "city": "Minneapolis",
      "state": "MN",
      "postal_code": "55408",
      "country_code": "US"
    }
  },
  "items": [
    {
      "name": "Blue tee",
      "sku": "sku123456",
      "quantity": 1,
      "price": {
        "amount_in_cents": 1000,
        "currency": "USD"
      }
    }
  ]
}'
{
  "uuid": "fadbc642-05a4-4e38-9e74-80e325623af9",
  "dashboard_url": "https://dashboard.sezzle.com/example?id=0001"
}

This endpoint should be used with our virtual card offering. It is not intended for the direct integration flow.

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Body

application/json

Response

201
application/json

Successful Operation

The response is of type object.