paypal_gateways
Create a paypal gateway
Changed onCreate a paypal gateway
post/paypal_gateways
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/paypal_gateways
- AuthHTTP bearer
Request body
Example request
{
"data": {
"attributes": {
"name": "US payment gateway",
"force_payments": true,
"idempotency_window_mins": 60,
"_disable": true,
"_enable": true,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
},
"_check": true,
"client_id": "xxxx-yyyy-zzzz",
"client_secret": "xxxx-yyyy-zzzz"
}
}
}Response
The created paypal gateway object
Changes
- info
added the new optional request property
// - info
added the optional property
//to the response with the status
- info
- breaking
request property
/was restricted to a list of enum values - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
the
request property default valuepaypal_gatewayswas removed - info
added the new
paypal_gatewaysenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking