Mark invoice as paid
POST
Mark an invoice as paid. Optionally link a transaction ID for reconciliation.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
id*stringUnique invoice ID
x-api-key*stringAPI key for authentication
Length
1 <= length- body
Response for status 200
application/json- response
id*stringstatus*stringamount*numberpaid_at*string|nullcurrency*stringcurl -X POST 'https://api.tryaccess.xyz/api/v1/invoices/inv_01J9Z8K2P3Q4R5S6T7U8V9W0X1/paid' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "status": "string", "amount": 0, "paid_at": "string", "currency": "string"}How is this guide?