The endpoint and http method information used to load the balance to the user's own wallet with her credit card is given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Transaction/TopupCreditCard |
| Params | Type | Mandatory |
|---|---|---|
| currency_code | string | Yes |
| account_number | string | Yes |
| credit_card_post_type_id | string | No |
| ext_transaction_id | string | Yes |
| wallet_number | string | Yes |
| amount | decimal | Yes |
| hash_key | string | No |
| source_type | string | No |
| channel_type | 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 |
| wallet_info | object |
| 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 (POST) :
{
"ext_transaction_id" :"23132132ABC",
"credit_card_post_type_id" :"sipay_pos_123",
"amount": "100.00",
"currency_code": "TRY",
"account_number" : "565663432432"",
"wallet_number": "4853534863917",
"hash_key" : "",
"source_type" : "",
"channel_type" : ""
}
RESPONSE:
"status": 0,
"code": "100",
"message": "İşlem başarılı",
"payload": {
"transaction_id": "7045392751775050765",
"ext_transaction_id": null,
"transaction_amount": 1.0000,
"transaction_fee_amount": 0.0,
"previous_amount": 0.0,
"wallet_info": {
"id": "525119963898965005",
"name": "",
"account_number": "565663432432",
"account_type": "Personal",
"created_date_utc": "2021-10-20T12:06:49.5937505+00:00",
"number": "276535231",
"phone_country_code": null,
"phone_number": null,
"email": null,
"total_balance": 9227.20,
"monthly_incoming_total": 0.0,
"monthly_outgoing_total": 0.0,
"access_level_status_id": 1,
"access_level_status": "Aktif",
"payment_balance": {
"available": 2.00,
"unavailable": 0.00
},
"cash_balance": {
"available": 9220.00,
"unavailable": 5.20
},
"transaction_limits": {
"max_balance": 200000.0000,
"topup_credit_limit": 159849.6000,
"topup_cash_limit": 159849.6000,
"withdrawal_limit": 200000.0000,
"payment_limit": 196993.9400,
"wallet_to_wallet_limit": 197338.6150
},
"kyc_level_status": null,
"currency_code": "TRY",
"user_kyc_info": null,
"is_topup_default": false,
"tax_number": null,
"loyalty_record_required": false
}
}
}