Query Webhook URL
Retrieves the webhook endpoints currently configured for the partner.
Endpoint
POST /remittance/webhook/query-webhook-list
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.
Request body
Decrypted biz_data fields
partner_id
string
M
Pagsmile-assigned unique identifier of the partner.
webhook_id
long
O
Pagsmile-assigned unique identifier of the configured webhook endpoint.
Plaintext biz_data example
{
"partner_id": "200000001000001",
"webhook_id": 100001,
"webhook_type": 1
}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
webhook_id
long
O
Pagsmile-assigned unique identifier of the configured webhook endpoint.
webhook_url
string
O
HTTPS callback URL to which Pagsmile sends notifications.
webhook_desc
string
O
Human-readable description used to identify the webhook configuration.
create_time
string
O
Date and time when the webhook configuration was created.
Format: yyyy-MM-dd HH:mm:ss.
Related APIs
Last updated