curl --request POST \
--url https://sandbox.killb.app/api/v2/backoffice/savings/customer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"type": "individual",
"firstName": "Bruce",
"lastName": "Wayne",
"companyName": "Wayne Company",
"email": "[email protected]",
"phone": "+5511911110000",
"address": {
"street1": "St. Main Street",
"street2": "St. Main Street",
"city": "City",
"state": "SP",
"zipCode": "01013-000",
"countryCode": "US"
},
"birthDate": "00-00-0000",
"documentValue": "00000000000"
}
}
'{
"errorCode": "API_USER.0001",
"arguments": [
{
"key": "email",
"value": "[email protected]"
}
],
"message": [
"User not found",
"Account not found"
],
"statusCode": "400"
}curl --request POST \
--url https://sandbox.killb.app/api/v2/backoffice/savings/customer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"type": "individual",
"firstName": "Bruce",
"lastName": "Wayne",
"companyName": "Wayne Company",
"email": "[email protected]",
"phone": "+5511911110000",
"address": {
"street1": "St. Main Street",
"street2": "St. Main Street",
"city": "City",
"state": "SP",
"zipCode": "01013-000",
"countryCode": "US"
},
"birthDate": "00-00-0000",
"documentValue": "00000000000"
}
}
'{
"errorCode": "API_USER.0001",
"arguments": [
{
"key": "email",
"value": "[email protected]"
}
],
"message": [
"User not found",
"Account not found"
],
"statusCode": "400"
}The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
individual, business "individual"
"Bruce"
"Wayne"
"Wayne Company"
"+5511911110000"
Show child attributes
"St. Main Street"
"St. Main Street"
"City"
"SP"
"01013-000"
"US"
"00-00-0000"
"00000000000"
"API_USER.0001"
Show child attributes
"email"
["User not found", "Account not found"]"400"