Transaction details - Merchant data
It's possible to add additional data to a transaction object via the details.merchant_data field. This field expects a key-value pair object. Please be aware that the json object can be a maximum of 1024 characters. For example:
{
"payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
"amount": 14,
"customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
"customer_ip": "127.0.0.1",
"dynamic_descriptor": "orderdesc01",
"merchant_reference": "my order id",
"payment_product": "ideal",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/86.0.4240.198 Safari/537.36",
"details": {
"redirect_url": "https://example.com/finalize",
"issuer": "INGBNL2A",
"merchant_data": {
"extra": "first field",
"extra2": "second field",
}
},
"webhook_transaction_update": "https://example.com"
}