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 '{}'
{
  "corporateId": "CORP123",
  "accountNumber": "17568190551480014",
  "alertType": "CORPORATE_LOW_BALANCE_ALERT",
  "thresholdAmount": 50000,
  "emailRecipients": [
    "finance@acme.com"
  ],
  "mobileRecipients": [
    "9876543210"
  ]
}
Empty