Skip to main content

Create person account

POST /api/v1/PersonAccounts/create

Description

This endpoint is used to create a new account for a person.

Tags:
PersonAccounts

URL:
/api/v{version}/PersonAccounts/create

ApiKey:
No API key required

Content-Type:
No request body

Query Parameters:
None

Path Parameters:
None

Request Body:

  • content:

    • application/json

    • text/json

    • application/*+json

Response:
Success, returns a person account response.

Error Codes:

  • 400: Bad Request

Example:

/api/v1/PersonAccounts/create

Headers

Content-TypeValue
Accept-Language

Headers

Content-TypeValue
Content-Typeapplication/json

Headers

Content-TypeValue
Accepttext/plain

Body (raw)

{
"personId": `<uuid>`,
"accountBIC": `<string>`,
"productId": `<string>`,
"accountType": `<string>`,
"accountPurpose": `<string>`,
"accountName": `<string>`,
"currency": `<string>`
}

Response: 200

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": {
"id": `<uuid>`,
"personId": `<uuid>`,
"accountId": `<string>`,
"accountBIC": `<string>`,
"accountType": `<string>`,
"accountName": `<string>`,
"currency": `<string>`,
"availableBalance": `<double>`,
"accountLimit": `<double>`,
"statusDescription": `<string>`,
"created": `<dateTime>`,
"nubanOrIban": `<string>`,
"purpose": `<string>`,
"comment":`<string>`,
"status": `<string>`,
"productId": `<string>`,
"clientId": `<string>`
}
}

Response: 400

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/PersonAccounts/create \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!