get_client_token
Obtain a client credential to initialize payment integration and generate a paymentMethodNonce for use in hosted payment UIs, supporting gateway-agnostic operations and optional customer scoping.
Instructions
Get the gateway client credential to initialize your payment integration and produce a paymentMethodNonce. Use the returned value in your hosted payment UI; then pass the resulting token as paymentMethodNonce to create_customer_payment_method. Gateway-agnostic: no gateway-specific concepts in MCP. Optional customerId scopes the credential to a customer (e.g. for vault). Required for PayFabric; optional for others. Requires company API token (X-AUTH-TOKEN).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gatewayId | Yes | Company gateway ID (e.g. from rebillia_list_gateways or dashboard). | |
| customerId | No | Optional. Rebillia customer ID when the token must be scoped to a customer (e.g. for saved payment methods). Required for PayFabric gateway. |