Get Static PayID List
GEThttps://api.cleverhub.co/api/v1/customers/get_static_open_payids
Retrieve a comprehensive list of all Static Open PayIDs registered under your account. This endpoint allows for efficient management of Static PayIDs by providing options to filter the results based on customer-specific identifiers. You can filter by email, PayID, or customer ID to quickly locate and review relevant Static PayIDs.
Static Open PayIDs are reusable identifiers that link directly to customer details, streamlining future payment interactions and providing a persistent payment method. This list can be used to monitor, manage, and organise Static PayIDs within your account.
Request​
Query Parameters
Filter the list by the customer’s email address to retrieve associated Static PayIDs.
Filter the list by a specific PayID to retrieve matching records.
Filter the list by the customer’s unique ID to retrieve associated Static PayIDs.
Responses​
- 200
- 400
- 401
Static Open PayID list retrieved successfully.
- application/json
- Schema
- Example (auto)
Schema
Total number of Static PayID records found.
20
Current page of the results.
1
Total number of pages available.
1
records object[]
{
"total": 20,
"page": 1,
"total_page": 1,
"records": [
{
"id": 1,
"name": "Sample Name",
"address": "123 Sample Street",
"email": "user@example.com",
"city": "Sample City",
"state_name": "Sample State",
"zip_code": "12345",
"static_payid": "samplepayid@example.com",
"external_id": "ext-12345",
"status": "active"
}
]
}
Bad Request
Unauthorized
Authorization: app-id
name: app-idtype: apiKeyin: headerdescription: A unique identifier assigned to each application.
name: secret-keytype: apiKeyin: headerdescription: A secure token associated with the `app-id`.
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.cleverhub.co/api/v1/customers/get_static_open_payids");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("app-id", "<app-id>");
request.Headers.Add("secret-key", "<app-id>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());