Get payment links by user
The method allows you to get a list of payment links for a specific user
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/json
Body
The body of the request to get the list of payment links associated with the client
clientIdstringOptionalExample:
Client ID
merchant_client_unique_id
merchantIdstringRequiredExample:
Merchant ID in the system
3ce560cc-4d42-4543-b9ef-8cc35c00638c
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": "3ce560cc-4d42-4543-b9ef-8cc35c00638c"
}
200Success
{
"success": true,
"response": [
{
"id": "6a42622f-4968-47e2-a24d-5f5f1dc1acd6",
"merchantId": "3ce560cc-4d42-4543-b9ef-8cc35c00638c",
"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-09T13:18:11.530Z",
"updatedAt": "2025-06-09T13:18:11.530Z"
}
]
}
Last updated