From 63c3477fa6c938e69ea78930b2567eb5146635be Mon Sep 17 00:00:00 2001 From: Adson Rodrigues Date: Mon, 6 Jul 2026 14:50:22 -0300 Subject: [PATCH] =?UTF-8?q?docs:=20transactionId=20num=C3=A9rico=20nos=20e?= =?UTF-8?q?xemplos=20de=20webhook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Desde mexico-ms#113 o transactionId do webhook é String(tx.id) — o mesmo id do response de criação. Os exemplos mostravam UUID, que era o formato antigo (correlation id interno). Valores alinhados aos ids dos responses documentados (12345 cash-in / 56789 cash-out), nas 3 línguas. Co-Authored-By: Claude Fable 5 --- en/guides/webhooks/cash-in.mdx | 2 +- en/guides/webhooks/cash-out.mdx | 2 +- en/guides/webhooks/overview.mdx | 2 +- en/guides/webhooks/refund-in.mdx | 2 +- en/guides/webhooks/refund-out.mdx | 2 +- en/sandbox/scenarios.mdx | 4 ++-- es/guides/webhooks/cash-in.mdx | 2 +- es/guides/webhooks/cash-out.mdx | 2 +- es/guides/webhooks/overview.mdx | 2 +- es/guides/webhooks/refund-in.mdx | 2 +- es/guides/webhooks/refund-out.mdx | 2 +- es/sandbox/scenarios.mdx | 4 ++-- pt-br/guides/webhooks/cash-in.mdx | 2 +- pt-br/guides/webhooks/cash-out.mdx | 2 +- pt-br/guides/webhooks/overview.mdx | 2 +- pt-br/guides/webhooks/refund-in.mdx | 2 +- pt-br/guides/webhooks/refund-out.mdx | 2 +- pt-br/sandbox/scenarios.mdx | 4 ++-- 18 files changed, 21 insertions(+), 21 deletions(-) diff --git a/en/guides/webhooks/cash-in.mdx b/en/guides/webhooks/cash-in.mdx index 217b176..8d0655d 100644 --- a/en/guides/webhooks/cash-in.mdx +++ b/en/guides/webhooks/cash-in.mdx @@ -23,7 +23,7 @@ The `cash_in` webhook type receives the lifecycle events of a charge created via ```json { "event": "transaction.cash_in.settled", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/en/guides/webhooks/cash-out.mdx b/en/guides/webhooks/cash-out.mdx index 213a68a..0fd8d25 100644 --- a/en/guides/webhooks/cash-out.mdx +++ b/en/guides/webhooks/cash-out.mdx @@ -23,7 +23,7 @@ The `cash_out` webhook type receives the lifecycle events of a transfer created ```json { "event": "transaction.cash_out.settled", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/en/guides/webhooks/overview.mdx b/en/guides/webhooks/overview.mdx index 10ecd98..f26d5ed 100644 --- a/en/guides/webhooks/overview.mdx +++ b/en/guides/webhooks/overview.mdx @@ -31,7 +31,7 @@ Every webhook delivers the same payload format: ```json { "event": "transaction.cash_in.settled", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/en/guides/webhooks/refund-in.mdx b/en/guides/webhooks/refund-in.mdx index d0980fe..36f6e4d 100644 --- a/en/guides/webhooks/refund-in.mdx +++ b/en/guides/webhooks/refund-in.mdx @@ -18,7 +18,7 @@ Common scenarios: ```json { "event": "transaction.cash_in.returned", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "RETURNED", diff --git a/en/guides/webhooks/refund-out.mdx b/en/guides/webhooks/refund-out.mdx index 75c2f6b..26836af 100644 --- a/en/guides/webhooks/refund-out.mdx +++ b/en/guides/webhooks/refund-out.mdx @@ -19,7 +19,7 @@ Common scenarios: ```json { "event": "transaction.cash_out.returned", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 50000, "currency": "MXN", "status": "RETURNED", diff --git a/en/sandbox/scenarios.mdx b/en/sandbox/scenarios.mdx index 4e2f0c7..dc51428 100644 --- a/en/sandbox/scenarios.mdx +++ b/en/sandbox/scenarios.mdx @@ -65,7 +65,7 @@ Fail in the HTTP response itself — no webhook is sent. ```json { "event": "transaction.cash_out.settled", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 15000, "currency": "MXN", "status": "LIQUIDATED", @@ -84,7 +84,7 @@ Fail in the HTTP response itself — no webhook is sent. ```json { "event": "transaction.cash_out.rejected", - "transactionId": "2b4c8d9e-3f56-4a1b-bc29-88a3b4c5d6f7", + "transactionId": "56790", "amount": 15000, "currency": "MXN", "status": "REJECTED", diff --git a/es/guides/webhooks/cash-in.mdx b/es/guides/webhooks/cash-in.mdx index af9a133..afef126 100644 --- a/es/guides/webhooks/cash-in.mdx +++ b/es/guides/webhooks/cash-in.mdx @@ -23,7 +23,7 @@ El webhook del tipo `cash_in` recibe los eventos del ciclo de vida de un cobro c ```json { "event": "transaction.cash_in.settled", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/es/guides/webhooks/cash-out.mdx b/es/guides/webhooks/cash-out.mdx index ac0f07a..d8c9900 100644 --- a/es/guides/webhooks/cash-out.mdx +++ b/es/guides/webhooks/cash-out.mdx @@ -23,7 +23,7 @@ El webhook del tipo `cash_out` recibe los eventos del ciclo de vida de una trans ```json { "event": "transaction.cash_out.settled", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/es/guides/webhooks/overview.mdx b/es/guides/webhooks/overview.mdx index a747f52..ef30613 100644 --- a/es/guides/webhooks/overview.mdx +++ b/es/guides/webhooks/overview.mdx @@ -31,7 +31,7 @@ Todo webhook entrega el mismo formato de payload: ```json { "event": "transaction.cash_in.settled", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/es/guides/webhooks/refund-in.mdx b/es/guides/webhooks/refund-in.mdx index 530e1ab..d16982e 100644 --- a/es/guides/webhooks/refund-in.mdx +++ b/es/guides/webhooks/refund-in.mdx @@ -18,7 +18,7 @@ Escenarios comunes: ```json { "event": "transaction.cash_in.returned", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "RETURNED", diff --git a/es/guides/webhooks/refund-out.mdx b/es/guides/webhooks/refund-out.mdx index 34cb184..1ec72ed 100644 --- a/es/guides/webhooks/refund-out.mdx +++ b/es/guides/webhooks/refund-out.mdx @@ -19,7 +19,7 @@ Escenarios comunes: ```json { "event": "transaction.cash_out.returned", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 50000, "currency": "MXN", "status": "RETURNED", diff --git a/es/sandbox/scenarios.mdx b/es/sandbox/scenarios.mdx index fe6e0a3..30b0f69 100644 --- a/es/sandbox/scenarios.mdx +++ b/es/sandbox/scenarios.mdx @@ -65,7 +65,7 @@ Escenario `success` en un cash-out — el webhook `cash_out` recibe: ```json { "event": "transaction.cash_out.settled", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 15000, "currency": "MXN", "status": "LIQUIDATED", @@ -84,7 +84,7 @@ Escenario `insufficient_funds` — el webhook `cash_out` recibe: ```json { "event": "transaction.cash_out.rejected", - "transactionId": "2b4c8d9e-3f56-4a1b-bc29-88a3b4c5d6f7", + "transactionId": "56790", "amount": 15000, "currency": "MXN", "status": "REJECTED", diff --git a/pt-br/guides/webhooks/cash-in.mdx b/pt-br/guides/webhooks/cash-in.mdx index b1d424d..eda827c 100644 --- a/pt-br/guides/webhooks/cash-in.mdx +++ b/pt-br/guides/webhooks/cash-in.mdx @@ -23,7 +23,7 @@ O webhook do tipo `cash_in` recebe os eventos do ciclo de vida de uma cobrança ```json { "event": "transaction.cash_in.settled", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/pt-br/guides/webhooks/cash-out.mdx b/pt-br/guides/webhooks/cash-out.mdx index 66a4257..e214e7b 100644 --- a/pt-br/guides/webhooks/cash-out.mdx +++ b/pt-br/guides/webhooks/cash-out.mdx @@ -23,7 +23,7 @@ O webhook do tipo `cash_out` recebe os eventos do ciclo de vida de uma transfer ```json { "event": "transaction.cash_out.settled", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/pt-br/guides/webhooks/overview.mdx b/pt-br/guides/webhooks/overview.mdx index 53f0a81..b13f596 100644 --- a/pt-br/guides/webhooks/overview.mdx +++ b/pt-br/guides/webhooks/overview.mdx @@ -31,7 +31,7 @@ Todo webhook entrega o mesmo formato de payload: ```json { "event": "transaction.cash_in.settled", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "LIQUIDATED", diff --git a/pt-br/guides/webhooks/refund-in.mdx b/pt-br/guides/webhooks/refund-in.mdx index 0f55118..e8091c7 100644 --- a/pt-br/guides/webhooks/refund-in.mdx +++ b/pt-br/guides/webhooks/refund-in.mdx @@ -18,7 +18,7 @@ Cenários comuns: ```json { "event": "transaction.cash_in.returned", - "transactionId": "8e2c5b6f-3a12-4b9c-9a18-77a2b3c4d5e6", + "transactionId": "12345", "amount": 50000, "currency": "MXN", "status": "RETURNED", diff --git a/pt-br/guides/webhooks/refund-out.mdx b/pt-br/guides/webhooks/refund-out.mdx index 137552b..4414342 100644 --- a/pt-br/guides/webhooks/refund-out.mdx +++ b/pt-br/guides/webhooks/refund-out.mdx @@ -19,7 +19,7 @@ Cenários comuns: ```json { "event": "transaction.cash_out.returned", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 50000, "currency": "MXN", "status": "RETURNED", diff --git a/pt-br/sandbox/scenarios.mdx b/pt-br/sandbox/scenarios.mdx index aca3ee4..64d723b 100644 --- a/pt-br/sandbox/scenarios.mdx +++ b/pt-br/sandbox/scenarios.mdx @@ -65,7 +65,7 @@ Cenário `success` em um cash-out — o webhook `cash_out` recebe: ```json { "event": "transaction.cash_out.settled", - "transactionId": "1a3f9e8d-2c47-4b9c-aa18-77a2b3c4d5e6", + "transactionId": "56789", "amount": 15000, "currency": "MXN", "status": "LIQUIDATED", @@ -84,7 +84,7 @@ Cenário `insufficient_funds` — o webhook `cash_out` recebe: ```json { "event": "transaction.cash_out.rejected", - "transactionId": "2b4c8d9e-3f56-4a1b-bc29-88a3b4c5d6f7", + "transactionId": "56790", "amount": 15000, "currency": "MXN", "status": "REJECTED",