POST
/
v1
/
checkouts
/
{order_reference_id}
/
complete
Complete a Checkout
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v1/checkouts/{order_reference_id}/complete \
  --header 'Authorization: <api-key>'
{
  "amount_in_cents": 12999,
  "currency_code": "USD",
  "order_description": "Order #1800",
  "order_reference_id": "ord_12345",
  "display_order_reference_id": "ord_12345",
  "checkout_cancel_url": "https://sezzle.com/cart",
  "checkout_complete_url": "https://sezzle.com/complete",
  "customer_details": {
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@sezzle.com",
    "phone": "8885401867"
  },
  "billing_address": {
    "name": "John Doe",
    "street": "123 West Lake street",
    "street2": "104",
    "city": "Minneapolis",
    "state": "MN",
    "postal_code": "55408",
    "country_code": "US"
  },
  "shipping_address": {
    "name": "John Doe",
    "street": "123 West Lake street",
    "street2": "104",
    "city": "Minneapolis",
    "state": "MN",
    "postal_code": "55408",
    "country_code": "US"
  },
  "items": [
    {
      "name": "widget",
      "sku": "sku123456",
      "quantity": 1,
      "price": {
        "amount_in_cents": 1000,
        "currency": "USD"
      }
    }
  ],
  "discounts": [
    {
      "name": "20% off",
      "amount": {
        "amount_in_cents": 1000,
        "currency": "USD"
      }
    }
  ],
  "tax_amount": {
    "amount_in_cents": 1000,
    "currency": "USD"
  },
  "shipping_amount": {
    "amount_in_cents": 1000,
    "currency": "USD"
  },
  "merchant_completes": true
}

You are viewing Version 1 of the Sezzle API. Check out the current version!

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Path Parameters

order_reference_id
string
required

The Order Reference ID to update

Response

200
application/json

Successful Operation

The response is of type object.