Skip to main content

Perform an internal transaction

POST 

/v1/baas/transactions/internal-transfer

Starts an internal transaction between 2 wallets controlled by the customer.

Request​

Body

required

Internal transaction initialization data

    sourceWalletId stringrequired
    referenceWalletId stringrequired
    amount stringrequired
    asset stringrequired

Responses​

The internal transaction successfully executed.

Schema

    traceId string
    message string

    data

    object

    parentTransactionId stringrequired

    Parent transaction ID (use with GET /wallet-transactions?parentTransactionId=X to find both sides)

    type stringrequired

    Transaction type

    status stringrequired

    Possible values: [PENDING, COMPLETED, FAILED, CANCELLED, PROCESSED]

    Transaction status

    amount stringrequired

    Transfer amount

    asset stringrequired

    Asset code

    source

    object

    required

    Source wallet (funds debited)

    walletId stringrequired

    Wallet ID

    transactionId stringrequired

    Transaction ID (use with GET /wallet-transactions/:id for lookup)

    destination

    object

    required

    Destination wallet (funds credited)

    walletId stringrequired

    Wallet ID

    transactionId stringrequired

    Transaction ID (use with GET /wallet-transactions/:id for lookup)

    createdAt date-timerequired

    Timestamp when the transaction was created

Loading...