X-Api-Key and Authorization: Bearer <access_token> from /v2/oauth/token. Endpoint role checks are tenant-specific./own/account.curl --location 'https://api.studiointern.de//v2/own/account' \
--header 'X-Api-Key: <api-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"kid": 1,
"pmt_amount": 0,
"pmt_vat": 0,
"pmt_mwst": 0,
"pmt_type": "payment",
"pmt_date": "2019-08-24",
"pmt_description": "string",
"pmt_user": "string",
"notify": true,
"notify_error": "user@example.com"
}'{
"success": true,
"code": 0,
"locale": "de",
"message": "string",
"data": {
"account_entry_id": 0,
"customer_id": 0,
"amount": 0,
"vat_rate": 0,
"type": "string",
"date": "2019-08-24"
},
"links": {},
"meta": {}
}