{
  "info": {
    "name": "PayZu Payments",
    "description": "API do PayZu Payments: cobranças no cartão de crédito com 3DS e antifraude, cobranças Pix, estornos, chargebacks, recorrência no cartão e cotações de moedas.\n\nValores em centavos. Por padrão, a credencial exige mTLS: configure o certificado do cliente no Postman, em Settings, Certificates, para o host da API. Sem ele, a API responde 401 com `Não foi possível verificar o certificado.`. Se a PayZu desligou essa exigência na sua credencial, o certificado não é necessário. Preencha `clientId` e `clientSecret` com a credencial.\n\nRode primeiro \"Gerar um token de acesso\": ela grava o token de acesso na variável `token`.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.payzu.io/v1"
    },
    {
      "key": "clientId",
      "value": ""
    },
    {
      "key": "clientSecret",
      "value": ""
    },
    {
      "key": "token",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Autenticação",
      "item": [
        {
          "name": "Gerar um token de acesso",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/token",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "token"
              ]
            },
            "description": "Gerar um token de acesso",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"grant_type\": \"client_credentials\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "basic",
              "basic": [
                {
                  "key": "username",
                  "value": "{{clientId}}",
                  "type": "string"
                },
                {
                  "key": "password",
                  "value": "{{clientSecret}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Token emitido",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/token",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "token"
                  ]
                }
              },
              "status": "Token emitido",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n  \"token_type\": \"bearer\",\n  \"expires_in\": 3600\n}",
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "if (body.access_token) pm.collectionVariables.set('token', body.access_token);"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "Cobranças",
      "item": [
        {
          "name": "Criar uma cobrança com cartão",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/charges",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges"
              ]
            },
            "description": "Criar uma cobrança com cartão",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 10000,\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"phone\": \"5511999998888\"\n  },\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"paymentType\": \"creditcard\",\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"card\": {\n      \"number\": \"4111111111111111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"cvv\": \"123\"\n    }\n  },\n  \"externalId\": \"pedido-1234\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Cobrança criada",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges"
                  ]
                }
              },
              "status": "Cobrança criada",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n  \"externalId\": \"pedido-1234\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"creditcard\",\n  \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n  \"updatedAt\": \"2026-06-12T14:35:24.000Z\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"birthdate\": \"1990-04-15\",\n    \"phone\": \"5511999998888\",\n    \"address\": {\n      \"street\": \"Avenida Paulista\",\n      \"number\": \"1000\",\n      \"zipCode\": \"01310100\",\n      \"city\": \"São Paulo\",\n      \"state\": \"SP\",\n      \"country\": \"BR\",\n      \"district\": \"Bela Vista\",\n      \"complement\": \"Conjunto 101\"\n    }\n  },\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"currency\": \"BRL\",\n    \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n    \"authorizationCode\": \"128734\",\n    \"reasonCode\": 0,\n    \"retryAllowed\": null,\n    \"retryAfter\": null,\n    \"reasonMessage\": \"Successful\",\n    \"status\": 2,\n    \"returnCode\": \"6\",\n    \"returnMessage\": \"Operação realizada com sucesso\",\n    \"externalAuthentication\": {},\n    \"reversedAmount\": null,\n    \"reversedDate\": null,\n    \"card\": {\n      \"number\": \"411111******1111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"brand\": \"Visa\"\n    },\n    \"chargebacks\": []\n  },\n  \"pixPayment\": null\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Criar uma cobrança com Pix",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/charges",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges"
              ]
            },
            "description": "Criar uma cobrança com Pix",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 10000,\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\"\n  },\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"paymentType\": \"pix\",\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"externalId\": \"pedido-1235\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Cobrança criada",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges"
                  ]
                }
              },
              "status": "Cobrança criada",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"0b9c4e2a-6f1d-4c8e-9a37-2d5e8f1a4b6c\",\n  \"externalId\": \"pedido-1235\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"pix\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": null,\n    \"birthdate\": null,\n    \"phone\": null,\n    \"address\": null\n  },\n  \"cart\": [],\n  \"creditCardPayment\": null,\n  \"pixPayment\": {\n    \"status\": \"pending\",\n    \"qrCode\": \"00020101021226800014br.gov.bcb.pix2558pix.example.com/qr/v2/9d36b84f-c70b-478f-b95c-12729b90ca255204000053039865802BR5912LOJA EXEMPLO6009SAO PAULO62070503***6304D233\",\n    \"expiresAt\": \"2026-06-12T17:02:10.000Z\",\n    \"paidAt\": null,\n    \"canceledAt\": null,\n    \"endToEndId\": null,\n    \"refunds\": []\n  },\n  \"recurrence\": null,\n  \"recurrenceCycle\": null,\n  \"createdAt\": \"2026-06-12T16:02:10.000Z\",\n  \"updatedAt\": \"2026-06-12T16:02:10.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Listar as cobranças",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges?limit=10&page=1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges"
              ],
              "query": [
                {
                  "key": "startDate",
                  "value": "",
                  "description": "Início do período.",
                  "disabled": true
                },
                {
                  "key": "endDate",
                  "value": "",
                  "description": "Fim do período.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "10",
                  "description": "Itens por página."
                },
                {
                  "key": "page",
                  "value": "1",
                  "description": "Número da página."
                },
                {
                  "key": "recurrentPaymentId",
                  "value": "",
                  "description": "Lista só a cobrança inicial e os ciclos da recorrência.",
                  "disabled": true
                }
              ]
            },
            "description": "Listar as cobranças"
          },
          "response": [
            {
              "name": "Lista de cobranças",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges?limit=10&page=1",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges"
                  ],
                  "query": [
                    {
                      "key": "startDate",
                      "value": "",
                      "description": "Início do período.",
                      "disabled": true
                    },
                    {
                      "key": "endDate",
                      "value": "",
                      "description": "Fim do período.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "10",
                      "description": "Itens por página."
                    },
                    {
                      "key": "page",
                      "value": "1",
                      "description": "Número da página."
                    },
                    {
                      "key": "recurrentPaymentId",
                      "value": "",
                      "description": "Lista só a cobrança inicial e os ciclos da recorrência.",
                      "disabled": true
                    }
                  ]
                }
              },
              "status": "Lista de cobranças",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"page\": 1,\n  \"total\": 2,\n  \"totalPages\": 1,\n  \"charges\": [\n    {\n      \"id\": \"0b9c4e2a-6f1d-4c8e-9a37-2d5e8f1a4b6c\",\n      \"externalId\": \"pedido-1235\",\n      \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n      \"amount\": 10000,\n      \"paymentType\": \"pix\",\n      \"customer\": {\n        \"name\": \"Maria Souza\",\n        \"identity\": \"11144477735\",\n        \"identityType\": \"CPF\",\n        \"email\": null,\n        \"birthdate\": null,\n        \"phone\": null,\n        \"address\": null\n      },\n      \"cart\": [],\n      \"creditCardPayment\": null,\n      \"pixPayment\": {\n        \"status\": \"paid\",\n        \"qrCode\": \"00020101021226800014br.gov.bcb.pix2558pix.example.com/qr/v2/9d36b84f-c70b-478f-b95c-12729b90ca255204000053039865802BR5912LOJA EXEMPLO6009SAO PAULO62070503***6304D233\",\n        \"expiresAt\": \"2026-06-12T17:02:10.000Z\",\n        \"paidAt\": \"2026-06-12T16:05:38.000Z\",\n        \"canceledAt\": null,\n        \"endToEndId\": \"E00000000202606121605a1B2c3D4e5F\",\n        \"refunds\": []\n      },\n      \"recurrence\": null,\n      \"recurrenceCycle\": null,\n      \"createdAt\": \"2026-06-12T16:02:10.000Z\",\n      \"updatedAt\": \"2026-06-12T16:05:41.000Z\"\n    },\n    {\n      \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n      \"externalId\": \"pedido-1234\",\n      \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n      \"amount\": 10000,\n      \"paymentType\": \"creditcard\",\n      \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n      \"updatedAt\": \"2026-06-12T14:35:24.000Z\",\n      \"customer\": {\n        \"name\": \"Maria Souza\",\n        \"identity\": \"11144477735\",\n        \"identityType\": \"CPF\",\n        \"email\": \"maria.souza@example.com\",\n        \"birthdate\": \"1990-04-15\",\n        \"phone\": \"5511999998888\",\n        \"address\": {\n          \"street\": \"Avenida Paulista\",\n          \"number\": \"1000\",\n          \"zipCode\": \"01310100\",\n          \"city\": \"São Paulo\",\n          \"state\": \"SP\",\n          \"country\": \"BR\",\n          \"district\": \"Bela Vista\",\n          \"complement\": \"Conjunto 101\"\n        }\n      },\n      \"cart\": [\n        {\n          \"name\": \"Plano Pro\",\n          \"quantity\": 1,\n          \"sku\": \"PRO\",\n          \"unitPrice\": 10000\n        }\n      ],\n      \"creditCardPayment\": {\n        \"installments\": 1,\n        \"authenticate\": false,\n        \"currency\": \"BRL\",\n        \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n        \"authorizationCode\": \"128734\",\n        \"reasonCode\": 0,\n        \"status\": 2,\n        \"reversedAmount\": null,\n        \"reversedDate\": null,\n        \"card\": {\n          \"number\": \"411111******1111\",\n          \"holder\": \"MARIA SOUZA\",\n          \"expiration\": \"12/2030\",\n          \"brand\": \"Visa\"\n        },\n        \"chargebacks\": []\n      },\n      \"pixPayment\": null\n    }\n  ]\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Consultar uma cobrança",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/:chargeId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                ":chargeId"
              ],
              "variable": [
                {
                  "key": "chargeId",
                  "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                  "description": "ID da cobrança."
                }
              ]
            },
            "description": "Consultar uma cobrança"
          },
          "response": [
            {
              "name": "Cobrança encontrada",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/:chargeId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    ":chargeId"
                  ],
                  "variable": [
                    {
                      "key": "chargeId",
                      "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                      "description": "ID da cobrança."
                    }
                  ]
                }
              },
              "status": "Cobrança encontrada",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n  \"externalId\": \"pedido-1234\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"creditcard\",\n  \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n  \"updatedAt\": \"2026-06-12T14:35:24.000Z\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"birthdate\": \"1990-04-15\",\n    \"phone\": \"5511999998888\",\n    \"address\": {\n      \"street\": \"Avenida Paulista\",\n      \"number\": \"1000\",\n      \"zipCode\": \"01310100\",\n      \"city\": \"São Paulo\",\n      \"state\": \"SP\",\n      \"country\": \"BR\",\n      \"district\": \"Bela Vista\",\n      \"complement\": \"Conjunto 101\"\n    }\n  },\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"currency\": \"BRL\",\n    \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n    \"authorizationCode\": \"128734\",\n    \"reasonCode\": 0,\n    \"retryAllowed\": null,\n    \"retryAfter\": null,\n    \"status\": 2,\n    \"reversedAmount\": null,\n    \"reversedDate\": null,\n    \"card\": {\n      \"number\": \"411111******1111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"brand\": \"Visa\"\n    },\n    \"chargebacks\": []\n  },\n  \"pixPayment\": null\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Estornar ou devolver uma cobrança",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/:chargeId/reverse",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                ":chargeId",
                "reverse"
              ],
              "variable": [
                {
                  "key": "chargeId",
                  "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                  "description": "ID da cobrança a estornar ou devolver."
                }
              ]
            },
            "description": "Estornar ou devolver uma cobrança"
          },
          "response": [
            {
              "name": "Estorno ou devolução pedida",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/:chargeId/reverse",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    ":chargeId",
                    "reverse"
                  ],
                  "variable": [
                    {
                      "key": "chargeId",
                      "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                      "description": "ID da cobrança a estornar ou devolver."
                    }
                  ]
                }
              },
              "status": "Estorno ou devolução pedida",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n  \"externalId\": \"pedido-1234\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"creditcard\",\n  \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n  \"updatedAt\": \"2026-06-12T14:35:24.000Z\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"birthdate\": \"1990-04-15\",\n    \"phone\": \"5511999998888\",\n    \"address\": {\n      \"street\": \"Avenida Paulista\",\n      \"number\": \"1000\",\n      \"zipCode\": \"01310100\",\n      \"city\": \"São Paulo\",\n      \"state\": \"SP\",\n      \"country\": \"BR\",\n      \"district\": \"Bela Vista\",\n      \"complement\": \"Conjunto 101\"\n    }\n  },\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"currency\": \"BRL\",\n    \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n    \"authorizationCode\": \"128734\",\n    \"reasonCode\": 0,\n    \"status\": 11,\n    \"reversedAmount\": 10000,\n    \"reversedDate\": \"2026-06-13T09:12:45.000Z\",\n    \"card\": {\n      \"number\": \"411111******1111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"brand\": \"Visa\"\n    },\n    \"chargebacks\": []\n  },\n  \"pixPayment\": null\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "Chargebacks",
      "item": [
        {
          "name": "Acatar um chargeback",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/:chargeId/chargebacks/:number/accept",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                ":chargeId",
                "chargebacks",
                ":number",
                "accept"
              ],
              "variable": [
                {
                  "key": "chargeId",
                  "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                  "description": "ID da cobrança."
                },
                {
                  "key": "number",
                  "value": "4821375",
                  "description": "Número do chargeback."
                }
              ]
            },
            "description": "Acatar um chargeback"
          },
          "response": [
            {
              "name": "Chargeback acatado",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/:chargeId/chargebacks/:number/accept",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    ":chargeId",
                    "chargebacks",
                    ":number",
                    "accept"
                  ],
                  "variable": [
                    {
                      "key": "chargeId",
                      "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                      "description": "ID da cobrança."
                    },
                    {
                      "key": "number",
                      "value": "4821375",
                      "description": "Número do chargeback."
                    }
                  ]
                }
              },
              "status": "Chargeback acatado",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n  \"externalId\": \"pedido-1234\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"creditcard\",\n  \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n  \"updatedAt\": \"2026-07-03T13:20:06.000Z\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"birthdate\": \"1990-04-15\",\n    \"phone\": \"5511999998888\",\n    \"address\": {\n      \"street\": \"Avenida Paulista\",\n      \"number\": \"1000\",\n      \"zipCode\": \"01310100\",\n      \"city\": \"São Paulo\",\n      \"state\": \"SP\",\n      \"country\": \"BR\",\n      \"district\": \"Bela Vista\",\n      \"complement\": \"Conjunto 101\"\n    }\n  },\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"currency\": \"BRL\",\n    \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n    \"authorizationCode\": \"128734\",\n    \"reasonCode\": 0,\n    \"status\": 2,\n    \"reversedAmount\": 10000,\n    \"reversedDate\": \"2026-07-03T13:20:06.000Z\",\n    \"card\": {\n      \"number\": \"411111******1111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"brand\": \"Visa\"\n    },\n    \"chargebacks\": [\n      {\n        \"number\": \"4821375\",\n        \"amount\": 10000,\n        \"status\": \"ACCEPTED\",\n        \"reasonCode\": \"4837\",\n        \"reasonDescription\": \"Transação não reconhecida pelo portador\",\n        \"issuedAt\": \"2026-07-01T00:00:00.000Z\",\n        \"defenseDeadline\": \"2026-07-11T00:00:00.000Z\",\n        \"response\": {\n          \"action\": \"ACCEPT\",\n          \"reason\": null,\n          \"disputeId\": \"c7d2e9a4-1f3b-4c58-9e60-2a7b8c9d0e1f\",\n          \"documentName\": null,\n          \"documentType\": null,\n          \"documentSize\": null,\n          \"documentHash\": null,\n          \"respondedBy\": \"api:loja-exemplo\",\n          \"providerMessage\": null,\n          \"createdAt\": \"2026-07-03T13:20:05.000Z\"\n        },\n        \"createdAt\": \"2026-07-01T10:15:00.000Z\",\n        \"updatedAt\": \"2026-07-03T13:20:06.000Z\"\n      }\n    ]\n  },\n  \"pixPayment\": null\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Contestar um chargeback com documento",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/:chargeId/chargebacks/:number/defense",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                ":chargeId",
                "chargebacks",
                ":number",
                "defense"
              ],
              "variable": [
                {
                  "key": "chargeId",
                  "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                  "description": "ID da cobrança."
                },
                {
                  "key": "number",
                  "value": "4821375",
                  "description": "Número do chargeback."
                }
              ]
            },
            "description": "Contestar um chargeback com documento",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "reason",
                  "value": "Produto entregue no endereço do comprador, com comprovante de entrega assinado.",
                  "type": "text",
                  "description": "Justificativa da contestação."
                },
                {
                  "key": "document",
                  "type": "file",
                  "src": [],
                  "description": "Documento que sustenta a defesa."
                }
              ]
            }
          },
          "response": [
            {
              "name": "Chargeback contestado",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/:chargeId/chargebacks/:number/defense",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    ":chargeId",
                    "chargebacks",
                    ":number",
                    "defense"
                  ],
                  "variable": [
                    {
                      "key": "chargeId",
                      "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                      "description": "ID da cobrança."
                    },
                    {
                      "key": "number",
                      "value": "4821375",
                      "description": "Número do chargeback."
                    }
                  ]
                }
              },
              "status": "Chargeback contestado",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n  \"externalId\": \"pedido-1234\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"creditcard\",\n  \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n  \"updatedAt\": \"2026-07-03T13:20:06.000Z\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"birthdate\": \"1990-04-15\",\n    \"phone\": \"5511999998888\",\n    \"address\": {\n      \"street\": \"Avenida Paulista\",\n      \"number\": \"1000\",\n      \"zipCode\": \"01310100\",\n      \"city\": \"São Paulo\",\n      \"state\": \"SP\",\n      \"country\": \"BR\",\n      \"district\": \"Bela Vista\",\n      \"complement\": \"Conjunto 101\"\n    }\n  },\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"currency\": \"BRL\",\n    \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n    \"authorizationCode\": \"128734\",\n    \"reasonCode\": 0,\n    \"status\": 2,\n    \"reversedAmount\": null,\n    \"reversedDate\": null,\n    \"card\": {\n      \"number\": \"411111******1111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"brand\": \"Visa\"\n    },\n    \"chargebacks\": [\n      {\n        \"number\": \"4821375\",\n        \"amount\": 10000,\n        \"status\": \"DEFENDED\",\n        \"reasonCode\": \"4837\",\n        \"reasonDescription\": \"Transação não reconhecida pelo portador\",\n        \"issuedAt\": \"2026-07-01T00:00:00.000Z\",\n        \"defenseDeadline\": \"2026-07-11T00:00:00.000Z\",\n        \"response\": {\n          \"action\": \"DEFENSE\",\n          \"reason\": \"Produto entregue no endereço do comprador, com comprovante de entrega assinado.\",\n          \"disputeId\": \"c7d2e9a4-1f3b-4c58-9e60-2a7b8c9d0e1f\",\n          \"documentName\": \"comprovante-entrega.pdf\",\n          \"documentType\": \"application/pdf\",\n          \"documentSize\": 184320,\n          \"documentHash\": \"9f2b6c1e4d8a7f3b0c5e2d9a6b1f4c8e7d3a0b5f2c9e6d1a8b4f7c3e0d5a2b9f\",\n          \"respondedBy\": \"api:loja-exemplo\",\n          \"providerMessage\": null,\n          \"createdAt\": \"2026-07-03T13:20:05.000Z\"\n        },\n        \"createdAt\": \"2026-07-01T10:15:00.000Z\",\n        \"updatedAt\": \"2026-07-03T13:20:06.000Z\"\n      }\n    ]\n  },\n  \"pixPayment\": null\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Baixar o documento de uma contestação",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/:chargeId/chargebacks/:number/document",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                ":chargeId",
                "chargebacks",
                ":number",
                "document"
              ],
              "variable": [
                {
                  "key": "chargeId",
                  "value": "e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90",
                  "description": "ID da cobrança."
                },
                {
                  "key": "number",
                  "value": "4821375",
                  "description": "Número do chargeback."
                }
              ]
            },
            "description": "Baixar o documento de uma contestação"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Recorrência no cartão",
      "item": [
        {
          "name": "Criar uma recorrência no cartão",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/charges",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges"
              ]
            },
            "description": "Criar uma recorrência no cartão",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 10000,\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"phone\": \"5511999998888\"\n  },\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"paymentType\": \"creditcard\",\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"card\": {\n      \"number\": \"4111111111111111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"cvv\": \"123\"\n    }\n  },\n  \"recurrence\": {\n    \"interval\": \"Monthly\",\n    \"endDate\": \"2027-06-12\"\n  },\n  \"externalId\": \"recorrencia-123\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Recorrência criada",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges"
                  ]
                }
              },
              "status": "Recorrência criada",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"e3b7a1f2-8c4d-4a09-9f1e-2b6c8d5a7e90\",\n  \"externalId\": \"recorrencia-123\",\n  \"postbackUrl\": \"https://seusite.com.br/webhooks/payzu\",\n  \"amount\": 10000,\n  \"paymentType\": \"creditcard\",\n  \"createdAt\": \"2026-06-12T14:35:22.000Z\",\n  \"updatedAt\": \"2026-06-12T14:35:24.000Z\",\n  \"customer\": {\n    \"name\": \"Maria Souza\",\n    \"identity\": \"11144477735\",\n    \"identityType\": \"CPF\",\n    \"email\": \"maria.souza@example.com\",\n    \"birthdate\": \"1990-04-15\",\n    \"phone\": \"5511999998888\",\n    \"address\": {\n      \"street\": \"Avenida Paulista\",\n      \"number\": \"1000\",\n      \"zipCode\": \"01310100\",\n      \"city\": \"São Paulo\",\n      \"state\": \"SP\",\n      \"country\": \"BR\",\n      \"district\": \"Bela Vista\",\n      \"complement\": \"Conjunto 101\"\n    }\n  },\n  \"cart\": [\n    {\n      \"name\": \"Plano Pro\",\n      \"quantity\": 1,\n      \"sku\": \"PRO\",\n      \"unitPrice\": 10000\n    }\n  ],\n  \"creditCardPayment\": {\n    \"installments\": 1,\n    \"authenticate\": false,\n    \"currency\": \"BRL\",\n    \"acquirerTransactionId\": \"1049329871283a5d2b8e\",\n    \"authorizationCode\": \"128734\",\n    \"reasonCode\": 0,\n    \"retryAllowed\": null,\n    \"retryAfter\": null,\n    \"reasonMessage\": \"Successful\",\n    \"status\": 2,\n    \"returnCode\": \"6\",\n    \"returnMessage\": \"Operação realizada com sucesso\",\n    \"externalAuthentication\": {},\n    \"reversedAmount\": null,\n    \"reversedDate\": null,\n    \"card\": {\n      \"number\": \"411111******1111\",\n      \"holder\": \"MARIA SOUZA\",\n      \"expiration\": \"12/2030\",\n      \"brand\": \"Visa\"\n    },\n    \"chargebacks\": []\n  },\n  \"pixPayment\": null,\n  \"recurrence\": {\n    \"recurrentPaymentId\": \"5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n    \"interval\": \"MONTHLY\",\n    \"status\": \"ACTIVE\",\n    \"amount\": 10000,\n    \"nextRecurrency\": \"2026-07-12T00:00:00.000Z\",\n    \"endDate\": \"2027-06-12T00:00:00.000Z\"\n  },\n  \"recurrenceCycle\": 0\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Consultar uma recorrência",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                "recurrences",
                ":recurrentPaymentId"
              ],
              "variable": [
                {
                  "key": "recurrentPaymentId",
                  "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                  "description": "ID da recorrência."
                }
              ]
            },
            "description": "Consultar uma recorrência"
          },
          "response": [
            {
              "name": "Recorrência encontrada",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    "recurrences",
                    ":recurrentPaymentId"
                  ],
                  "variable": [
                    {
                      "key": "recurrentPaymentId",
                      "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                      "description": "ID da recorrência."
                    }
                  ]
                }
              },
              "status": "Recorrência encontrada",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"recurrentPaymentId\": \"5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n  \"interval\": \"MONTHLY\",\n  \"status\": \"ACTIVE\",\n  \"amount\": 10000,\n  \"nextRecurrency\": \"2026-07-12T00:00:00.000Z\",\n  \"endDate\": \"2027-06-12T00:00:00.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Alterar o valor de uma recorrência",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId/amount",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                "recurrences",
                ":recurrentPaymentId",
                "amount"
              ],
              "variable": [
                {
                  "key": "recurrentPaymentId",
                  "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                  "description": "ID da recorrência."
                }
              ]
            },
            "description": "Alterar o valor de uma recorrência",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 12000\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Valor alterado",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId/amount",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    "recurrences",
                    ":recurrentPaymentId",
                    "amount"
                  ],
                  "variable": [
                    {
                      "key": "recurrentPaymentId",
                      "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                      "description": "ID da recorrência."
                    }
                  ]
                }
              },
              "status": "Valor alterado",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"recurrentPaymentId\": \"5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n  \"interval\": \"MONTHLY\",\n  \"status\": \"ACTIVE\",\n  \"amount\": 12000,\n  \"nextRecurrency\": \"2026-07-12T00:00:00.000Z\",\n  \"endDate\": \"2027-06-12T00:00:00.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Desativar uma recorrência",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId/deactivate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                "recurrences",
                ":recurrentPaymentId",
                "deactivate"
              ],
              "variable": [
                {
                  "key": "recurrentPaymentId",
                  "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                  "description": "ID da recorrência."
                }
              ]
            },
            "description": "Desativar uma recorrência"
          },
          "response": [
            {
              "name": "Recorrência desativada",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId/deactivate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    "recurrences",
                    ":recurrentPaymentId",
                    "deactivate"
                  ],
                  "variable": [
                    {
                      "key": "recurrentPaymentId",
                      "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                      "description": "ID da recorrência."
                    }
                  ]
                }
              },
              "status": "Recorrência desativada",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"recurrentPaymentId\": \"5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n  \"interval\": \"MONTHLY\",\n  \"status\": \"INACTIVE\",\n  \"amount\": 10000,\n  \"nextRecurrency\": \"2026-07-12T00:00:00.000Z\",\n  \"endDate\": \"2027-06-12T00:00:00.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Reativar uma recorrência",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId/reactivate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "charges",
                "recurrences",
                ":recurrentPaymentId",
                "reactivate"
              ],
              "variable": [
                {
                  "key": "recurrentPaymentId",
                  "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                  "description": "ID da recorrência."
                }
              ]
            },
            "description": "Reativar uma recorrência",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"acceptRetroactiveCharges\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Recorrência reativada",
              "originalRequest": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/charges/recurrences/:recurrentPaymentId/reactivate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "charges",
                    "recurrences",
                    ":recurrentPaymentId",
                    "reactivate"
                  ],
                  "variable": [
                    {
                      "key": "recurrentPaymentId",
                      "value": "5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
                      "description": "ID da recorrência."
                    }
                  ]
                }
              },
              "status": "Recorrência reativada",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"recurrentPaymentId\": \"5f1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n  \"interval\": \"MONTHLY\",\n  \"status\": \"ACTIVE\",\n  \"amount\": 10000,\n  \"nextRecurrency\": \"2026-07-12T00:00:00.000Z\",\n  \"endDate\": \"2027-06-12T00:00:00.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "Cotações",
      "item": [
        {
          "name": "Consultar a cotação de uma moeda",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/currencies/:code/rate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "currencies",
                ":code",
                "rate"
              ],
              "variable": [
                {
                  "key": "code",
                  "value": "USD",
                  "description": "Código ISO 4217 da moeda."
                }
              ]
            },
            "description": "Consultar a cotação de uma moeda"
          },
          "response": [
            {
              "name": "Cotação atual",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/currencies/:code/rate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "currencies",
                    ":code",
                    "rate"
                  ],
                  "variable": [
                    {
                      "key": "code",
                      "value": "USD",
                      "description": "Código ISO 4217 da moeda."
                    }
                  ]
                }
              },
              "status": "Cotação atual",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"code\": \"USD\",\n  \"rate\": {\n    \"bid\": 5.42,\n    \"ask\": 5.43\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Converter um valor para outra moeda",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/currencies/:code/convert?amount=10000&type=ask",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "currencies",
                ":code",
                "convert"
              ],
              "query": [
                {
                  "key": "amount",
                  "value": "10000",
                  "description": "Valor a converter, em centavos de real."
                },
                {
                  "key": "type",
                  "value": "ask",
                  "description": "Usa a taxa de compra (bid) ou a de venda (ask)."
                }
              ],
              "variable": [
                {
                  "key": "code",
                  "value": "USD",
                  "description": "Código ISO 4217 da moeda de destino."
                }
              ]
            },
            "description": "Converter um valor para outra moeda"
          },
          "response": [
            {
              "name": "Valor convertido",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/currencies/:code/convert?amount=10000&type=ask",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "currencies",
                    ":code",
                    "convert"
                  ],
                  "query": [
                    {
                      "key": "amount",
                      "value": "10000",
                      "description": "Valor a converter, em centavos de real."
                    },
                    {
                      "key": "type",
                      "value": "ask",
                      "description": "Usa a taxa de compra (bid) ou a de venda (ask)."
                    }
                  ],
                  "variable": [
                    {
                      "key": "code",
                      "value": "USD",
                      "description": "Código ISO 4217 da moeda de destino."
                    }
                  ]
                }
              },
              "status": "Valor convertido",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"amount\": 1841.62,\n  \"currency\": {\n    \"code\": \"USD\",\n    \"rate\": {\n      \"ask\": 5.43\n    }\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "Listar as cotações",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/currencies/rates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "currencies",
                "rates"
              ]
            },
            "description": "Listar as cotações"
          },
          "response": [
            {
              "name": "Lista de cotações",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/currencies/rates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "currencies",
                    "rates"
                  ]
                }
              },
              "status": "Lista de cotações",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "[\n  {\n    \"code\": \"USD\",\n    \"rate\": {\n      \"bid\": 5.42,\n      \"ask\": 5.43\n    }\n  },\n  {\n    \"code\": \"EUR\",\n    \"rate\": {\n      \"bid\": 5.88,\n      \"ask\": 5.89\n    }\n  }\n]",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    }
  ]
}
