Step 4: Create an Identity for a Buyer

POST {{sandboxAPI}}/identities

Now that we have successfully provisioned a Merchant we’ll need to create an Identity that represents your buyer. Don’t worry though you won’t need to capture the same amount of information from your buyer.

Request Body

{"tags"=>{"key"=>"value"}, "entity"=>{"phone"=>"7145677613", "first_name"=>"Bob", "last_name"=>"Diaz", "email"=>"therock@gmail.com", "personal_address"=>{"city"=>"San Mateo", "country"=>"USA", "region"=>"CA", "line2"=>"Apartment 7", "line1"=>"741 Douglass St", "postal_code"=>"94114"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring