Passer au contenu principal
POST
/
v2
/
order
/
{order_uuid}
/
capture
Capture amount by order
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v2/order/{order_uuid}/capture \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "capture_amount": {
    "amount_in_cents": 5000,
    "currency": "USD"
  }
}
'
{
  "uuid": "6c9db5d4-d09a-4224-860a-b5438ac32ca8"
}

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.

Autorisations

Authorization
string
header
requis

The authentication token generated from providing API Keys to Sezzle Gateway

En-têtes

Sezzle-Request-Id
string

Unique client-generated ID to enforce idempotency

Paramètres de chemin

order_uuid
string
requis

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

Corps

application/json
capture_amount
object
requis

A price object with the amount and currency being captured

Réponse

Successful Operation

uuid
string

The uuid returned from this operation is the capture transaction uuid, but there are no endpoints that use this value. You may retrieve an order's capture transactions using the Get an order endpoint.