diff --git a/content/docs/payments/api-reference/2026-02-18/post-v1-webhooks-crypto-com-pay.mdx b/content/docs/payments/api-reference/2026-02-18/post-v1-webhooks-crypto-com-pay.mdx new file mode 100644 index 0000000..a8090b6 --- /dev/null +++ b/content/docs/payments/api-reference/2026-02-18/post-v1-webhooks-crypto-com-pay.mdx @@ -0,0 +1,7 @@ +--- +title: "Crypto.com Pay payment webhook" +_openapi: + method: POST +--- + + diff --git a/content/docs/payments/api-reference/2026-02-19.preview/post-v1-webhooks-crypto-com-pay.mdx b/content/docs/payments/api-reference/2026-02-19.preview/post-v1-webhooks-crypto-com-pay.mdx new file mode 100644 index 0000000..a81b011 --- /dev/null +++ b/content/docs/payments/api-reference/2026-02-19.preview/post-v1-webhooks-crypto-com-pay.mdx @@ -0,0 +1,7 @@ +--- +title: "Crypto.com Pay payment webhook" +_openapi: + method: POST +--- + + diff --git a/content/navigation.json b/content/navigation.json index 72885e9..8c1786d 100644 --- a/content/navigation.json +++ b/content/navigation.json @@ -532,7 +532,8 @@ "pages": [ "payments/api-reference/2026-02-18/post-v1-webhooks-binance-pay", "payments/api-reference/2026-02-18/post-v1-webhooks-binance-pay-onchain", - "payments/api-reference/2026-02-18/post-v1-webhooks-bybit-pay" + "payments/api-reference/2026-02-18/post-v1-webhooks-bybit-pay", + "payments/api-reference/2026-02-18/post-v1-webhooks-crypto-com-pay" ] } ] @@ -572,7 +573,8 @@ "pages": [ "payments/api-reference/2026-02-19.preview/post-v1-webhooks-binance-pay", "payments/api-reference/2026-02-19.preview/post-v1-webhooks-binance-pay-onchain", - "payments/api-reference/2026-02-19.preview/post-v1-webhooks-bybit-pay" + "payments/api-reference/2026-02-19.preview/post-v1-webhooks-bybit-pay", + "payments/api-reference/2026-02-19.preview/post-v1-webhooks-crypto-com-pay" ] } ] diff --git a/openapi/2026-02-18.json b/openapi/2026-02-18.json index 1de8c43..2fd9b5c 100644 --- a/openapi/2026-02-18.json +++ b/openapi/2026-02-18.json @@ -1990,6 +1990,49 @@ } } } + }, + "/v1/webhooks/crypto_com_pay": { + "post": { + "tags": [ + "Webhooks" + ], + "summary": "Crypto.com Pay payment webhook", + "description": "Payment events for Crypto.com Pay checkouts made with a merchant's own keys. Authenticated by the `Pay-Signature: t=,v1=` header, an HMAC-SHA256 over `{t}.{raw body}` keyed by the merchant's webhook signing secret. A missing, malformed or stale header is refused before anything is looked up; the secret is chosen by the order the body names, so a delivery that names no order, or one pay-core does not hold, is acknowledged without its HMAC checked and ignored. A verified delivery is a trigger only: the payment is re-read from Crypto.com with the merchant's key and driven from that answer (succeeded → the payment succeeds; cancelled, voided or failed → the order is closed and the payment stays payable by another method).", + "operationId": "cryptoComPayWebhook", + "requestBody": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Acknowledged, including deliveries that name no order or one pay-core does not hold" + }, + "400": { + "description": "The body is not a Crypto.com event" + }, + "401": { + "description": "Signature missing or mismatched, or its timestamp is outside the accepted window" + }, + "413": { + "description": "Body larger than 64 KiB" + }, + "500": { + "description": "Storage, KMS or write-contention failure (Crypto.com redelivers)" + }, + "502": { + "description": "The payment re-read from Crypto.com failed (Crypto.com redelivers)" + }, + "503": { + "description": "Crypto.com Pay is not configured (Crypto.com redelivers)" + } + } + } } }, "tags": [ @@ -2624,7 +2667,7 @@ "expiresAt": 1718236800, "gatewayUrl": "https://api.pay.walletconnect.com/pay_123", "isFinal": false, - "paymentId": "pay_57a2ecc101M71707F4MWYTA02FBP94D8T3", + "paymentId": "pay_23a2ecc101M7W4JSEM0EW14VJJTN3H1DW6", "pollInMs": 1000, "status": "requires_action" } @@ -2771,7 +2814,7 @@ "example": { "cancelledAt": "2025-01-14T10:30:00Z", "cancelledReason": "cancelled_by_user", - "paymentId": "pay_03a2ecc101M71707F8FT842EAWD0SH951C", + "paymentId": "pay_34a2ecc101M7W4JSEP1H78P1HT49GMNMTT", "status": "cancelled" } }, @@ -3671,7 +3714,7 @@ "example": { "cancelledAt": "2025-01-14T10:30:00Z", "cancelledReason": "cancelled_by_merchant", - "paymentId": "pay_3aa2ecc101M71707F5CTTRHGJBJV47WKAS", + "paymentId": "pay_88a2ecc101M7W4JSEMEY9C69PYKACFTAXB", "status": "cancelled" } }, diff --git a/openapi/2026-02-19.preview.json b/openapi/2026-02-19.preview.json index 3fabfd4..1dd0100 100644 --- a/openapi/2026-02-19.preview.json +++ b/openapi/2026-02-19.preview.json @@ -1990,6 +1990,49 @@ } } } + }, + "/v1/webhooks/crypto_com_pay": { + "post": { + "tags": [ + "Webhooks" + ], + "summary": "Crypto.com Pay payment webhook", + "description": "Payment events for Crypto.com Pay checkouts made with a merchant's own keys. Authenticated by the `Pay-Signature: t=,v1=` header, an HMAC-SHA256 over `{t}.{raw body}` keyed by the merchant's webhook signing secret. A missing, malformed or stale header is refused before anything is looked up; the secret is chosen by the order the body names, so a delivery that names no order, or one pay-core does not hold, is acknowledged without its HMAC checked and ignored. A verified delivery is a trigger only: the payment is re-read from Crypto.com with the merchant's key and driven from that answer (succeeded → the payment succeeds; cancelled, voided or failed → the order is closed and the payment stays payable by another method).", + "operationId": "cryptoComPayWebhook", + "requestBody": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Acknowledged, including deliveries that name no order or one pay-core does not hold" + }, + "400": { + "description": "The body is not a Crypto.com event" + }, + "401": { + "description": "Signature missing or mismatched, or its timestamp is outside the accepted window" + }, + "413": { + "description": "Body larger than 64 KiB" + }, + "500": { + "description": "Storage, KMS or write-contention failure (Crypto.com redelivers)" + }, + "502": { + "description": "The payment re-read from Crypto.com failed (Crypto.com redelivers)" + }, + "503": { + "description": "Crypto.com Pay is not configured (Crypto.com redelivers)" + } + } + } } }, "tags": [ @@ -2671,7 +2714,7 @@ "expiresAt": 1718236800, "gatewayUrl": "https://api.pay.walletconnect.com/pay_123", "isFinal": false, - "paymentId": "pay_26a2ecc101M716ZCYANRQW0E7PV1XETCQT", + "paymentId": "pay_c8a2ecc101M7W4KR8EF5FM7CMD14MAEK85", "pollInMs": 1000, "status": "requires_action" } @@ -2818,7 +2861,7 @@ "example": { "cancelledAt": "2025-01-14T10:30:00Z", "cancelledReason": "cancelled_by_user", - "paymentId": "pay_cea2ecc101M716ZCYB5MRWKKJ918JVHRHK", + "paymentId": "pay_daa2ecc101M7W4KR8GJK7F86HM8J02BMCT", "status": "cancelled" } }, @@ -3718,7 +3761,7 @@ "example": { "cancelledAt": "2025-01-14T10:30:00Z", "cancelledReason": "cancelled_by_merchant", - "paymentId": "pay_0ea2ecc101M716ZCYA9XZ10D2X32G4ZE4N", + "paymentId": "pay_4aa2ecc101M7W4KR8E2Z6Z02DB70AGET15", "status": "cancelled" } },