Single call for customer and transaction
It is possible to create a transaction and a customer at the same time by combining both objects.
However we would like to point out that this does add extra complexity. Also don't forget that new transactions
of the same customer do require the customer Id and not the full customer array.
An example POST request:
{
"payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
"amount": 14,
"customer": {
"title": "ms",
"gender": "female",
"initials": "J",
"first_name": "Jaimy",
"last_name": "Uil",
"date_of_birth": "1971-05-12",
"street_address": "Korte nieuwstraat",
"house_number": "5846",
"city": "Naarden",
"region": "Zuid-holland",
"postal_code": "7244 DK",
"country_code": "NL",
"phone_number": "+31612698434",
"email_address": "jaimy.uil@example.com",
"organisation": "fab04e42-0901-4e33-839d-4a326d037497"
},
"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",
},
"webhook_transaction_update": "https://example.com"
}