Request Body
The unique identifier for the currency (e.g., “USD”, “EUR”).
The unique identifier for the product associated with the limit.
The unique identifier for the customer to whom the limit applies.
The maximum amount allowed for a single transaction.
The number of transactions allowed within the specified period.
The maximum total amount allowed for transactions in a single day.
The maximum total amount allowed for transactions in a single month.
The unique identifier for the limit being added.
Response
✅ Success Response
Status Code: 200 OK
{
"code": "00",
"success": true,
"message": "Limits added successfully",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"currencyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"singleTransactionLimit": 0,
"frequency": 0,
"dailyTransactionLimit": 0,
"monthlyTransactionLimit": 0
}
}
❌ Error Responses
Status Code: 400 Bad Request
{
"code": "-32",
"success": false,
"message": "Invalid Frequency specified",
"data": null
}