Update Braintree Gateway
PUT/v2/gateways/braintree
Use this endpoint to configure Braintree.
Request
- application/json
Body
data object
Specifies whether the gateway is enabled or disabled. Set true
to enable the gateway and false
to disable the gateway. Default is false
.
Specifies production or sandbox environment.
Specifies Your Braintree merchant ID.
Represents Your Braintree private key.
Indicates Your Braintree public key.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
Specifies whether the gateway is enabled or disabled. Set true
to enable the gateway and false
to disable the gateway. Default is false
.
Specifies the name of the gateway.
Specifies production or sandbox environment.
Specifies Your Braintree merchant ID.
Represents Your Braintree private key.
Indicates Your Braintree public key.
Represents the slug of the gateway.
Specifies the type of object being returned.
{
"data": {
"enabled": true,
"name": "Braintree",
"environment": "sandbox",
"merchant_id": "{{braintreeMerchantId}}",
"private_key": "{{braintreePrivateKey}}",
"public_key": "{{braintreePublicKey}}",
"slug": "braintree",
"type": "gateway"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}