Authorize payment (publishable)
Public endpoint used during a checkout flow. Attaches a source to the
payment and authorizes the gateway transaction. Does not require
authentication; the payment is found by its ID alone, so its
enable_checkout flag must be true.
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Path Parameters
Resource identifier.
Body
Body for POST /payments/{id}/authorize/.
Source ID to authorize this payment against.
Response
Payment authorized.
ISO currency code.
256Invoice ID this payment applies to.
Subscription ID when generated by a subscription cycle.
Remaining balance to charge against this payment.
Effective date the payment was completed.
Primary source ID. (Legacy single source link.)
All source IDs linked to this payment (multi-source support).
cancelled, failed, incomplete, processing, requires_payment_method, succeeded Reason code when status=failed.
URL the payer is sent back to after a redirect-flow checkout.
Whether the publishable checkout /pay/ is reachable for this payment.
