Add an Address

POST /accountmanagement/v1/accounts/account_id/addresses

Once the merchant account has been created, you must initiate a POST request to the addresses endpoint to create an address that will be associated with that merchant account.

This is the address for the merchant account. It is not the same as the business owner address, which is added later.

Request Example
curl -X POST https://api.test.paysafe.com/accountmanagement/v1/accounts/89987201/addresses \
-u devcentre322:B-qa2-0-53625f86-302c021476f52bdc9deab7aea876bb28762e62f92fc6712d0214736abf501e9675e55940e83ef77f5c304edc7968 \
-H 'Content-Type: application/json' \
  -d ' {
    "street": "100 Queen Street West",
    "city": "Toronto",
    "state": "ON",
    "country": "CA",
    "zip": "M5H 2N2"
}'

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.
Response Example
{
	"links": [{
		"rel": "self",
		"href": "https://api.test.paysafe.com/accountmanagement/v1/accounts/89987201/addresses/6a275b7c-6f11-4ed1-ae77-21071724574g"
	}],
	"id": "6a275b7c-6f11-4ed1-ae77-21071724574g",
	"street": "100 Queen Street West",
	"city": "Toronto",
	"state": "ON",
	"country": "CA",
	"zip": "M5H 2N2"
}

See our API Reference section for a list of all the JSON attributes and types available for the addresses endpoint.

Did you find this page useful?