Complete xs2a.risk by uploading account data to our systems.
Changed onThis action will complete the started wizard_session and can not be done in testmode.
Request
- Base URLhttps://api.xs2a.com/v1
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Wizard-session-id which was recieved using POST /risks
Query parameters
The format parameter is optional and defines which format you are about to upload. The account snapshot upload function is available in the following formats: json and CAMT. This call defaults to json if the format parameter is omitted. If you are using CAMT format, please insert the whole camt xml code as payload. (no json)
Request body
Example request
[
{
"account": {
"country_id": "DE"
},
"balance": {
"currency": "EUR"
},
"turnovers": [
{
"currency_id": "EUR"
}
]
}
]Response
Requests processed successfully.
Example response
{
"id": "xr_dfdsfdf34dsgds09g",
"transaction": "10001-xr-Hdfh-EWfdas",
"account_holder": "Tink Germany",
"iban": "DE8888888888888",
"bic": "GIXXXXXGI",
"bank_name": "Bankname",
"country_id": "DE",
"testmode": 1,
"created_at": "2020-01-01 10:00:00",
"metadata": {
"key1": "value1"
},
"merchant_id": "MerchantID",
"object": "xs2a_risk"
}Changes
- breaking
removed the enum value
ESof the request property// - breaking
removed the enum value
FRof the request property// - breaking
removed the enum value
GBof the request property// - breaking
removed the enum value
ITof the request property// - warning
removed the request property
/// - info
added the new optional request property
/// - info
the request property
//became nullable - info
removed the
ESenum value from theresponse property for the response status - info
removed the
FRenum value from theresponse property for the response status - info
removed the
GBenum value from theresponse property for the response status - info
removed the
ITenum value from theresponse property for the response status
- breaking