📍 Bolt Help / Products / Ignite 🔥 / API Implementation / Endpoints / Access Shopper Data Access Shopper Data Access Bolt Account data via Bolt Oauth authorization. Page Contents Click to expand. Bolt’s Account APIs enable the store’s backend to read account details and perform account actions on behalf of a shopper. To access these APIs, provision a token with Bolt OAuth so your store backend can send the account data to your frontend and render a one-click checkout experience. Shopper Experience This is a backend process. The shopper will not experience any UI flow during this step. Read the Shopper’s Bolt Account Details The Account Details API provides account data associated with the shopper, including shopper identity, shopper addresses, and shopper payment methods. The Bolt access token authorizes your application and identifies the shopper; it is the only parameter used for reading account details. The API Key authenticates your application to make requests against our server. In the example below replace YOUR_API_KEY with your API Key. curl -X GET -H "X-Api-Key: YOUR_API_KEY" -H "Authorization: bearer \ $requestToken" https://api-sandbox.bolt.com/account Response Each returned shopper address object contains a shopper_address_id. Similarly, each returned credit card object will contain a credit_card_id. To charge a shopper’s existing credit card or use a shopper’s existing address, you’ll need to pass both the shipping_address_id and the credit_card_id into the Authorize Payment API. Success Click to expand. { "profile": { "name": "Alan Watts", "first_name": "Alan", "last_name": "Watts", "email": "alan.watts@bolt.com", "phone": "123-867-5309" }, "addresses": [ { "id": "string", "street_address1": "888 main street", "street_address2": "apt 3021", "street_address3": null, "street_address4": null, "locality": "New York", "region": "NY", "postal_code": "10044", "country_code": "US", "country": "United States", "name": "Alan Watts", "first_name": "Alan", "last_name": "Watts", "company": "Bolt", "phone_number": "123-867-5309", "email_address": "alan.watts@bolt.com" } ], "payment_methods": [ { "id": "string", "type": "card", "last4": "1234", "billing_address": { "id": "string", "street_address1": "888 main street", "street_address2": "apt 3021", "street_address3": null, "street_address4": null, "locality": "New York", "region": "NY", "postal_code": "10044", "country_code": "US", "country": "United States", "name": "Alan Watts", "first_name": "Alan", "last_name": "Watts", "company": "Bolt", "phone_number": "123-867-5309", "email_address": "alan.watts@bolt.com" } } ], "has_bolt_account": true } TIP If the access token has expired, your backend can fetch a new one using the refresh token. Error Click to expand. { "result": { "success": false }, "errors": [ { "code": 1005, "message": "Authentication error. Invalid merchant key." } ] } Next Step After you access Shopper Data, you will need to implement Payment Fields. This is a Front End Accounts Component that enables both logged-in and guest shoppers to transact with the merchant’s storefront.