Enable Payment Link

This will re-enable a previously disabled payment link.

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

This will re-enable a previously disabled payment link.

Path Parameters

paymentLinkIdpathrequired

The ID of the payment link

Responses

200Default Response
RequestPATCH/api/v1/ypp/payment-links/{paymentLinkId}/enable
curl 'https://api.theyeeld.com/api/v1/ypp/payment-links/{paymentLinkId}/enable' \
  --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
}