11. Withdrawal (Alias)

Information must be sent through this service to initiate a withdrawal from an account using the specified Alias and to process the withdrawn amount.

Deposit with Wallet 'Alias' Information

POST {{WalletUrl}}/api/v1/wallet/withdraw/by/alias

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
Required
Description

apikeypublic

string

Yes

It is the general key information used to verify API access.

apiclientpublic

string

Yes

It is the key information that identifies the client and provides authentication during the service call.

{
  "Alias": "1234567890",
  "Amount": 1,
  "Description": "description",
  "ExternalReference": "{{$randomFullName}}"
}

Service Request

Parameter
Type
Description

Amount

decimal

The amount to be withdrawn.

Description

string

The description of the relevant transaction.

Alias

string

The account number assigned to the Wallet (1234567890).

ExternalReference

string

The transaction tracking number. You can use this information to track the transaction.

{
    "Value": {
        "Id": "30bac1c0-ad6b-4c50-a52e-1b34f9b487a7",
        "WalletOwnerId": "b5708099-be62-4d34-af06-27132082eb78",
        "Name": "juzdan1",
        "Alias": "8203287943",
        "MerchantId": 2071,
        "RegionId": 1,
        "CurrencyCode": "TRY",
        "Balance": 0.00,
        "AvailableBalance": 0.00,
        "TotalGiftBalance": 0,
        "BlockedBalance": 0,
        "FrozenUntil": null,
        "IsFrozen": false,
        "IsDeleted": false,
        "CreatedAt": "2025-04-24T09:05:47.980805Z",
        "UpdatedAt": "2025-04-27T14:37:09.6652065Z",
        "TransactionId": "63db89c9-8b1b-40fc-a9af-0bacd95e1db3"
    },
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false
}

Service Response

Parameter
Type
Description

IsFailure

bool

Indicates whether an error occurred during the transaction.

IsSuccess

bool

Indicates that the service has been successfully completed.

Errors

Array

A list containing the error details encountered during the transaction.

Value

Array<Items>

Contains the main data set returned from the service.

Service Response (Value)

Parameter
Type
Description

Id

Guid

It is the unique identifier generated by the system for the record.

WalletOwnerId

Guid

It is the unique identifier of the relevant wallet owner.

Name

string

It is the name information of the wallet owner.

Alias

string

It is the alias information representing the wallet.

MerchantId

Guid

It is the identity of the member business associated with the wallet.

RegionId

string

It is the code of the region where the wallet owner is located.

CurrencyCode

string

It is the currency code used by the wallet for transactions.

Balance

decimal

It is the total balance amount in the wallet.

AvailableBalance

decimal

It is the available, spendable balance information.

TotalGiftBalance

decimal

It shows the total gift balance amount in the wallet.

BlockedBalance

decimal

It is the blocked, unusable balance amount.

FrozenUntil

DateTime

It is the end date until which the wallet will remain frozen.

IsFrozen

bool

It indicates whether the wallet is frozen or not.

IsDeleted

bool

It indicates whether the record has been deleted.

CreatedAt

DateTime

It is the timestamp of record creation.

UpdatedAt

DateTime

It is the timestamp of the last update made on the record.

TransactionId

Guid

It is the unique identifier number of the transaction.

Last updated