Credit limit notification
POST
/v2/notifications/opt-in
the flexibility to opt-in for various levels based on your requirements. For instance, you can
choose to receive notifications at 90% of your credit limit or select multiple thresholds such
as 50%, 70%, and 90%. These notifications can be delivered either to your webhook or your
company email address.
delivered via your webhook implementation, provide your webhook
implementation url
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/notifications/opt-in' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "webhook_credit_limit",
"webhook_url": "https://example.com",
"levels": [
50,
70,
80,
90
]
}'
Response Response Example
200 - Get the webhook based notification - Get the webhook based notification
{
"data": {
"notification": {
"type": "webhook_credit_limit",
"contact_point": "https://example.com",
"levels": [
50,
70,
80,
90
]
}
},
"meta": {
"message": "success"
}
}
Request
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {{token}}
Body Params application/json
Responses
Modified at 2024-12-17 16:59:11