Create a checkout.com gateway
How to create a checkout.com gateway via API
To create a new checkout.com gateway, send a POST
request to the /api/checkout_com_gateways
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/checkout_com_gateways
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.name |
| Required |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
attributes.metadata |
| Optional |
attributes.secret_key |
| Required |
attributes.public_key |
| Required |
relationships.checkout_com_payments |
| Optional |
Example
The following request creates a new checkout.com gateway:
Last updated