Get Account Details
GET {{api_base_url}}/v1/account
Fetch a shopper's account details to pre-fill checkout fields. This request must come from your backend for security purposes, as it requires the use of your private key to authenticate. For PCI compliance, only limited information is returned for each credit card available in the shopper’s wallet.
Required Variables
oauthaccesstoken:
An active OAuth access token. Obtain an access token from the Authorization Code Request under the OAuth folder. You will need a shopper's Authorization Code to receive this token.
Testing: For testing purposes, the Create Test Shopper Account request will provide a mechanism to get this value. (Only in Sandbox)
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-API-Key | string | Bolt Account API Key | |
X-Publishable-Key | string | Bolt Account Publishable Key | |
Authorization | string | Auth token form shopper OAuth |