Add a Business Owner Address
POST /accountmanagement/v1/businessowners/business_owner_id/currentaddresses
Once the business owner has been created, you must initiate a POST request to the current addresses endpoint to create an address that will be associated with that business owner.
This is the business owner's current address. If this address is in either Canada or Europe and they have resided at this address for fewer than 3 years, you must also provide a previous address for this business owner.
curl -X POST https://api.test.paysafe.com/accountmanagement/v1/businessowners/5e3680da-cfac-4917-855a-181c8fe27751/currentaddresses \
-u devcentre322:B-qa2-0-53625f86-302c021476f52bdc9deab7aea876bb28762e62f92fc6712d0214736abf501e9675e55940e83ef77f5c304edc7968 \
-H 'Content-Type: application/json' \
-d ' {
"street": "270 RUE OLIER",
"street2": "",
"city": "Chicoutmi",
"zip": "G7G4J3",
"country": "CA",
"state": "QC",
"yearsAtAddress": "2"
}'
Prior to trying the example above, you should:
- Replace the account number (89987201) in the URL with the Test account number you received.
- Replace the API key (after the -u) with the API key you have received
{
"links": [{
"rel": "self",
"href": "https://api.test.paysafe.com/accountmanagement/v1/businessowners/5e3680da-cfac-4917-855a-181c8fe27751/currentaddresses/6a275b7c-6f11-4ed1-ae77-21071724574g"
}],
"id": "6a275b7c-6f11-4ed1-ae77-21071724574g",
"street": "270 RUE OLIER",
"street2": "",
"city": "Chicoutmi",
"zip": "G7G4J3",
"country": "CA",
"state": "QC",
"yearsAtAddress": "2"
}
See our API Reference section for a list of all the JSON attributes and types available for the current addresses endpoint.
Was this page helpful?
On this Page