cURL
curl --request PATCH \ --url https://waas-staging.embedly.ng/api/v1/limits/customer/add \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "currencyid": "<string>", "productid": "<string>", "customerid": "<string>", "singleTransactionLimit": "<string>", "frequency": 123, "dailyTransactionLimit": 123, "monthlyTransactionLimit": 123, "id": "<string>" }'
The endpoint allows you to to add limits for a specific customer.
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 } }
Status Code: 400 Bad Request { "code": "-32", "success": false, "message": "Invalid Frequency specified", "data": null }