Loyalty Payment

URL

The endpoint and http method information regarding the product payment made to a corporate account via an individual user account is given below.

HTTP Method URL
POST /v1/Transaction/Payment

Request Params

Params Type Mandatory
sender_account_number string Yes
sender_wallet_number string Yes
ext_order_id string Yes
business_code decimal Yes
currency_code string Yes
amount decimal Yes
description string Yes
receiver_wallet_number decimal Yes
hash_key string Yes
loyalty object No
earn int No
burn int No
earn_additional_data string No
burn_additional_data string No

Response Params

Params Type
status int
code string
message string
payload obje[]
transaction_id string
transaction_amount decimal
transaction_fee decimal
charged_amount string
ext_order_id string
business_code string
business_name string
friendly_name string
receiver_account_number string
receiver_wallet_number string
sender_wallet_info obje
id string
name string
account_number string
account_type string
created_date_utc string
number string
phone_country_code string
phone_number string
email string
total_balance decimal
monthly_incoming_total decimal
monthly_outgoing_total decimal
access_level_status_id int
access_level_status string
payment_balance obje
available string
unavailable string
cash_balance obje
available decimal
unavailable decimal
transaction_limits obje
max_balance string
topup_credit_limit string
topup_cash_limit string
withdrawal_limit string
payment_limit string
wallet_to_wallet_limit string
kyc_level_status string
currency_code string
user_kyc_info string
is_topup_default bool
tax_number string
loyalty_record_required bool
loyalty_burn_record_required bool
burn_transaction_id string

REQUEST (POST):

{
    "sender_account_number": "2026",
    "sender_wallet_number": "1886928750",
    "ext_order_id": "100220222244",
    "business_code": "krc",
    "currency_code": "TRY",
    "amount": 100,
    "description": "ÖDEME TESTİ",
    "receiver_wallet_number": "925469893",
    "hash_key": "",
      "loyalty": {
      "earn": 1,
      "burn": 0
      "earn_additional_data": "string",
      "burn_additional_data": "string"
      }
}

RESPONSE:

{
    "status": 0,
    "code": "100",
    "message": "İşlem başarılı",
    "payload": {
        "transaction_id": "5743567406780509197",
        "transaction_amount": 100.0000,
        "transaction_fee": 0.000000,
        "charged_amount": 100.000000,
        "ext_order_id": "100220222244",
        "business_code": "",
        "business_name": "",
        "friendly_name": "",
        "receiver_account_number": "KRC010203",
        "receiver_wallet_number": "925469893",
        "sender_wallet_info": {
            "id": "6374097193135631373",
            "name": "",
            "account_number": "2026",
            "account_type": "Personal",
            "created_date_utc": "2022-01-03T16:02:41.196973+00:00",
            "number": "1886928750",
            "phone_country_code": null,
            "phone_number": null,
            "email": null,
            "total_balance": 44.80,
            "monthly_incoming_total": 0.0,
            "monthly_outgoing_total": 0.0,
            "access_level_status_id": 1,
            "access_level_status": "Aktif",
            "payment_balance": {
                "available": 44.80,
                "unavailable": 0.00
            },
            "cash_balance": {
                "available": 0.00,
                "unavailable": 0.00
            },
            "transaction_limits": {
                "max_balance": 1250.0000,
                "topup_credit_limit": 1250.0000,
                "topup_cash_limit": 1250.0000,
                "withdrawal_limit": 0.0000,
                "payment_limit": 1250.0000,
                "wallet_to_wallet_limit": 0.0000
            },
            "kyc_level_status": null,
            "currency_code": "TRY",
            "user_kyc_info": null,
            "is_topup_default": false
        }
        "loyalty_burn_record_required": false,
        "burn_transaction_id": null
    }
}