For the complete documentation index, see llms.txt. This page is also available as Markdown.

Query Bank List

Retrieves banks supported for a specified country, currency, and payment route.

Endpoint

POST /remittance/collection/query-banks

Sandbox base URL: https://rem-api-sandbox.pagsmile.com Content-Type: application/json; charset=UTF-8

The request uses the standard Remittance API request envelope. The fields below describe the decrypted biz_data object.

Requirement: M = Mandatory, O = Optional, and C = Conditional. A conditional field is mandatory only when the condition stated in its description applies.

Request body

Decrypted biz_data fields

Field
Type
Requirement
Description

merchant_id

long

M

Pagsmile-assigned unique identifier of the merchant.

business_type

Integer

M

Business category that determines the applicable compliance and processing rules. Supported values: 10 — Goods trade 11 — Service trade 20 — Platform 21 — Independent platform

payment_type

Integer

M

Payment route used to deliver funds to the recipient. See Payment Type for supported values.

currency

string

M

Three-letter ISO 4217 code of the currency supported by the banking route.

Plaintext biz_data example

This example includes mandatory fields and representative optional or conditional fields. Submit fields marked C only when the condition in the field description applies.

{
  "merchant_id": 100398,
  "business_type": 10,
  "payment_type": 1,
  "currency": "USD"
}

Request example

Use the partner_id and app_id assigned to your integration. The values above are placeholders.

Response

The data field in the response envelope is AES-encrypted. Decrypt random_key with your RSA private key, then use the resulting AES key to decrypt data. See Security for implementation details.

Encrypted response example

Decrypted data example

Response data fields

Field
Type
Requirement
Description

bank_id

long

M

Pagsmile-assigned unique identifier of the bank. See Query Bank List to obtain bank identifiers.

bank_name

string

M

Name of the financial institution that holds the account.

payment_type

integer

O

Payment route used to deliver funds to the recipient. See Payment Type for supported values.

country

string(2)

O

Two-letter ISO 3166-1 alpha-2 country code for the country.

Related APIs

Last updated