Query Beneficiary Detail
Retrieves the current details of a specific beneficiary.
Endpoint
POST /remittance/payment/query-beneficiary-detail
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.
Encrypt biz_data, encrypt the AES key into random_key, and sign the request according to the Common request specification.
Request body
Decrypted biz_data fields
merchant_id
Long
M
Pagsmile-assigned unique identifier of the merchant.
beneficiary_id
Long
O
Pagsmile-assigned unique identifier of the payment beneficiary.
currency
string
O
Three-letter ISO 4217 code of the currency in which the beneficiary values are denominated.
payment_type
integer
O
Payment route used to deliver funds to the recipient. See Payment Type for supported values.
account_no
string
O
Bank account number of the beneficiary.
choose one of beneficiary_id and [currency、payment_type、account_no]
Plaintext biz_data example
{
"merchant_id": 100398,
"beneficiary_id": 100001,
"currency": "USD",
"payment_type": 1,
"account_no": "1234567890"
}Request example
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
beneficiary_id
long
M
Pagsmile-assigned unique identifier of the payment beneficiary.
merchant_id
long
M
Pagsmile-assigned unique identifier of the merchant associated with the returned record.
payee_name
string
M
Name of the payee or withdrawal beneficiary.
bank_country
string
M
Two-letter ISO 3166-1 alpha-2 code of the country where the bank account is held.
receive_currency
string
M
Three-letter ISO 4217 code of the currency credited to the recipient.
payment_type
integer
M
Payment route used to deliver funds to the recipient. See Payment Type for supported values.
payment_rail
string
M
Payment rail used to route the beneficiary payment.
Supported values:
DEFAULT
SPI_PIX
SPI_ISPB
payee_values
object
M
Country- and payment-route-specific beneficiary account details.
account_no
string
M
Bank account number of the beneficiary.
remark
string
O
Optional note supplied by the merchant for operational review and reconciliation.
Related APIs
Last updated
Was this helpful?