Stop a checkout link

POST
/checkout/links/{id}/disable

Authorization

apiKey
AuthorizationBearer <token>

A Swichi Gateway payments key.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X POST "https://example.com/checkout/links/string/disable"
{  "id": "string",  "object": "checkout_link",  "livemode": true,  "url": "string",  "amount": 0,  "min_amount": 0,  "max_amount": 0,  "currency": "TZS",  "description": "string",  "status": "active",  "uses": 0,  "order_number": 0,  "expires_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}