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

Deposit Notification

This notification is intended for external deposit transactions credited to a partner account. Deposits or transfers initiated from internal accounts can be queried through the Collection and Payment APIs and received through their corresponding notifications.

Notification delivery

Pagsmile sends an HTTP POST request to the webhook URL configured for your integration.

Content-Type: application/json; charset=UTF-8

The notification uses the Webhook Common 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.

Notification event

Pagsmile sends this notification after an external deposit has been recorded and credited to the partner account.

Each notification represents one deposit transaction. Use transaction_id to identify the transaction and process repeated notifications idempotently.

Notification body

Decrypted biz_data fields

Field
Type
Requirement
Description

account_no

string

M

Pagsmile-assigned identifier of the partner virtual account credited by the deposit.

deposit_amount

string

M

Amount of the external deposit, expressed in deposit_currency.

deposit_currency

string

M

Three-letter ISO 4217 code of the currency in which the external deposit was made.

receive_amount

string

M

Amount credited to the partner account, expressed in receive_currency.

receive_currency

string

M

Three-letter ISO 4217 code of the currency credited to the partner account.

fee

string

M

Fee charged for the deposit, expressed in receive_currency.

transaction_id

long

M

Pagsmile-assigned unique identifier of the deposit transaction.

transaction_type

integer

M

Business transaction type. For this notification, the value is 100 . See Transaction Type.

transaction_status

integer

M

Current transaction status. For this notification, the value is 1 . See Transaction Status.

payer_account_name

string

O

Name registered on the external account from which the deposit was sent.

payer_account_number

string

O

Account number of the external account from which the deposit was sent.

payer_bank_name

string

O

Name of the payer's bank.

bank_order_number

string

O

Order or transaction number assigned by the payer's bank to the external transfer.

reference

string

O

Payment reference associated with the external deposit.

created_at

string

M

Date and time when the deposit transaction was created. Format: yyyy-MM-dd HH:​mm:ss.

Plaintext biz_data example

All monetary values are represented as decimal strings. Do not convert these values to binary floating-point numbers when storing or reconciling them.

Acknowledgment

Return any HTTP 2xx status to acknowledge successful receipt. Any other status is treated as a delivery failure.

Failed deliveries are retried up to 7 times after approximately 10 seconds, 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, and 24 hours. Process notifications idempotently because the same event may be delivered more than once.

Related APIs

Last updated