Skip to content

Add check for BRL ramping amount #518

@ebma

Description

@ebma

Context

Subaccounts for users with KYC level 1 have ramping limits of 10,000 BRL. Ramping more than this is not allowed. The limit resets every 30 days in a rolling window.

  • Used limits of an account can be queried from this endpoint.
  • The overall limits for the KYC level of an account can be queried from this endpoint. It's included in kyc > limits.

TODO

Before kicking off the offramping for BRL users and after checking the CPF/CNPJ: Check the accumulated limits of the respective account. If the entered amount of BRL is above the limit or would exceed the limit with the recently ramped amount, show an error message and don't proceed with the offramp process.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions