Skip to main content

Get Payment Request Statistics

GET 

https://api.cleverhub.co/api/v1/payment_requests/count

Retrieve summary statistics for payment requests, including the total gross amount, the number of completed transactions, and the number of pending transactions. This endpoint provides an overview of your payment requests, helping you monitor transaction performance at a glance.

Responses

Payment request statistics retrieved successfully.

Schema
    grossnumber

    The total gross amount of all transactions.

    Example: 1100
    transactions_countinteger

    The total number of transactions recorded.

    Example: 10
    pending_countinteger

    The number of transactions currently pending.

    Example: 5

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`.
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.cleverhub.co/api/v1/payment_requests/count");
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());
Request Collapse all
Base URL
https://api.cleverhub.co/api
Auth
ResponseClear

Click the Send API Request button above and see the response here!