The endpoint and http method information used to transfer money between wallets connected to the same account are given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Transaction/TransferToVirement |
| Params | Type | Mandatory | |
|---|---|---|---|
| sender_wallet_number | string | Yes | Sender Wallet Number |
| amount | decimal | Yes | Amount |
| currency_code | string | Yes | Currency Code ("TRY") |
| description | string | No | Description |
| receiver_wallet_number | string | Yes | Receiver Wallet Number |
| hash_key | string | No | Hash Key |
| ext_transaction_id | string | Yes | Transaction ID |
| Params | Type | |
|---|---|---|
| status | int | Status |
| code | string | Code |
| message | string | Message |
| payload | object | Payload |
| transaction_id | string | Transaction Id |
| transaction_amount | decimal | Transaction Amount |
| receiver_first_name | string | Receiver First Name |
| receiver_last_name | string | Receiver Last Name |
| receiver_account_number | string | Receiver Account Number |
| receiver_wallet_number | string | Receiver Wallet Number |
| sender_wallet_info | object | Sender Wallet Info |
| id | string | ID |
| name | string | Name |
| account_number | string | Account Number |
| account_type | string | Account Type |
| created_date_utc | string | Created Date UTC |
| number | string | Wallet Number |
| phone_country_code | string | Phone Country Code |
| phone_number | string | Phone Number |
| string | ||
| total_balance | decimal | Total Balance |
| monthly_incoming_total | decimal | Monthly Incoming Total |
| monthly_outgoing_total | decimal | Monthly Outgoing Total |
| access_level_status_id | int | Access Level Status ID |
| access_level_status | string | Access Level Status |
| payment_balance | object | Payment Balance |
| available | decimal | Payment Balance / Available |
| unavailable | decimal | Payment Balance / Unavailable |
| cash_balance | object | Cash Balance |
| available | decimal | Cash Balance / Available |
| unavailable | decimal | Cash Balance / Unavailable |
| transaction_limits | object | Transaction Limits |
| max_balance | decimal | Maximum Balance |
| topup_credit_limit | decimal | Topup Credit Limit |
| topup_cash_limit | decimal | Topup Cash Limit |
| withdrawal_limit | decimal | Withdrawal Limit |
| payment_limit | decimal | Payment Limit |
| wallet_to_wallet_limit | decimal | Wallet To Wallet Limit |
| kyc_level_status | string | KYC Level Status |
| currency_code | string | Currency Code |
| user_kyc_info | string | User KYC Info |
| is_topup_default | boolean | Is Topup Default ? |
| tax_number | string | Tax Number |
| loyalty_record_required | boolean |
REQUEST:
{
"sender_account_number": "BARISYKT",
"sender_wallet_number": "578678562786875",
"amount": 5,
"currency_code": "TRY",
"description": "",
"receiver_wallet_number": "5782782452454",
"hash_key": "",
"ext_transaction_id": "5436543453"
}
SUCCESSFUL RESPONSE:
{
"status": 0,
"code": "100",
"message": "İşlem başarılı",
"payload": {
"transaction_id": "2501010966820023309",
"transaction_amount": 5.0,
"receiver_first_name": "",
"receiver_last_name": "",
"receiver_account_number": "BARISYKT",
"receiver_wallet_number": "5782782452454",
"sender_wallet_info": {
"id": "1095613091072830477",
"name": "",
"account_number": "BARISYKT",
"account_type": "Personal",
"created_date_utc": "2022-08-08T07:58:18.8142755+00:00",
"number": "TR79528191508259464C94Q9TX",
"phone_country_code": null,
"phone_number": null,
"email": null,
"total_balance": 218.98,
"monthly_incoming_total": 0.0,
"monthly_outgoing_total": 0.0,
"access_level_status_id": 1,
"access_level_status": "Aktif",
"payment_balance": {
"available": 0.00,
"unavailable": 0.00
},
"cash_balance": {
"available": 218.58,
"unavailable": 0.40
},
"transaction_limits": {
"max_balance": 200000.0000,
"topup_credit_limit": 199913.0000,
"topup_cash_limit": 199913.0000,
"withdrawal_limit": 200000.0000,
"payment_limit": 199819.9800,
"wallet_to_wallet_limit": 199826.9900
},
"kyc_level_status": null,
"currency_code": "TRY",
"user_kyc_info": null,
"is_topup_default": false,
"tax_number": null,
"loyalty_record_required": false
}
}
}
Fail Response:
{
"status": 2,
"code": "303",
"message": "Gönderici cüzdan ile alıcı cüzdan aynı hesaba tanımlı olmalıdır",
"payload": null
}