<- Payments API

Payments API

All versions ->

Complete payment

POST

 /v2/payments/{payment_id}/complete

Completes (captures) a payment.

By default, payments are set to complete immediately after they are created. If you set autocomplete to false when creating a payment, you can complete (capture) the payment using this endpoint.

Permissions:PAYMENTS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

payment_id

string

Required

Unique ID identifying the payment to be completed.

Link to section

Response fields

Link to section

errors

Information on errors encountered during the request

Link to section

payment

The successfully completed Payment.