Onboarding Status Notification
This notification is intended to inform partners when the review status of a corporate merchant onboarding application changes.
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.
Notification events
Pagsmile sends this notification when the corporate merchant review status changes to one of the following states:
PENDING
The onboarding application is under review.
APPROVED
The onboarding application has been approved.
REJECTED
The onboarding application was not approved in its current form and may be corrected and resubmitted.
DECLINED
The onboarding application has been declined. This is a final status, and the onboarding information cannot be updated or resubmitted for the same application.
Notification body
Decrypted biz_data fields
registration_name
string(256)
M
Legal name exactly as shown on the corporation's official registration documents.
registration_code
string(32)
M
Official registration number issued to the corporation by the relevant registration authority. Maximum length: 32 bytes. For a corporation registered in Brazil, this value is its CNPJ.
merchant_id
long
M
Pagsmile-assigned unique identifier of the corporate merchant. Use this value in subsequent merchant-related API requests.
status
integer
M
Current activation status of the corporate merchant account. Supported values:
0 — Initial (not yet activated)
1 — Enabled
2 — Disabled
onboarding_status
integer
M
Current review status of the corporate merchant onboarding application.
1 — APPROVED: The application has been approved.
2 — REJECTED: The application has been rejected.
4 — PENDING: The application has been submitted and is under review.
5— DECLINED:The application has been declined.
created_at
string
M
Date and time when the corporate merchant record was created. Format:
yyyy-MM-dd HH:mm:ss
Plaintext biz_data example
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