- BalancesGateway
- BatchGateway
- Configuration
- Gateway
- PaymentGateway
- RecipientAccount
- RecipientAccountGateway
- RecipientGateway
▸ connect(config: ConfigurationParams): Gateway
Defined in index.ts:21
Create a client for the Trolley (Payment Rails) JavasScript API
const client = trolley.connect({
key: "MY_PUBLIC_KEY",
secret: "MY_PRIVATE_KEY",
});
Parameters:
Param | Type | Description |
---|---|---|
config | ConfigurationParams | The configuration parameters |
Returns: Gateway