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

Disabling the payment link

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body

Request body to disable the payment link

idstringRequired

Payment link ID

Example: 6a42622f-4968-47e2-a24d-5f5f1dc1acd6
merchantIdstringRequired

Merchant ID

Example: 3ce560cc-4d42-4543-b9ef-8cc35c00638c
Responses
200Success
application/json
post
POST /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