Create Access 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_access_token_id": "token_001",
"connector": "STRIPE",
"test_mode": true
}' \
localhost:8080 \
types.MerchantAuthenticationService/CreateAccessToken{
"access_token": "pk_test_1234567890abcdef",
"token_type": "Bearer",
"expires_in_seconds": 1704153600,
"status": "SUCCESS",
"status_code": 200
}