# Supported Bank List Query

Required for Cash and Banktransfer methods

# Request Base URL

Test Environment : https://gateway-test.transfersmile.com

Prod Environment : https://gateway.transfersmile.com

# EndPoints

/trade/bank-list

# Request Header

Parameter Required Description
Content-Type recommend application/json
Authorization yes Basic
Base64(app_id:security_key)

# Request Body (JSON format)

Parameter Type Required Max Length(or Default Value) Description
app_id string yes 32 created app's id at dashboard
timestamp string yes 19 yyyy-MM-dd HH:mm:ss
method string yes 32 ​Supported Method(Cash、BankTransfer、Khipu)

# Request Sample

curl --location --request POST 'https://gateway.transfersmile.com/trade/bank-list' \
--header 'Authorization: Basic Base64(appid:secret_key)' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "app_id",
    "timestamp": "{{datetime}}",
    "method": "{{method}}"
}'

# Http Response (JSON format)

Parameter Type Description
code string return code
msg string return message
data.bank_id string bank id: used for parameter "bank"
data.bank_name string bank name
data.language_code string language code
data.channel string channel
data.logo string url of bank Log
data.currency string currency
data.min_amount string min amount

# Return Code (Success)

{
  "code": "10000",
  "msg": "Success",
  "data"."bank_id": "{{bank_id}}",
  "data"."bank_name": "{{bank_name}}",
  "data"."language_code": "{{language_code}}",
  "data"."channel": "{{channel}}",
  "data"."logo": "{{logo}}",
}

# Return Code (Fail)

{
  "code": "40002",
  "msg": "Business Failed",
  "sub_code": "invalid-signature",
  "sub_msg": "invalid signature"
}