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

Add Withdrawal Account

Creates a reusable withdrawal account for a merchant and validates the destination bank details.

Endpoint

POST /remittance/withdrawal/add-withdrawal-account

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 on whose behalf the request is submitted.

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 Pay Type for supported values.

account_type

integer

M

Type of destination bank account. See Account Type for supported values.

payee_type

integer

M

Classification of the payee or beneficiary. See Payee Type for supported values.

payee_values

object

M

Country- and payment-route-specific beneficiary account details.

remark

string

O

Optional note supplied by the merchant for operational review and reconciliation.

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.

Request example

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

Response

Response data fields

Field
Type
Requirement
Description

payee_id

long

O

Unique identifier of the payee or withdrawal beneficiary.

Last updated