curl --request PATCH \
--url https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"reason": "<string>"
}
'import requests
url = "https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}"
payload = {
"enabled": True,
"reason": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, reason: '<string>'})
};
fetch('https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}';
const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, reason: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Pause or resume a merchant enrollment
Pause an active enrollment so new carts cannot use the merchant, or resume a paused one; existing orders are unaffected and repeating the current state is a no-op. Returns 409 unless the enrollment is active or paused, and 429 when resuming would exceed the plan’s merchant limit. Requires the merchants:manage scope; Sandbox only (403 catalog_managed in Production).
Raw HTTP template
Replace path, credential and schema placeholders using valid resources. The planned host requires activation; use your assigned API URL meanwhile. Preserve a write’s original idempotency key when its contract supports retry. If sending raw HTTP/1.1, use CRLF for request and header lines. Set Content-Length to the byte length of the final encoded body after replacing placeholders, including multipart delimiters and line endings.
PATCH /v1/enrollments/{enrollment_id} HTTP/1.1
Host: sandbox.ignite-checkout.ai
Authorization: Bearer <MachineKey-credential>
Content-Type: application/json
Content-Length: <body-length-in-bytes>
{
"enabled": true,
"reason": "REPLACE_WITH_VALID_VALUE"
}
HTTP/2 header equivalent
Logical headers over negotiated HTTPS HTTP/2, not a wire-format message. The endpoint, JSON and idempotency rules are unchanged. See HTTP and transport.
:method: PATCH
:scheme: https
:authority: sandbox.ignite-checkout.ai
:path: /v1/enrollments/{enrollment_id}
authorization: Bearer <MachineKey-credential>
content-type: application/json
{
"enabled": true,
"reason": "REPLACE_WITH_VALID_VALUE"
}
curl --request PATCH \
--url https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"reason": "<string>"
}
'import requests
url = "https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}"
payload = {
"enabled": True,
"reason": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, reason: '<string>'})
};
fetch('https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}';
const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, reason: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/enrollments/{enrollment_id}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
Body
Response
Successful Response