curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/webhook/create' \
--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": {
"webhook_type": 1,
"webhook_url": "http://pay.com/issuing/applyCardNotify/notify",
"webhook_desc":"BRL"
}
}'
{
"code": "10000",
"msg": "Success",
"data": {
"webhook_id": 100011
},
"random_key":"sdddddd2ww12dd",
"sign_type": "RSA",
"app_id": "2017051914172236111"
}
{
"code": "40002",
"msg": "Business Failed",
"sub_code": "invalid-signature",
"sub_msg": "invalid signature"
}