cURL
curl --request POST \ --url https://api.example.com/auth/bridge
Exchange a bridge token for customer access and refresh tokens
Authorization
string
Bearer <bridge_token>
{ "accessToken": "eyJhbGciOiJIUzI1NiIs...", "refreshToken": "eyJhbGciOiJIUzI1NiIs...", "customer": { "id": "uuid", "membershipStatus": "member", "retailerId": "uuid" } }
{ "statusCode": 401, "message": "Invalid bridge token" }