Skip to main content
POST
/
dev
/
v1
/
payment-links
/
{id}
/
toggle
Toggle payment link
curl --request POST \
  --url https://api.shoppex.io/dev/v1/payment-links/{id}/toggle \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "active": true
}'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

active
required

Response

200 - application/json

Successful response

data
object