Disabling the payment link
The method allows you to disable the payment link. You will no longer be able to connect subscriptions and make payments using this payment link
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/jsonBody
Request body to disable the payment link
idstringRequiredExample:
Payment link ID
6a42622f-4968-47e2-a24d-5f5f1dc1acd6merchantIdstringRequiredExample:
Merchant ID
3ce560cc-4d42-4543-b9ef-8cc35c00638cResponses
200Success
application/json
post
/api-gateway/recurrents/disable-subscriber-billing-linkPOST /api-gateway/recurrents/disable-subscriber-billing-link HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 97
{
"id": "6a42622f-4968-47e2-a24d-5f5f1dc1acd6",
"merchantId": "3ce560cc-4d42-4543-b9ef-8cc35c00638c"
}200Success
{
"success": true,
"response": {
"id": "6a42622f-4968-47e2-a24d-5f5f1dc1acd6",
"merchantId": "3ce560cc-4d42-4543-b9ef-8cc35c00638c",
"currency": "USDT",
"network": "ethereum",
"status": "BLOCKED",
"createdAt": "2025-06-09T13:18:11.530Z",
"updatedAt": "2025-06-09T13:18:11.530Z"
}
}Last updated