Payment risk object data will no longer be available starting October 2023
over 1 year ago by Nikolai
Important notice: transactions[].risk
object will no longer supply risk related data starting from October 1, 2023.
More specifically:
transactions[].risk.resourceName
will always benull
transactions[].risk.resourceCategory
will always benull
transactions[].risk.alerts[]
will always be empty
Payload example:
{
"source": "payment",
"event": "statusChanged",
"data": {
"uuid": "6d733e46-858b-49cc-b7f6-b9ed861d649c",
"merchantDisplayName": "Metallica Inc",
"merchantId": "00a4af9d-ad4b-42d5-bec4-b7a8c90161fe",
"dateCreated": 1704441816000,
"expiryDate": 1704443016000,
"quoteExpiryDate": 1704443016000,
"acceptanceExpiryDate": 1704441847000,
"quoteStatus": "ACCEPTED",
"reference": "f208a008-b343-428f-a478-e8d92217014f",
"type": "IN",
"subType": "merchantPayIn",
"status": "COMPLETE",
"displayCurrency": {
"currency": "EUR",
"amount": 10,
"actual": 10
},
"walletCurrency": {
"currency": "EUR",
"amount": 10,
"actual": 10
},
"paidCurrency": {
"currency": "ETH",
"amount": 0.00484004,
"actual": 0.00484004
},
"feeCurrency": {
"currency": "EUR",
"amount": 0.1,
"actual": 0.1
},
"displayRate": {
"base": "ETH",
"counter": "EUR",
"rate": 2066.098627284072
},
"exchangeRate": {
"base": "ETH",
"counter": "EUR",
"rate": 2066.1
},
"address": {
"address": "0x3757ab3f742612fa92bb32229f7c6b97ea4882ad",
"tag": null,
"protocol": "ETH",
"uri": "ethereum:0x3757ab3f742612fa92bb32229f7c6b97ea4882ad?value=4.84004E+15",
"alternatives": []
},
"returnUrl": "https://yourwebsitename.com",
"redirectUrl": "https://pay.sandbox.bvnk.com/payin?uuid=6d733e46-858b-49cc-b7f6-b9ed861d649c",
"transactions": [
{
"dateCreated": 1704441854000,
"dateConfirmed": 1704441947000,
"hash": "0xfca560c731b1bdba7eeb085dae63a014b45f8f0beba19d3309183631e87d1f32",
"amount": 0.00484004,
"risk": {
"level": "LOW",
"resourceName": null,
"resourceCategory": null,
"alerts": []
},
"networkFeeCurrency": "ETH",
"networkFeeAmount": 0,
"sources": [
"0x4b8b57aa7a92ea959c92aa32a72bb3d4f2d75a67"
],
"displayRate": {
"base": "ETH",
"counter": "EUR",
"rate": 2066.098627284072
},
"exchangeRate": {
"base": "ETH",
"counter": "EUR",
"rate": 2066.1
},
"protocol": "ETH",
"isOnHold": false
}
],
"refund": null,
"refunds": []
}
}