Buyers and Sellers
Create a new guest user
Changed onThis endpoint creates a new guest user which can be used as the buyer or the seller in a transaction. Guest users can be used to create transactions for users that don't yet have login details, or who choose not to use the logged-in user for creating the new transaction. Emails are sent to guest users which will contain details for adding guest transactions to their logged-in profile.
post/v2/guest_users
Request
- Base URLhttps://api.test.trustap.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"country_code": "IE",
"email": "guest@test.com",
"first_name": "Test",
"last_name": "User",
"tos_acceptance": {
"ip": "192.168.1.2",
"unix_timestamp": 1672531200
}
}Response
Created
Example response
{
"created_at": "2019-12-25T13:00:00Z",
"email": "jo@example.com",
"first_name": "Test",
"id": "1-feb33a87-3917-4538-9260-127c8a6b5232",
"last_name": "User"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info