Withdrawal
Allows to make withdrawals from a wallet to a bank account
Use case
Consider the client wishes to withdraw their money from the e-commerce to their personal bank account. For this, Vita Business provides the withdrawal service, which discounts money from the client's wallet and sends it to the bank account.
Keep in mind that the fields required by the endpoint to make a withdrawal to a country are now dynamic, you can see more information in the forms section.
Create Withdrawal Transaction
POST
api.vitawallet.io/api/businesses/transactions
This method allows you to create a withdrawal type transaction from a wallet, the amount will be reflected negatively in the wallet's balance.
Request Body
url_notify*
string
HTTPS url for IPN sending
beneficiary_document_type
string
beneficiary_document_number
string
Recipient document number Chile You can send this field in one of these formats: 11.111.111-1 11.111.111-K 11111111K Othe countries Only numbers
account_type_bank
string
Bank account type Supported types: Other than Mexico CA Savings account CC Checking account CLABE only for Mexico
account_bank
string
Bank account number, only NUMBERS, the digits count is verified according to the bank.
bank_code
string
Destination bank code.
beneficiary_email
string
Recipient email address
beneficiary_address
string
Recipient residence address
beneficiary_last_name
string
Recipient Last Name
beneficiary_first_name
string
Recipient First Name
purpose_comentary*
string
Transaction description
purpose*
string
Transaction purpose code
country*
string
Withdrawal country ISO code Supported countries: CL Chile CO Colombia MX Mexico VE Venezuela
currency*
string
[clp, usd]
order*
string
Unique payment order id
amount*
number
Transaction amount Min amount: 1000 CLP
transactions_type*
string
withdrawal
wallet*
string
Sender wallet UUID
city
string
phone
string
Recipient phone number
Note:
For security issues, is not possible to create more than one transaction every 5 seconds. You must consider this validation for your integration.
Forms
Non required fields must be obtained from /withdrawal_rules method on the forms section, since can be changed anytime.
SDK
To make a withdrawal, the wallets module receives the uuid of the wallet with which you want to withdraw the money using the withdrawal method.
Minimum withdraw amount
The minimum amount allowed for a withdrawal is 1000 CLP
Última actualización