Events
| Action |
Event name |
| update exchange receipt settings (PUT /exchange-receipt-settings) |
exchangeReceipt.updated |
Payload example updated
{
"attemptId": "20ebdb3d-85e1-47a4-a81d-7b6c7dd1a481",
"created": 1634755434,
"data": {
"locationNumber": "001",
"affiliation": "123456",
"exteriorNumber": "123",
"cnbvLocale": "LOCALE",
"situationKey": "SIT",
"transactionPointKey": "TPK",
"companyName": "Company SA",
"commercialName": "Commercial Name",
"accountNumber": "ACC123",
"contractNumber": "CONTRACT1"
},
"event": "exchangeReceipt.updated",
"id": "2e32d603-a379-46f9-9393-ba4d1859e2fe",
"livemode": true
}
Payload fields (exchangeReceipt.updated)
| Field |
Type |
Description |
| id |
string |
Webhook event id |
| attemptId |
string |
Delivery attempt id |
| created |
int |
Unix timestamp when the event was created |
| event |
string |
exchangeReceipt.updated |
| livemode |
boolean |
Whether the account is in live mode |
| data |
object |
The updated exchange receipt (account preferences.exchangeReceipt) |
| data.locationNumber |
string |
Store number |
| data.affiliation |
string |
Affiliation |
| data.exteriorNumber |
string |
Exterior number |
| data.cnbvLocale |
string |
CNBV Locale |
| data.situationKey |
string |
Situation key |
| data.transactionPointKey |
string |
Transaction point key |
| data.companyName |
string |
Company name |
| data.commercialName |
string |
Commercial name |
| data.accountNumber |
string |
Account number |
| data.contractNumber |
string |
Contract number |