# Registro de lista de Bancos Disponibles

Requerido para los métodos Efectivo y transferencias bancarias

# Request Base URL

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

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

# EndPoints

/trade/bank-list

# Request Header

Parameter Requerido Descripción
Content-Type recomendado application/json
Authorization Si Basic
Base64(app_id:security_key)

# Request Body (JSON formato)

Parameter Tipo Requerido Max Extensión(o Valor por defecto) Descripción
app_id string Si 32 App ID creada en dashboard
timestamp string Si 19 yyyy-MM-dd HH:mm:ss
method string Si 32 ​Supported Method(Cash、BankTransfer、Khipu)

# Ejemplo de Request

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 formato)

Parameter Tipo Descripción
code string código regresado
msg string mensaje regresado
data.bank_id string ID de banco: usado en parámetro "bank"
data.bank_name string Nombre de banco
data.language_code string lenguaje de código
data.channel string canal
data.logo string url del Log del banco
data.currency string moneda
data.min_amount string monto minimo

# Return Code (Exitoso)

{
  "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 (Fallido)

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