Create Session Token
Last updated
Was this helpful?
Was this helpful?
grpcurl -H "x-connector: stripe" \
-H "x-connector-config: {\"config\":{\"Stripe\":{\"api_key\":\"$STRIPE_API_KEY\"}}}" \
-d '{
"merchant_session_id": "session_001",
"amount": {
"minor_amount": 10000,
"currency": "USD"
},
"browser_info": {
"accept_header": "text/html",
"user_agent": "Mozilla/5.0..."
},
"test_mode": true
}' \
localhost:8080 \
types.MerchantAuthenticationService/CreateSessionToken{
"session_token": "sess_1234567890abcdef",
"status_code": 200
}