Skip to main content

Disable Payment Link

API data

API Gateway
This API is used for payment gateway operations:

If you want to disable a payment link (to prevent it from being paid), send a POST request as shown below.

POST /v1/paymentlink/disable?id=<guid>

Via REST request with query parameters.

Data dictionary - Parameters

PROPERTYDESCRIPTIONTYPELOCATIONREQUIRED
idIdentifier of the payment link to disableGuidqueryyes
reasonReason for disabling the payment linkStringqueryno
Link disabled successfully
{ 
"id": "aed32670-c3e5-4192-8ab0-0e96f92e3408",
"sucess": true,
"message": "Link de pagamento desabilitado com sucesso!"
}

Data dictionary - Response

PROPERTYDESCRIPTIONTYPELOCATIONREQUIRED
idIdentifier of the disabled payment linkGuidBodyyes
sucessIndicates whether the operation succeededBooleanBodyyes
messageOperation response messageStringBodyyes