Wallet

Load

post/api/v1/wallet/load

Request body

application_keystring required

It is the key of your application on our environment

request_idstring required

It must be one the order_id's that you send to payment request previously.

channel_idstring required

Channel Id

store_idstring required

Store Id

phone_numberstring required

Card Phone Number

barcodestring required

Card Barcode

descriptionstring required

Description

hash_datastring required

This is the calculated hash data for this sample payment request. BASE_64_ENCODE( SHA_256( APPLICATION_KEY + PHONE_NUMBER + BARCODE + AMOUNT + SECRET_KEY ) )

amountstring required

It must be send in integer format by multipliying original value with 100. For example 1 must be 100, 3.42 must be 342

currencystring

Its default is TRY, if you want to use another currency please send it by ISO Code like USD, EUR

modestring

Please send it as 'T' for test purposes, otherwise it will be in production mode.

languagestring

Its default value is tr. If you want to get messages in other languages, please send it. You can find supported languages in the api supported_languages.

Example request

{
  "application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
  "request_id": "9ee3fd53-42f9-4f16-b454-77e6b714c2e9",
  "channel_id": "1111",
  "store_id": "1111",
  "phone_number": "00905531139786",
  "barcode": "1673609266",
  "description": "pratikislem",
  "hash_data": "sadsaas3e412",
  "currency": "TRY",
  "mode": "T",
  "language": "tr"
}

Response

Successful Response

response_codestring

You will get 00 for successful cancel/refund operation, otherwise another response code for the error. You can reach the list of response codes on the Response Codes Api

messagestring

Here is the explanation of response code

Example response

{
  "response_code": "00",
  "message": "Successfully Cancelled"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.