Customer
Create customer address
Home
Token
Merchant API
Customer
- 2FA
- AccessControl
- Active Session
- Credentials
- Customer
- POSTCreate a list of customers
- POSTAdd secret question
- POSTCreate customer address
- POSTCreate customer documents
- POSTCreate customer
- POSTGet all customers by tenant id
- GETGet customer details by customer id
- POSTGet customer details by email
- GETGet customer documents by customer id
- POSTGet customers by customer status
- POSTGet customers by customer type
- POSTGet customers by organization id
- GETGet customers document by purpose
- GETGet organization get customers
- GETGet SEPA id by customerId
- GETGet SEPA id by customerId and communicationChannel
- POSTPost update kycConfirmation
- POSTPost update pepCheckStatus
- POSTPost update revisions
- POSTUpdate customer status
- PUTUpdate customer
- POST
- Organization
- Profile Picture
Open Banking API
- Introduction
- POSTToken
- Account
- TPP
Customer
Create customer address
POST
/
createAddress
/
{customerId}
curl --request POST \
--url https://gateway.cyrexa.com/customer/1.0.0/createAddress/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--header 'token: <token>' \
--data '[
{
"addressPurpose": "<string>",
"address": {
"country": "<string>",
"area": "<string>",
"zipCode": "<string>",
"city": "<string>",
"street": "<string>",
"streetNumber": [
"<string>"
],
"building": "<string>",
"apartment": "<string>",
"entrance": "<string>",
"floor": "<string>",
"doorNumber": "<string>",
"geoPosition": {
"latitude": 123,
"longitude": 123,
"altitude": 123
},
"alternative": {
"word1": "<string>",
"word2": "<string>",
"word3": "<string>"
},
"relatedToAddress": [
{
"relationType": "near_by",
"address": "<string>"
}
],
"additionalData": [
{
"name": "<string>",
"type": "Number",
"value": "<string>"
}
]
}
}
]'
{
"tenantId": "<string>",
"customerId": "<string>",
"addressIds": [
{
"addressId": "<string>"
}
]
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Customer id
Body
application/json · object[]
curl --request POST \
--url https://gateway.cyrexa.com/customer/1.0.0/createAddress/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--header 'token: <token>' \
--data '[
{
"addressPurpose": "<string>",
"address": {
"country": "<string>",
"area": "<string>",
"zipCode": "<string>",
"city": "<string>",
"street": "<string>",
"streetNumber": [
"<string>"
],
"building": "<string>",
"apartment": "<string>",
"entrance": "<string>",
"floor": "<string>",
"doorNumber": "<string>",
"geoPosition": {
"latitude": 123,
"longitude": 123,
"altitude": 123
},
"alternative": {
"word1": "<string>",
"word2": "<string>",
"word3": "<string>"
},
"relatedToAddress": [
{
"relationType": "near_by",
"address": "<string>"
}
],
"additionalData": [
{
"name": "<string>",
"type": "Number",
"value": "<string>"
}
]
}
}
]'
{
"tenantId": "<string>",
"customerId": "<string>",
"addressIds": [
{
"addressId": "<string>"
}
]
}