Create Testing Shopper Account
Create a Bolt shopper account for testing purposes. Available for sandbox use only and the created account will be recycled after a certain time.
Authorizations
Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard.
Headers
The publicly viewable identifier used to identify a merchant division. This key is found in the Developer > API section of the Bolt Merchant Dashboard [RECOMMENDED].
Body
Number of days after which the test account is deactivated. Default: 30 days. Maximum: 180 days.
Deprecated. Please leave this field absent and let the API automatically generate a random email.
The status of the shopper account identifier (email or phone). If the account does not have this identifier, the status is "missing"; If the identifier has been used to receive an OTP code, the status is "verified"; If the identifier has not been used to receive an OTP code, the status is "unverified".
missing, verified, unverified "verified"
Deprecated. Please leave this field absent and let the API automatically generate a random phone number.
The status of the shopper account identifier (email or phone). If the account does not have this identifier, the status is "missing"; If the identifier has been used to receive an OTP code, the status is "verified"; If the identifier has not been used to receive an OTP code, the status is "unverified".
missing, verified, unverified "verified"
Set this account as migrated by the merchant in the request
Add a random U.S. address to the created account if set to true
Response
Testing Account Created
The email of the testing account
255"alan.watts@example.com"
The status of the shopper account identifier (email or phone). If the account does not have this identifier, the status is "missing"; If the identifier has been used to receive an OTP code, the status is "verified"; If the identifier has not been used to receive an OTP code, the status is "unverified".
missing, verified, unverified "verified"
The phone number of the testing account
16"+12125550199"
The status of the shopper account identifier (email or phone). If the account does not have this identifier, the status is "missing"; If the identifier has been used to receive an OTP code, the status is "verified"; If the identifier has not been used to receive an OTP code, the status is "unverified".
missing, verified, unverified "unverified"
Fixed OTP code that can be used to login to the created account
123456
The merchant's public id if the account is migrated
"addvfRR_bp_7"
The created testing account will be deactivated after this date
"2023-06-01T23:16:07Z"
OAuth code that is associated with this account and can be used to exchange for an access token
"7GSjMRSHs6Ak7C_zvVW6P2IhZOHxMK7HZKW1fMX85ms.-DUXvwr1Yg-bfvqXUlMaz49fPn7OdiPa3TwVBlUI-wc"