Options
All
  • Public
  • Public/Protected
  • All
Menu

Class containing needed authenticaction and configuration to interact with the API. Environment correspond to the environment to use, it can be Integration or Production, each has a unique URL.

Hierarchy

  • Options

Index

Constructors

  • new Options(commerceCode: string, apiKey: string, environment: string): Options
  • Create an instance of Options

    Parameters

    • commerceCode: string

      unique commerce identifier provided by Transbank

    • apiKey: string

      the secret used to authenticate against the API, it must be kept safe at all times.

    • environment: string

      Environment correspond to the environment to use, it can be Integration or Production, each has a unique URL.

    Returns Options

Properties

apiKey: string

The secret used to authenticate against the API, it must be kept safe at all times.

commerceCode: string

Unique commerce identifier provided by Transbank

environment: string

Environment correspond to the environment to use, it can be Integration or Production, each has a unique URL.

Generated using TypeDoc