Custom noitification urls¶
It’s posible to have notifications delivered to a custum endpoint url. In order to do so one needs to set a dedicated config parameter custom_notify_url with value of intended custom endpoit url
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | { "trans_ext_id": "test_exmaple_ext_id", "merchant_id": "19", "invoice_required": false, "test": "True", "next_url": "https://sympatia.onet.pl", "secret": "<secret-key>", "config":{ "custom_notify_url": "<custom-notification-url>" } "payment":{ "channel_id": "<channel-id>", "amount": "0", "currency": "PLN" }, "articles":[{ "prod_id": "511", "sap_index": "45000437", "vat_rate": "23", "name": "test product", "quantity": "1", "price": "100", }], "customer":{ "ext_id": "1234qwera", "name": "test", "firstname": "tester", "lastname": "testowski", "email": "test@test.pl", "street": "blotna", "city": "krakow", "phone": "48519532621", "postcode": "31-620" }, } |