Disable Payment Link

This will disable a payment link.

This will cause the hosted payment page to no longer be accessible for this payment link.

PATCH/api/v1/ypp/payment-links/{paymentLinkId}/disable

This will disable a payment link.

This will cause the hosted payment page to no longer be accessible for this payment link.

Path Parameters

paymentLinkIdpathrequired

The ID of the payment link

Responses

200Default Response
RequestPATCH/api/v1/ypp/payment-links/{paymentLinkId}/disable
curl 'https://api.theyeeld.com/api/v1/ypp/payment-links/{paymentLinkId}/disable' \
  --request PATCH
Response
{
"id": "string",
"url": "string",
"enabled": false,
"createdAt": "string",
"updatedAt": "string",
"paymentStatus": null,
"patronEmail": "string",
"patronLocation": {
"country": "string",
"stateProvince": "string"
},
"totalAmount": 0,
"patronCanEnterAmount": false,
"disabledPaymentOptions": [
null
],
"name": "string",
"additionalData": [
{
"type": null,
"key": "string",
"label": "string",
"required": false,
"valueForDisplay": "string",
"value": null,
"addToReceipt": false
}
],
"taxes": {
"taxRate": 0,
"taxAmount": 0
},
"patronUsState": null
}