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.

circle-exclamation

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

Name
Type
Description

url_notify*

string

HTTPS url for IPN sending

beneficiary_document_type

string

Recipient document tyoe Note: visit the forms to get the available document types depending on the withdrawal country.

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

Note: visit the forms to get the bank account types depending on the withdrawal country.

account_bank

string

Bank account number, only NUMBERS, the digits count is verified according to the bank.

bank_code

string

Destination bank code.

Note: visit the forms to get the available bank codes depending on the withdrawal country.

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

Recipient city Note: visit the forms to get the available bank codes depending on the withdrawal country.

phone

string

Recipient phone number

Note: visit the forms to get the required fields depending on the withdrawal country.

circle-exclamation

Forms

Non required fields must be obtained from /withdrawal_rules method on the forms section, since can be changed anytime.

Formschevron-right

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.

circle-exclamation

Última actualización