Payments

Capture payment

Capture the full or a partial amount for a credit or debit card payment.

post/orders/{order_id}/capture

Path parameters

order_idstring required

The unique identifier of the order.

Max length: 50 characters.

Request body

amountinteger required

The payment amount in the currency's smallest unit:

  • Decimal currencies: Value for 10 EUR = 1000 (1000 cents)
  • Zero-decimal currencies: Value for 10 JPY = 10

Full captures: Specify the original amount.

Partial captures: Specify the amount to capture.

new_order_idstring

Your unique identifier for the captured order. Applies to partial captures only. If omitted, an ID is auto-generated.

new_order_status'completed' required

The order status.

invoice_idstring

Your unique identifier for the invoice, which appears in reports.

tracktrace_codestring

The track and trace code for the shipment (recommended).

carrierstring

The name of the shipping company (recommended).

reasonstring

The reason for capturing the order.

descriptionstring

Any additional information.

Example request

{
  "amount": 10000,
  "new_order_id": "my-order-id-01",
  "new_order_status": "completed",
  "invoice_id": "AB123456",
  "tracktrace_code": "3SYXTC0706148",
  "carrier": "DHL",
  "reason": "Shipped in one consignment."
}

Response

Request successful

successSuccess — unresolved $ref

Changes

No recorded changes to this endpoint across all 1 revision of this API.