m2pfintech

Fetch Low Balance Alert Configuration

Retrieves existing alert configurations for a corporate account.

POST
/v1/corporate-alert/configuration/fetch

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

Header Parameters

X-TENANT-ID*string

Your unique tenant identifier

Request Body

application/json

corporateId?string
accountNumber?string
alertType?string

Response Body

application/json

curl -X POST "https://sandbox-api.m2pprepaid.com/prepaid/middleware/v1/corporate-alert/configuration/fetch" \  -H "X-TENANT-ID: ACME_CORP" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "corporateId": "CORP123",
  "accountNumber": "17568190551480014",
  "alertType": "CORPORATE_LOW_BALANCE_ALERT",
  "lowBalanceThreshold": "50000",
  "notificationEmails": [
    "finance@acme.com"
  ],
  "notificationMobiles": [
    {
      "value": "9876543210",
      "countryCode": 91,
      "locale": "string"
    }
  ]
}
Empty