List of events that you can receive:
Event name | Description |
---|---|
qr.created | Payment link has created |
qr.updated | Payment link has updated |
qr.inprogress | Payment link is in-progress used |
qr.expired | Payment link has expired |
qr.custom | Payment link has receive a custom event |
qr.payment | Payment has done |
qr.destroyed | Payment link has destroyed |
Example of events:
{
"type": "qr.created",
"timestamp": 1679405358026,
"id_merchant": "9d3d5d01-f70e-4d56-b05b-2cc14edabcf9",
"id_session": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjlkM2Q1ZDAxLWY3MGUtNGQ1Ni1iMDViLTJjYzE0ZWRhYmNmOSIsImlhdCI6MTY3OTQwNTM1OCwiZXhwIjoxNzEwOTQxMzU4fQ.WaNxaZ6k6GIIIzEu1vn3ONo7q5CotrKBVOZtVFEn5H8",
"typePaymentRequest": 1,
"expiration": "2023-03-22T13:29:10.025Z",
"order_ref": "{{date}}{{id}}",
"data": {},
"amount": 1,
"currency_code": "EUR",
"decimals": 2,
"chainid": ""
}
{
"type": "qr.inprogress",
"timestamp": 1679405501012,
"id_merchant": "9d3d5d01-f70e-4d56-b05b-2cc14edabcf9",
"id_session": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjlkM2Q1ZDAxLWY3MGUtNGQ1Ni1iMDViLTJjYzE0ZWRhYmNmOSIsImlhdCI6MTY3OTQwNTQ5NywiZXhwIjoxNzEwOTQxNDk3fQ.lYoDTxE_maZ1bP8G_-KA3sHsyctLK0MrNn5fQ9cg_IM",
"inprogress": true,
"data": {}
}
{
"type": "qr.payment",
"status": "completed",
"timestamp": 1679405557659,
"id_session": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjlkM2Q1ZDAxLWY3MGUtNGQ1Ni1iMDViLTJjYzE0ZWRhYmNmOSIsImlhdCI6MTY3OTQwNTQ5NywiZXhwIjoxNzEwOTQxNDk3fQ.lYoDTxE_maZ1bP8G_-KA3sHsyctLK0MrNn5fQ9cg_IM",
"id_merchant": "9d3d5d01-f70e-4d56-b05b-2cc14edabcf9",
"id_account": "f6cb2e21-2fa7-47e6-baae-e3ef3a1f4f36",
"amounts": {
"amount": "1.00",
"total": "1.21",
"co2e": "0.21"
},
"name": "Euro",
"currency_code": "EUR",
"decimals": 2,
"chainid": "",
"account1": "FR76 1027 8063 9800 0217 2400 388",
"method": 2,
"txid": "8df0cffe16bc4c78aaaf611bdc6b9960",
"order_ref": "202303210F5VT",
"data": {}
}
{
"type": "qr.destroyed",
"timestamp": 1679405557626,
"id_merchant": "9d3d5d01-f70e-4d56-b05b-2cc14edabcf9",
"id_session": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjlkM2Q1ZDAxLWY3MGUtNGQ1Ni1iMDViLTJjYzE0ZWRhYmNmOSIsImlhdCI6MTY3OTQwNTQ5NywiZXhwIjoxNzEwOTQxNDk3fQ.lYoDTxE_maZ1bP8G_-KA3sHsyctLK0MrNn5fQ9cg_IM"
}
{
"type": "qr.custom",
"timestamp": 1679405835138,
"id_merchant": "9d3d5d01-f70e-4d56-b05b-2cc14edabcf9",
"payload": {
"myKey": 1
}
}