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

POSThttps://app.apollopayment.io/api-gateway/recurrents/disable-subscriber-billing-link
Header parameters
Body
id*string

Payment link ID

Example: "2905ecf5-1fc1-4ced-9413-c667ec30e0eb"
merchantId*string

Merchant ID

Example: "d11e5117-afc0-4fea-8938-a801da1595f7"
Response
Body
success*boolean

Request success indicator

response*DisableSubscriptionBillingLinkResponse (object)

Body of the response to the request to disable the payment link

Request
const response = await fetch('https://app.apollopayment.io/api-gateway/recurrents/disable-subscriber-billing-link', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "id": "2905ecf5-1fc1-4ced-9413-c667ec30e0eb",
      "merchantId": "d11e5117-afc0-4fea-8938-a801da1595f7"
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "response": {
    "id": "2905ecf5-1fc1-4ced-9413-c667ec30e0eb",
    "merchantId": "d11e5117-afc0-4fea-8938-a801da1595f7",
    "currency": "USDT",
    "network": "ethereum",
    "status": "BLOCKED",
    "createdAt": "2024-10-15T16:11:27.604Z",
    "updatedAt": "2024-10-15T16:11:27.604Z"
  }
}

Last updated