Account
WebhookPut
https://sandbox-api.srpago.com/v1/webhook
Actualiza la URL de notificaciones para transacciones rechazadas.
headers
AuthorizationBearer Token
Content-Typeapplication/json
body
{"url":"https:\/\/srpago.requestcatcher.com\/sandbox/"}
Example Request
curl --location --request PUT 'https://sandbox-api.srpago.com/v1/webhook/MQ==' \
--header 'Content-Type: application/json' \
--data-raw '{"url":"https:\/\/srpago.requestcatcher.com\/sandbox/"}'
Example Response
{
"success": true,
"result": {
"first_name": "JORGE",
"last_name": "RIVERO",
"surname": "VALENCIA",
"email": "[email protected]",
"username": "[email protected]",
"active": true,
"rfc": "XAXX010101000",
"create_time": "2015-11-18T16:33:26-06:00",
"address": [
{
"street": "DESIERTO DE LOS LEONES 67",
"town": "SAN ANGEL",
"zip_code": "01000",
"city": "ALVARO OBREGON"
}
],
"phones": [
{
"label": "main",
"number": "5530002900"
}
],
"ecommerce": false,
"trustLevel": 0,
"company": {
"bussines_id": 12,
"name": "SR ECOMMERCE PAYMENT",
"rfc": "XAXX010101000",
"web": "www.miempresa.com",
"monthlySales": "1000",
"averagePrice": ""
},
"ecom_id": "999383939388839000001ABC=",
"fullProfile": true,
"emailSent": true,
"fixedCommission": "0.00",
"variableCommission": "2.00",
"hoursReversal": 10000,
"clabe": "646420125500105719",
"thirdparty_accounts": true,
"automatic_withdrawal": 1
}
}