Skip to main content

PaymentLimitationAmountDto

The PaymentLimitationAmountDto is a data transfer object (DTO) used by the NoWallet API to define and enforce transaction amount limits based on country and method.
This DTO is primarily useful for validating transactions according to regulatory and platform-specific thresholds across different African countries.

JSON Response Example

The code block at the bottom of the paragraph provides a sample JSON payload illustrating how the DTO might look when populated. In this example, a CASHIN transaction is allowed with a minimum amount of 10 and a maximum of 100,000 for the country code CM (Cameroon). This structure helps developers understand the expected format and types of data involved when working with the API.

{
"max_amount": 100000,
"min_amount": 10,
"method": "CASHIN",
"country": "CM"
}

Properties

The Properties table breaks down the individual fields included in the DTO. Each property is listed with its name, data type, whether it is required, and a brief description of its purpose:

  • max_amount and min_amount define the upper and lower thresholds allowed for the transaction.
  • method specifies the transaction type (e.g., CASHIN, CASHOUT).
  • country refers to the ISO 3166-1 alpha-2 country code representing where the limitation applies.
NameTypeRequiredRestrictionsDescription
max_amountnumbertruenonetransaction maximum amount
min_amountnumbertruenonetransaction minimum amount
methodstringtruenonetransaction method of limitation
countrystringtruenonetransaction country code of limitation

These fields are all mandatory and ensure that the transaction stays within allowed parameters.

Enumerated Values

The enumerated values section specifies the accepted values for the method and country fields. For method, three types are supported: CASHIN, MERCHANT, and CASHOUT, representing different transaction flows. For country, a comprehensive list of supported African countries is provided, using their two-letter ISO codes.

PropertyValue
methodCASHIN
methodMERCHANT
methodCASHOUT
countryDZ
countryAO
countryBJ
countryBW
countryBF
countryBI
countryCM
countryCV
countryCF
countryTD
countryKM
countryCG
countryCD
countryCI
countryDJ
countryEG
countryGQ
countryER
countryET
countryGA
countryGM
countryGH
countryGN
countryGW
countryKE
countryLS
countryLR
countryLY
countryMG
countryMW
countryML
countryMR
countryMU
countryYT
countryMA
countryMZ
countryNA
countryNE
countryNG
countryRE
countryRW
countryST
countrySN
countrySC
countrySL
countrySO
countryZA
countrySS
countrySD
countrySZ
countryTZ
countryTG
countryTN
countryUG
countryEH
countryZM
countryZW

This section ensures that developers implement the API using only valid predefined options, reducing errors and promoting interoperability across systems that depend on standardized country and method codes.

Was this page helpful?