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

Request Body

currencyid
string
required

The unique identifier of the currency Example: ‘e678b629-fb56-11ef-a8a9-6045bd97b81d’

productId
string
required

The unique identifier of the product Example: ‘3fa85f64-5717-4562-b3fc-2c963f66afa6’

customerId
string
required

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

singleTransactionLimit
number
required

The maximum amount allowed for a single transaction.

frequency
number
required

The number of transactions allowed within the specified period.

dailyTransactionLimit
number
required

The maximum total amount allowed for transactions in a single day.

monthlyTransactionLimit
number
required

The maximum total amount allowed for transactions in a single month.

id
string
required

The unique identifier for the limit being added.

Response

✅ Success Response

Status Code: 200 OK

{
  "code": "00",
  "success": true,
  "message": "Retrieved successfully",
  "data": {
    "id": "769dca4b-7d42-43b5-ade6-bcc10d611f6f",
    "productCurrencyId": "555",
    "singleTransactionLimit": 10000000,
    "frequency": 10000,
    "dailyTransactionLimit": 500000000,
    "monthlyTransactionLimit": 500000000,
    "customerId": null
  }
}

❌ Error Responses

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

{
  "code": "-9",
  "success": false,
  "message": "Invalid currencyId specified",
  "data": null
}