Query Webhook URL

Request URL

POST https://rem-api-sandbox.pagsmile.com/remittance/webhook/query-webhook-list

Request Header

NameTypeDescription

Content-Type*

string

application/json; charset=UTF-8

Request Body

Refer to : common

Biz_data :

NameTypeDescription

sub_partner_id*

string

Sub partner ID

webhook_id

long

Webhook Id

webhook_type

integer

Webhook type,

Refer to :Webhook Type

if 'sub_partner_id' is empty,please input the value of 'partner_id'

Response

Response

{
    "code": "10000",
    "msg": "Success",
    "data": {
        "webhook_id": 100011,
        "webhook_type":1,
        "webhook_url":"",
        "webhook_desc":"",
        "create_time":""
    },
    "random_key":"sdddddd2ww12dd",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
NameTypeDescription

webhook_id

long

webhook ID

webhook_type

integer

webhook type

webhook_url

string

webhook url

webhook_desc

string

webhook url

create_time

string

create time

Example


curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/webhook/query-webhook-list' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "2017051914172236111",
    "partner_id":"000000000000001",
    "sub_partner_id":"",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC6",
    "sign_type": "RSA",
    "biz_data": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8ljJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8l"
}'

Note: 201************11 is pagsmile's test app id for sandbox

Please use your own app_id when testing.

Last updated