Forms
This is the way to know the fields needed to make a withdrawal to a certain country (keep in mind that these fields may change at any time)
Get Withdrawal Rules
GET
api.vitawallet.io/api/businesses/withdrawal_rules
This method allows obtaining the form with the necessary fields to make a withdrawal to a certain country.
Description
A form is composed of some keys with its meaning
Key | Description |
---|---|
type | Defines the type of field, allowed values are: |
name | Field name |
key | Field key, musst be sent on the withdrawal request body |
options | Field options if type is select, some of these options are subject to other fields values. On this example, "Banco Sofitasa" is available if transfer_type has the value "Pago movil" or "Transferencia bancaria" |
min | Minimum number of characters the field must contain |
max | Maximum number of characters the field must contain |
when | Field presence validation on the form { "key": "beneficiarytype", "value": "Individual" } This field is required only when the field "beneficiary_type" has the value "Individual" |
Warning Keep in mind that the fields of a form can change, we recommend creating your application taking this in consideration
SDK
To know the withdrawal forms for a specific country, you can use the method getWithdrawalRules from rules provider.
Última actualización