The endpoint and http method information for the refund to the disposable balance is given below.
The amount is transferred to the available payment balance.
HTTP Method | URL |
---|---|
POST | /v1/Transaction/CashBackCredit |
Params | Type | Mandatory |
---|---|---|
ext_transaction_id | string | Yes |
sender_account_number | string | Yes |
sender_wallet_number | string | Yes |
amount | decimal | Yes |
currency_code | string | Yes |
description | string | No |
receiver_wallet_number | string | Yes |
source_type | string | No |
channel_type | string | No |
hash_key | string | No |
Params | Type |
---|---|
status | int |
code | string |
message | string |
payload | Object[] |
transaction_id | string |
ext_transaction_id | string |
transaction_amount | decimal |
transaction_fee_amount | decimal |
previous_amount | decimal |
request_id | string |
wallet_info | object |
id | string |
tenant_id | string |
name | string |
account_number | string |
account_type | string |
created_date_utc | datetime |
number | string |
phone_country_code | string |
phone_number | string |
string | |
total_balance | decimal |
monthly_incoming_total | decimal |
monthly_outgoing_total | decimal |
access_level_status_id | int |
access_level_status | string |
payment_balance | object |
available | decimal |
unavailable | decimal |
cash_balance | object |
available | decimal |
unavailable | decimal |
transaction_limits | object |
max_balance | decimal |
topup_credit_limit | decimal |
topup_cash_limit | decimal |
withdrawal_limit | decimal |
payment_limit | decimal |
wallet_to_wallet_limit | decimal |
kyc_level_status | string |
currency_code | string |
user_kyc_info | string |
is_topup_default | boolean |
tax_number | string |
loyalty_record_required | boolean |
REQUEST:
{
"ext_transaction_id":"4897204600289487885",
"sender_account_number": "0153253257047385",
"sender_wallet_number": "1250386995",
"amount": 1,
"currency_code": "TRY",
"description": "CASH BACK TEST",
"receiver_wallet_number": "637606074",
"source_type": "",
"channel_type": "",
"hash_key": ""
}
SUCCESSFUL RESPONSE:
{
"status": 0,
"code": "100",
"message": "İşlem başarılı",
"payload": {
"transaction_id": "895193944360218541069",
"ext_transaction_id": "24413144832134321321",
"transaction_amount": 2.0,
"transaction_fee_amount": 0.000000,
"previous_amount": 0.0,
"request_id": "0",
"wallet_info": {
"id": "6256794445262550404109",
"tenant_id": "5",
"name": "",
"account_number": "0153253257047385",
"account_type": "Kurumsal",
"created_date_utc": "2022-08-09T07:02:47.0163827+00:00",
"number": "585468781092",
"phone_country_code": null,
"phone_number": null,
"email": null,
"total_balance": 163.50,
"monthly_incoming_total": 0.0,
"monthly_outgoing_total": 0.0,
"access_level_status_id": 1,
"access_level_status": "Aktif",
"payment_balance": {
"available": 3.00,
"unavailable": 0.00
},
"cash_balance": {
"available": 42.40,
"unavailable": 118.10
},
"transaction_limits": {
"max_balance": 200000.0000,
"topup_credit_limit": 199951.0000,
"topup_cash_limit": 199951.0000,
"withdrawal_limit": 200000.0000,
"payment_limit": 200000.0000,
"wallet_to_wallet_limit": 199976.5000
},
"kyc_level_status": null,
"currency_code": "TRY",
"user_kyc_info": null,
"is_topup_default": false,
"tax_number": null,
"loyalty_record_required": false
}
}
}