Skip to main content
POST
Make payments using charge authorizations

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
payments
object[]
required

Array of charges to process. All entries together may hold at most 25 payment links; a request with more is refused with a 400 and charges nothing.

idempotencyKey
string

Response

Successful operation. Payment links are charged independently, so individual links can still fail (for example, one that is already paid) — check errors for per-link failures.

Payment links processed without error. This includes charges held for approval (heldForApproval true, paymentId null), which were not charged yet; count only those with a paymentId as charged.

errors
object[]

Payment links that were not charged, each with its reason. A payment link that is already paid, scheduled or reusable is reported here, and the rest of the request is still charged.