Skip to main content
POST
Pay an invoice with a saved card

Authorizations

Authorization
string
header
required

An API token from API tokens in the console, sent as Authorization: Bearer pgapi_.... It works for one billing account, and its permissions decide which endpoints it may call.

Path Parameters

invoice
string
required

Body

application/json
payment_method
string | null

The saved card's id; the default card when left out.

Required string length: 26

Response

data
any[]
required