Skip to main content

Update Braintree Gateway

PUT 

/v2/gateways/braintree

Use this endpoint to configure Braintree.

Request

Body

    data object
    enabled boolean

    Specifies whether the gateway is enabled or disabled. Set true to enable the gateway and false to disable the gateway. Default is false.

    environment string

    Specifies production or sandbox environment.

    merchant_id stringrequired

    Specifies Your Braintree merchant ID.

    private_key stringrequired

    Represents Your Braintree private key.

    public_key stringrequired

    Indicates Your Braintree public key.

Responses

OK

Schema
    data object
    enabled boolean

    Specifies whether the gateway is enabled or disabled. Set true to enable the gateway and false to disable the gateway. Default is false.

    name string

    Specifies the name of the gateway.

    environment string

    Specifies production or sandbox environment.

    merchant_id string

    Specifies Your Braintree merchant ID.

    private_key string

    Represents Your Braintree private key.

    public_key string

    Indicates Your Braintree public key.

    slug string

    Represents the slug of the gateway.

    type string

    Specifies the type of object being returned.

Loading...