API ReferencePayment links
Disable a payment link
Disables the link so it no longer accepts payments. Idempotent.
Authorization
ApiKey X-Api-Key<token>
Merchant API key for authentication
In: header
Path Parameters
id*string
Resource ID
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/payment-links/string/disable"{ "id": "string", "url": "string", "amount": 0, "currency": "str", "description": "string", "reference": "string", "customer": { "first_name": "string", "last_name": "string", "email": "string", "country": "string" }, "capture_mode": "automatic", "reusable": true, "status": "active", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}