m2pfintech
API LibraryIssuance

Fetch All Issuances

Returns a paginated list of all corporate issuances for the calling tenant. Useful for building an issuance dashboard or history screen in the partner portal.

Server

Use the corporate server URLs for this endpoint.

GET
/v1/corporate-issuances/fetch-all

Authorization

bearerAuth tenantId
AuthorizationBearer <token>

JWT Bearer token from the Authentication API

In: header

X-TENANT-ID<token>

Your unique tenant identifier assigned during onboarding

In: header

Query Parameters

pageNo?integer

Page number (0-based, default 0)

Default0
pageSize?integer

Number of records per page (default 10)

Default10

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/middleware/v1/corporate-issuances/fetch-all?pageNo=0&pageSize=10" \  -H "X-TENANT-ID: ACME_CORP"
{
  "result": [
    {
      "applicationNumber": "gpr020",
      "currentStatus": "SUCCESS",
      "issuanceType": "Single"
    },
    {
      "applicationNumber": "BULK-APP-2026-001",
      "currentStatus": "APPROVED",
      "issuanceType": "Bulk"
    }
  ],
  "pagination": {
    "pageNo": 0,
    "pageSize": 10,
    "totalElements": 2
  }
}
{
  "type": "https://www.m2pfintech.com/problem/problem-with-message",
  "title": "string",
  "status": 0,
  "detail": "string",
  "message": "error.http.400",
  "businessCode": "string",
  "fieldErrors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "cause": {},
  "errorCode": "string",
  "errors": [
    "string"
  ],
  "languageCode": "string",
  "localizedMessage": "string",
  "suppressed": [
    {}
  ]
}