13. Money Transfer (Wallet)

You can use this service to perform money transfers between wallets.

Money Transfer with Wallet 'Id'

POST {{WalletUrl}}/api/v1/wallet/transfer

Note: To use this service, it is mandatory to include the apikeypublic and apiclientpublic parameters in the Header field.

WalletAPI Address

The parameters that need to be sent to the service are as follows:

Parameter
Type
Compolsory
Description

apikeypublic

string

Yes

The general API key required to use the service.

apiclientpublic

string

Yes

The client ID required for service access.

{
  "SourceWalletId": "eb6d76b1-eddc-4ce4-8538-93696ff15fa2",
  "DestinationWalletId": "1fef5f3f-3c7b-4aa7-b0dd-713ba391765d",
  "Amount": "10",
  "Description": "transfer",
  "ExternalReference": "{{$guid}}"
}

Service Request

Parameter
Type
Description

SourceWalletId

Guid

The identity information of the account from which the money will be withdrawn.

DestinationWalletId

Guid

The identity information of the account to which the money will be transferred.

Amount

decimal

The amount to be transferred.

Description

string

The description of the relevant transaction.

Service Response

Parameter
Type
Description

IsFailure

bool

Indicates whether the transaction has failed.

IsSuccess

bool

Indicates whether the transaction was successful.

Errors

Array

Contains the error messages that occurred during the transaction.

Value

Array<Items>

Contains the data set returned as a result of the transaction.

Service Response (Value)

Parameter
Type
Description

TransferId

Guid

Transfer transaction identifier information

SourceTransactionId

Guid

Identifier information of the transaction generated for the source wallet account

DestinationTransactionId

Guid

Identifier information of the transaction generated for the recipient wallet account

SourceWalletId

Guid

Source wallet identifier information

DestinationWalletId

Guid

Recipient wallet identifier information

SourceWalletBalanceAfterTransaction

decimal

Post-transaction balance of the source wallet

DestinationWalletBalanceAfterTransaction

decimal

Post-transaction balance of the recipient wallet

Last updated