How can I use a data action where it needs to have sub-objects passed through, or where I need to have two top level objects?
eg
{
"type": "purchase",
"amount": "12345.00",
"currency": "AUD",
"merchantReference": "1234ABC",
"card": {
"cardHolderName": "JOHN T DOE",
"cardNumber": "4111111111111111",
"dateExpiryMonth": "01",
"dateExpiryYear": "18",
"cvc2": "111"
},
"customer": {
"firstName": "John",
"lastName": "Doe"
}
}
I can't see any way of adding two objects at the same top level, and it also won't let me use sub-objects.