Payment links
Cancel an open payment link. 409 when already paid or not cancellable. Honours Idempotency-Key. (scope: payments:write)
POST
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
id*stringPayment link id
Format
uuidOK
application/json- response
data*error*nullcurl -X POST "https://example.com/payment-links/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"{ "data": { "provider_cancelled": true, "link": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "url": "http://example.com", "amount_minor": 0, "currency": "str", "description": "string", "customer_email": "string", "customer_name": "string", "status": "string", "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "paid_at": "2019-08-24T14:15:22Z" } }, "error": null}Transition an order status: pending|paid|fulfilled|cancelled|refunded (scope: orders:write) POST
Previous Page
Create a payment link. The provider is not contacted until the payer opens it, so a link can be minted before a processor is connected (it then offers IBAN + EPC QR). Honours Idempotency-Key. (scope: payments:write) POST
Next Page