Metadata
The metadata
property is a key-value structure that allows integrated merchants to send additional information to modify certain behaviors during session processing.
Compatibility and Endpoint Usage
Currently, the key-value structure can be included in requests to the following endpoints:
Supported Keys
If a value other than the permitted ones is sent for any of the keys, the API will respond with an error.
Request Implementation
The metadata
property can be included in the main structure of the request in the following fields:
CreateSessionRequest.metadata
CreateSessionRequest
{
"auth": {...},
"payment": {...},
"metadata" : {
"initiatorIndicator": "AGENT",
"EBTDeliveryIndicator" : "DIRECT_DELIVERY",
"openingDate": "2025-02-01",
"beneficiaryId": "12345",
},
...
}
CollectRequest.metadata
CollectRequest
{
"auth": {...},
"payment": {...},
"metadata" : {
"initiatorIndicator": "AGENT",
"EBTDeliveryIndicator" : "DIRECT_DELIVERY",
"openingDate": "2025-02-01",
"beneficiaryId": "12345",
},
..
}