Transaction create

Once your first wallet is created, you can create different types of transactions.

Transactions types

  • Vita sent (sending money from a wallet to a Vita Wallet registered user)

  • Withdrawal (money withdrawal from a wallet to a bank account in the supported countries)

Transaction structure

Field

Description

sender_wallet

Information of the wallet that sends money, with its merchant identification token, Vita Business uuid and balance updated to date

status

Transaction status

order

Unique merchant payment id

currency

Transaction currency

category

Transaction type

amount

Transaction amount without fee

total

Transaction total with fee included

fee_value

Fee value

total_fee

Total fee

created_at

Transaction date

Transaction life cycle

A transaction can have different statuses:

  1. Started

  2. Processed

  3. Pending

  4. Completed o denied

First transaction status is started, followed by processed and pending, once transactions reaches pending status it proceeds to execute one of the possible final status, completed or denied.

Some transaction types, like purchase and sent reach their final status immediately.

The endpoint to create any type of transaction is always the same, following the REST architecture, transaction_type field in the request body allows creation of the desired type of transaction.

Última actualización