{% extends 'bundles/NelmioApiDocBundle/SwaggerUi/base.html.twig' %} {% block content %}
Webhooks are HTTP notification send after action took place in the system.
If subscribed the merchant will receive this HTTP notification.
For security reasons each merchant can provide Paynetics with headers to be send with each notification.
Furthermore each merchant can limit the access by IPs to notification url provider.
For sandbox: 51.15.250.183
For production: 3.64.221.236
{
"action": "CARD.NEW",
"payload": {
"user": "ba70d30e-8c89-4bf8-8ccf-423ce49c41d9",
"card": "bde0b2bd-d0db-451c-9ccf-4e6827aedf4e"
}
}
{ "action": "PREAUTHORIZATION", "payload": { "status": 1, "transaction": "974d5f06-0469-4b5e-b167-8ae0ff77ac25", "reference": "123456", "amount": 10, "currency": "BGN", "date": "2021-01-01 00:00:00", "user": "e4fdc99b-8fcc-4fbf-910f-7533e6a856a0", "card_number_masked": "510077XXXXXX0022", "response_code": "00" } }
{ "action": "PURCHASE", "payload": { "status": 1, "transaction": "974d5f06-0469-4b5e-b167-8ae0ff77ac25", "reference": "123456", "amount": 10, "currency": "BGN", "date": "2021-01-01 00:00:00", "user": "e4fdc99b-8fcc-4fbf-910f-7533e6a856a0", "card_number_masked": "510077XXXXXX0022", "response_code": "00" } }