GET
/
limits
/
product
/
{productId}
/
currency
/
{currencyId}
/
customer
/
{customerId}
curl --request GET \
  --url https://waas-staging.cafeone.ng/api/v1/limits/product/{productId}/currency/{currencyId}/customer/{customerId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "productId": "<string>",
  "currencyId": "<string>",
  "customerId": "<string>"
}'

Path Parameters

productId
string
required

The unique identifier for the product associated with the limit.

currencyId
string
required

The unique identifier for the currency (e.g., “USD”, “EUR”).

customerId
string
required

The unique identifier for the customer to whom the limit applies.

Response

✅ Success Response

Status Code: 200 OK

{
  "code": "00",
  "success": true,
  "message": "Retrieved successfully",
  "data": {
    "id": "a529a0c8-ff67-11ef-a8a9-6045bd97b81d",
    "productCurrencyId": "a529a0c8-ff67-11ef-a8a9-6045bd97b81d",
    "singleTransactionLimit": 10000000,
    "frequency": 10000,
    "dailyTransactionLimit": 500000000,
    "monthlyTransactionLimit": 500000000,
    "customerId": "08dd5d6c-a9b4-452d-8872-4ada3d46b506"
  }
}

❌ Error Responses

- **Status Code**: **400 Bad Request**


{
  "code": "-3",
  "success": false,
  "message": "Currency not found",
  "data": null
}