API LibraryForex Card Holder Load
Fetch Forex Card Holder Loads by Status
Retrieves forex card holder loads filtered by processing status and hierarchy ID.
Use the optional transactionType parameter to further filter by CREDIT or DEBIT.
Status Values
| Status | Description |
|---|---|
CREATED | Pending approval |
APPROVED | Approved and processed |
REJECTED | Rejected by checker |
FAILED | Processing failed |
Authorization
bearerAuth tenantId AuthorizationBearer <token>
In: header
X-TENANT-ID<token>
In: header
Path Parameters
status*string
Load status
Value in
"CREATED" | "APPROVED" | "REJECTED" | "FAILED"hierarchyId*string
Hierarchy/branch ID
Query Parameters
pageNo?integer
Default
0transactionType?string
Filter by transaction type
Value in
"CREDIT" | "DEBIT"Header Parameters
X-TENANT-ID*string
Your unique tenant identifier
Response Body
application/json
application/json
curl -X GET "https://sandbox-api.m2pprepaid.com/prepaid/corporate/v1/forex/card-holder-loads/fetch-by-status/APPROVED/90009" \ -H "X-TENANT-ID: ACME_CORP"{
"result": {},
"pagination": {}
}{
"type": "https://www.m2pfintech.com/problem/problem-with-message",
"title": "Business validation failed",
"status": 409,
"detail": "Business validation failed",
"message": "error.business",
"businessCode": "PP_CORP_002"
}Fetch Forex Card Holder Load by ID GET
Retrieves the details of a specific forex card holder load transaction, including the load amount, currency, wallet details, fees, and processing status.
Filter Forex Card Holder Loads by Criteria POST
Advanced search for forex card holder load records with complex filter criteria. Supports filtering by date range, status, hierarchy, transaction type, and custom fields.
