Get Payout Detail
GEThttps://api.cleverhub.co/api/v1/payouts/detail
Retrieve detailed information about a specific payout payment, including its status, total amount, failed transactions, and other relevant details. This endpoint allows you to check the payout payment’s current status and access additional information such as notification details and associated transactions.
Payout payment statuses:
- created: The payout payment has been created.
- processing: The payout is currently in progress and funds are being topped up to the PayID.
- scheduled: The payout is scheduled and awaiting transfer to the payee.
- completed: The payout payment has been successfully completed.
- expired: The payout payment has expired.
Request
Query Parameters
Unique identifier (ID) for the payout payment within Hello Clever.
Unique UUID for the payout payment, used to identify the transaction uniquely.
Responses
- 200
- 400
- 401
- 422
Successfully retrieved payout payment details.
- application/json
- Schema
- Example (auto)
Schema
created
: The payout has been created but not yet processed.processing
: The payout is currently being processed.scheduled
: The payout is scheduled for a future date.completed
: The payout has been completed successfully.expired
: The payout has expired.
A unique identifier assigned to the payout payment, used for tracking and referencing purposes within the system.
12345
A unique UUID assigned to the payout payment, providing a globally unique reference for the transaction.
550e8400-e29b-41d4-a716-446655440000
A description of the payout payment, providing context or additional information such as the purpose of the payout.
Payout for invoice #12345
The PayID used for topping up the payout payment, allowing for easy routing of funds to the correct recipient.
sample@payid.com
The total amount of all transactions included in the payout, providing the complete value being paid out.
1000.00
The total amount that has been refunded to the payee, if applicable.
100.00
The total number of transactions within the payout that failed to complete successfully.
2
The date and time when the payout transaction is scheduled to occur, expressed in UTC.
2024-12-31T23:59:59Z
The current status of the payout payment. Possible values include:
Possible values: [created
, processing
, scheduled
, completed
, expired
]
processing
A URL for downloading an attachment related to the payout payment, such as a receipt or transaction details.
https://example.com/download/payout_attachment
payout_notification object
An error code associated with the payout, indicating any issues that occurred during processing.
HC_PAYOUT1
A description of the error encountered during the payout process, providing context for troubleshooting.
Insufficient funds to payout. Please top up balance in the dashboard.
Indicates whether the payout is being retried after a previous failure.
false
A custom identifier for the payout, provided by the merchant for tracking and reference purposes.
custom-payout-id-6789
payout_transactions object[]
{
"id": 12345,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"description": "Payout for invoice #12345",
"payid": "sample@payid.com",
"total_amount": "1000.00",
"total_refund": "100.00",
"total_failed_transactions": "2",
"scheduled_at": "2024-12-31T23:59:59Z",
"status": "processing",
"export_url": "https://example.com/download/payout_attachment",
"payout_notification": {
"endpoint_url": "https://merchant.com/payout_callback",
"authorization_header": "Bearer your_token"
},
"error_code": "HC_PAYOUT1",
"error_message": "Insufficient funds to payout. Please top up balance in the dashboard.",
"is_retry": false,
"external_id": "custom-payout-id-6789",
"payout_transactions": [
{
"id": 123,
"balance_id": "550e8400-e29b-41d4-a716-446655441111",
"payee": "John Doe",
"payid": "payee@payid.com",
"payid_type": "EMAIL",
"bsb": "123456",
"account_number": "987654321",
"amount": "500.00",
"status": "settled",
"error_message": "Payment failed due to insufficient funds.",
"created_at": "2024-01-01T00:00:00Z"
}
]
}
Bad Request
Unauthorized
Unprocessable Entity
- 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/payouts/detail");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());