Payments
Create payment
Changed onCreate a single payment to charge an invoice.
post/payments
Request
- Base URLhttps://public-api.alternativepayments.io
- URLhttps://public-api.alternativepayments.io/payments
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: payments:write
Request body
Example request
{
"amount": "100.00",
"customer_id": "00000000-0000-0000-0000-000000000000",
"idempotency_key": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"payment_date": "2025-01-01T00:00:000Z",
"payment_method_id": "00000000-0000-0000-0000-000000000000"
}Response
Payment is being processed!
string required
Changes
- breaking
the
request property format changed from no format touuid
- breaking