Create payment
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Body
ISO currency code.
256Invoice ID this payment applies to.
Subscription ID when generated by a subscription cycle.
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 URL the payer is sent back to after a redirect-flow checkout.
Whether the publishable checkout /pay/ is reachable for this payment.
Response
Payment created.
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.
