Skip to main content

Documentation Index

Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Gateway#create(string publicKey): Gateway

Description

Initializes a Gateway object that can be used to initialize other services.

Parameters

publicKey A string generated from the merchant portal’s Security Keys page. The publicKey should have the Checkout permission. Example: collect_checkout_0000000000000000000000000

Side Effects

Raises an '' event if provided an invalid public key.

Example

const gateway = Gateway.create('collect_checkout_0000000000000000000000000')