curl --request POST \
--url https://api.aobapay.com/v1/baas/account/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Account-ID: <x-account-id>' \
--data '
{
"officialName": "<string>",
"tradeName": "<string>",
"taxID": "<string>",
"documents": [
"<string>"
],
"address": {
"zipcode": "<string>",
"street": "<string>",
"number": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"state": "<string>"
},
"representatives": [
{
"name": "<string>",
"birthDate": "2023-12-25",
"email": "[email protected]",
"taxID": "<string>",
"phone": "<string>",
"documents": {
"picture_face": "<string>",
"picture_identity_front": "<string>",
"picture_identity_type": "RG",
"picture_identity_back": "<string>"
}
}
],
"postbackUrl": "<string>"
}
'