Passer au contenu principal
PATCH
/
v2
/
order
/
{order_uuid}
/
checkout
Complete checkout by order
curl --request PATCH \
  --url https://sandbox.gateway.sezzle.com/v2/order/{order_uuid}/checkout \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "currency_code": "USD",
  "address_uuid": "some-uuid-1234",
  "shipping_options": [
    {
      "name": "Standard Shipping",
      "description": "3-5 business days",
      "shipping_amount_in_cents": 500,
      "tax_amount_in_cents": 500,
      "final_order_amount_in_cents": 20000
    },
    {
      "name": "Express Shipping",
      "description": "1-2 business days",
      "shipping_amount_in_cents": 1000,
      "tax_amount_in_cents": 1000,
      "final_order_amount_in_cents": 20000
    }
  ]
}
'
{
  "code": "bad_request",
  "message": "bad request"
}

Documentation Index

Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt

Use this file to discover all available pages before exploring further.

Ce point de terminaison doit être utilisé avec notre offre de paiement express. Il n’est pas destiné au flux d’intégration directe.

Autorisations

Authorization
string
header
requis

The authentication token generated from providing API Keys to Sezzle Gateway

Paramètres de chemin

order_uuid
string
requis

The Order UUID to update (order.uuid from session response)

Corps

application/json
currency_code
string
requis

The 3 character currency code as defined by ISO 4217

address_uuid
string
requis

The UUID associated with the customer's shipping address

shipping_options
object[]

The shipping options for the order

Réponse

Status No Content