Get payment links by user

The method allows you to get a list of payment links for a specific user

Get payment links by user

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

The body of the request to get the list of payment links associated with the client

clientIdstringOptional

Client ID

Example: merchant_client_unique_id
clientEmailstringOptional

Client mail

Example: [email protected]
merchantIdstringRequired

Merchant ID in the system

Example: 3ef22c52-c364-4acd-941d-5940f647a4f1
Responses
200Success
application/json
post
POST /api-gateway/recurrents/get-billing-links-by-subscriber HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 133

{
  "clientId": "merchant_client_unique_id",
  "clientEmail": "[email protected]",
  "merchantId": "3ef22c52-c364-4acd-941d-5940f647a4f1"
}
200Success
{
  "success": true,
  "response": [
    {
      "id": "c7358087-4e45-44b7-8de2-427621f2eaf4",
      "merchantId": "3ef22c52-c364-4acd-941d-5940f647a4f1",
      "clientId": "merchant_client_unique_id",
      "clientName": "John Doe",
      "clientEmail": "[email protected]",
      "webhookUrl": "https://merchant.domain/webhooks/subscription",
      "returnUrl": "https://merchant.domain/",
      "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
      "currency": "USDT",
      "network": "ethereum",
      "status": "PENDING",
      "createdAt": "2025-06-09T11:38:26.573Z",
      "updatedAt": "2025-06-09T11:38:26.573Z"
    }
  ]
}

Last updated