Update PayPal Express Checkout
PUT/v2/gateways/paypal_express_checkout
Use this endpoint to configure PayPal Express Checkout.
To learn more about PayPal Express Checkout and check whether it will work for you, contact your sales or customer success team.
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 the merchant account ID. The ID is displayed in the PayPal account details of the merchant.
Specifies whether the test mode is enabled. Set true
to enable test mode and false
to disable the test mode. Default is false
.
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 merchant account ID. The ID is displayed in the PayPal account details of the merchant.
Specifies the name of the gateway.
Specifies whether the test mode is enabled. Set true
to enable test mode and false
to disable the test mode. Default is false
.
Represents the slug of the gateway.
Specifies the type of object being returned.
{
"data": {
"enabled": true,
"payer_id": "{{merchant account id}}",
"name": "PayPal Express Checkout",
"test": true,
"slug": "paypal_express_checkout",
"type": "gateway"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}