SettleFlow API
API ReferencePayment links

Disable a payment link

POST
/payment-links/{id}/disable

Disables the link so it no longer accepts payments. Idempotent.

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"}