m2pfintech
API LibraryForex Issuance

Fetch Forex Issuances by Status and Issuer

Retrieves a paginated list of forex issuances filtered by the issuing hierarchy ID and current status. Useful for operational dashboards and approval queues.

Common Status Values

StatusDescription
CREATEDPending maker-checker approval
APPROVEDApproved and processed
REJECTEDRejected by checker
FAILEDProcessing failed after approval
GET
/v1/forex/issuance/fetch-by-status-issued-by/{id}/{status}

Authorization

bearerAuth tenantId
AuthorizationBearer <token>

In: header

X-TENANT-ID<token>

In: header

Path Parameters

id*string

Hierarchy ID (corporate or branch)

status*string

Issuance status filter

Value in"CREATED" | "APPROVED" | "REJECTED" | "FAILED"

Query Parameters

pageNo?integer

Page number (0-indexed)

Default0

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/issuance/fetch-by-status-issued-by/90009/CREATED" \  -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"
}