From eb6dd34fdfbfe9d60b439d78719816d084704289 Mon Sep 17 00:00:00 2001 From: Gabrielly Pereira Date: Tue, 13 Aug 2024 19:22:19 -0300 Subject: [PATCH 1/3] 1 --- reference/api-json/payments.json | 70 +++++++++++++++++++------------- 1 file changed, 42 insertions(+), 28 deletions(-) diff --git a/reference/api-json/payments.json b/reference/api-json/payments.json index 3b4716b2ba..481e905d88 100644 --- a/reference/api-json/payments.json +++ b/reference/api-json/payments.json @@ -3988,82 +3988,82 @@ "status": { "type": "string", "description": { - "en": "It is the current state of payment. It can be two following types.", - "pt": "É o estado atual do pagamento. Podem ser ser dos seguintes tipos", - "es": "Es el estado actual de pago. Puede ser de dos tipos siguientes." + "en": "It is the current state of payment. It can be two following types:", + "pt": "É o estado atual do pagamento. Podem ser dos seguintes tipos:", + "es": "Es el estado actual de pago. Puede ser de los siguientes tipos:" }, "example": "cancelled", "enum": [ { "title": "pending", "description": { - "en": "The user has not concluded the payment process (for example, to generate a payment by boleto, this payment will be concluded at the moment in which the user makes the non-corresponding payment selected);", - "es": "The user has not concluded the payment process (for example, to generate a payment by boleto, this payment will be concluded at the moment in which the user makes the non-corresponding payment selected);", - "pt": "The user has not concluded the payment process (for example, to generate a payment by boleto, this payment will be concluded at the moment in which the user makes the non-corresponding payment selected);" + "en": "The user has not concluded the payment process (for example, to generate a payment by boleto, this payment will be concluded at the moment in which the user makes the non-corresponding payment selected).", + "es": "El usuario no ha concluido el proceso de pago (por ejemplo, al generar un pago por tarjeta, se concluirá en el momento en que el usuario realice el pago en el lugar seleccionado).", + "pt": "O usuário não concluiu o processo de pagamento (por exemplo, ao gerar um boleto, ele será concluído no momento em que o usuário realizar o pagamento no local selecionado)." } }, { "title": "approved", "description": { - "en": "The payment was approved and credited;", - "es": "The payment was approved and credited;", - "pt": "The payment was approved and credited;" + "en": "The payment was approved and credited.", + "es": "El pago ha sido aprobado y acreditado.", + "pt": "O pagamento foi aprovado e creditado." } }, { "title": "authorized", "description": { - "en": "The payment was authorized, but still was not captured;", - "es": "The payment was authorized, but still was not captured;", - "pt": "The payment was authorized, but still was not captured;" + "en": "The payment was authorized, but still was not captured.", + "es": "El pago ha sido autorizado, pero aún no ha sido capturado.", + "pt": "O pagamento foi autorizado, mas ainda não foi capturado." } }, { "title": "in_process", "description": { - "en": "The payment is in analysis;", - "es": "The payment is in analysis;", - "pt": "The payment is in analysis;" + "en": "The payment is in analysis.", + "es": "El pago está en análisis.", + "pt": "O pagamento está em análise." } }, { "title": "in_mediation", "description": { - "en": "The user started a dispute;", - "es": "The user started a dispute;", - "pt": "The user started a dispute;" + "en": "The user started a dispute.", + "es": "El usuario inició una disputa.", + "pt": "O usuário iniciou uma disputa." } }, { "title": "rejected", "description": { - "en": "The payment was rejected. (The user can try the payment again);", - "es": "The payment was rejected. (The user can try the payment again);", - "pt": "The payment was rejected. (The user can try the payment again);" + "en": "The payment was rejected. (The user can try the payment again).", + "es": "El pago fue rechazado (el usuario puede intentar pagar nuevamente).", + "pt": "O pagamento foi rejeitado (o usuário pode tentar pagar novamente)" } }, { "title": "cancelled", "description": { - "en": "Either the payment was canceled by one of the parties or the payment expired;", - "es": "Either the payment was canceled by one of the parties or the payment expired;", - "pt": "Either the payment was canceled by one of the parties or the payment expired;" + "en": "Either the payment was canceled by one of the parties or the payment expired.", + "es": "Ya sea que el pago fue cancelado por una de las partes o expiró.", + "pt": "Ou o pagamento foi cancelado por uma das partes ou expirou." } }, { "title": "refunded", "description": { "en": "The payment was returned to the user;", - "es": "The payment was returned to the user;", - "pt": "The payment was returned to the user;" + "es": "El pago fue devuelto al usuario.", + "pt": "O pagamento foi devolvido ao usuário." } }, { "title": "charged_back", "description": { "en": "A chargeback was placed on the buyer's credit card.", - "es": "A chargeback was placed on the buyer's credit card.", - "pt": "A chargeback was placed on the buyer's credit card." + "es": "Se realizó una devolución en la tarjeta de crédito del comprador", + "pt": "Foi realizado um estorno no cartão de crédito do comprador." } } ] @@ -5383,6 +5383,20 @@ "example": "ID_REF" } }, + { + "name": "status", + "in": "query", + "description": { + "en": "It is possible to filter by the current state of the payment. It can be of the following types: 'pending': The user has not concluded the payment process (for example, to generate a payment by boleto, this payment will be concluded at the moment in which the user makes the non-corresponding payment selected); 'approved': The payment was approved and credited; 'authorized': The payment was authorized, but still was not captured.", + "pt": "É possível filtrar pelo estado atual do pagamento. Podem ser dos seguintes tipos: 'pending': O usuário não concluiu o processo de pagamento (por exemplo, ao gerar um boleto, ele será concluído no momento em que o usuário realizar o pagamento no local selecionado); 'approved': O pagamento foi aprovado e creditado; 'authorized': O pagamento foi autorizado, mas ainda não foi capturado.", + "es": "Es posible filtrar por el estado actual del pago. Puede ser de los siguientes tipos: 'pending': El usuario no ha concluido el proceso de pago (por ejemplo, al generar un pago por tarjeta, se concluirá en el momento en que el usuario realice el pago en el lugar seleccionado); 'approved': El pago ha sido aprobado y acreditado; 'authorized': El pago ha sido autorizado, pero aún no ha sido capturado." + }, + "required": true, + "schema": { + "type": "string", + "example": "approved" + } + }, { "name": "range", "in": "query", From 7a20d824b3773a6495e69f31bfb635447c499b7f Mon Sep 17 00:00:00 2001 From: Gabrielly Pereira Date: Tue, 13 Aug 2024 19:28:56 -0300 Subject: [PATCH 2/3] 2 --- reference/api-json/payments.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/api-json/payments.json b/reference/api-json/payments.json index 481e905d88..d9804ab6fa 100644 --- a/reference/api-json/payments.json +++ b/reference/api-json/payments.json @@ -5391,7 +5391,7 @@ "pt": "É possível filtrar pelo estado atual do pagamento. Podem ser dos seguintes tipos: 'pending': O usuário não concluiu o processo de pagamento (por exemplo, ao gerar um boleto, ele será concluído no momento em que o usuário realizar o pagamento no local selecionado); 'approved': O pagamento foi aprovado e creditado; 'authorized': O pagamento foi autorizado, mas ainda não foi capturado.", "es": "Es posible filtrar por el estado actual del pago. Puede ser de los siguientes tipos: 'pending': El usuario no ha concluido el proceso de pago (por ejemplo, al generar un pago por tarjeta, se concluirá en el momento en que el usuario realice el pago en el lugar seleccionado); 'approved': El pago ha sido aprobado y acreditado; 'authorized': El pago ha sido autorizado, pero aún no ha sido capturado." }, - "required": true, + "required": false, "schema": { "type": "string", "example": "approved" From ab8d668faa951d53c2e2b61e0199898d60f40e0d Mon Sep 17 00:00:00 2001 From: hgaldino Date: Tue, 13 Aug 2024 20:50:02 -0300 Subject: [PATCH 3/3] heits --- reference/api-json/payouts_bank_transfer_mlb.json | 4 ++-- reference/api-json/payouts_bank_transfer_mlc.json | 2 +- reference/api-json/payouts_pix_mlb.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/api-json/payouts_bank_transfer_mlb.json b/reference/api-json/payouts_bank_transfer_mlb.json index e5fe2ac458..46c46b5b55 100644 --- a/reference/api-json/payouts_bank_transfer_mlb.json +++ b/reference/api-json/payouts_bank_transfer_mlb.json @@ -416,7 +416,7 @@ } }, { - "title": "in_process", + "title": "transaction_in_process", "description": { "en": "The transaction is in process, pending final status, and awaiting authorization.", "es": "La transacción está en proceso, pendiente de estado final, y aguarda autorización.", @@ -1121,7 +1121,7 @@ } }, { - "title": "in_process", + "title": "transaction_in_process", "description": { "en": "The transaction is in process, pending final status, and awaiting authorization.", "es": "La transacción está en proceso, pendiente de estado final, y aguarda autorización.", diff --git a/reference/api-json/payouts_bank_transfer_mlc.json b/reference/api-json/payouts_bank_transfer_mlc.json index 32a3796077..ba32a55b73 100644 --- a/reference/api-json/payouts_bank_transfer_mlc.json +++ b/reference/api-json/payouts_bank_transfer_mlc.json @@ -358,7 +358,7 @@ } }, { - "title": "in_process", + "title": "transaction_in_process", "description": { "en": "The transaction is in process, pending final status, and awaiting authorization.", "es": "La transacción está en proceso, pendiente de estado final, y aguarda autorización.", diff --git a/reference/api-json/payouts_pix_mlb.json b/reference/api-json/payouts_pix_mlb.json index 0cc107ff17..7c07db8383 100644 --- a/reference/api-json/payouts_pix_mlb.json +++ b/reference/api-json/payouts_pix_mlb.json @@ -429,7 +429,7 @@ } }, { - "title": "in_process", + "title": "transaction_in_process", "description": { "en": "The transaction is in process, pending final status, and awaiting authorization.", "es": "La transacción está en proceso, pendiente de estado final, y aguarda autorización.",