{"templateId":"markdown","versions":[{"version":"v2026.04","label":"v2026.04","link":"/pt-br/products/payments-direct-2/api-docs/get-started/base-urls","default":true,"active":true,"folderId":"7e5507fe"},{"version":"v2026.03","label":"v2026.03","link":"/pt-br/products/payments-direct-2/v2026.03/api-docs/get-started/base-urls","default":false,"active":false,"folderId":"7e5507fe"},{"version":"v2025.11","label":"v2025.11","link":"/pt-br/products/payments-direct-2/v2025.11/api-docs/get-started/base-urls","default":false,"active":false,"folderId":"7e5507fe"}],"sharedDataIds":{"sidebar":"sidebar-@l10n/pt-BR/products/payments-direct-2/@v2025.11/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"URLs base","description":"User guides, API reference, and support resources.","siteUrl":"https://docs.ripple.com","lang":"en-US"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"urls-base","__idx":0},"children":["URLs base"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A Ripple disponibiliza APIs RESTful para integrar, gerenciar e interagir com os produtos e serviços da Ripple. Para usar essas APIs, você precisa usar a URL base correta. A URL base faz parte de uma URL REST bem formada."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Para formar a requisição final da API, acrescente à URL base a versão, o caminho, o recurso e os parâmetros necessários."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Cada ambiente usa uma URL base própria"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Para mais informações sobre a URL base correta do ambiente de API com que você interage, consulte ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#url-base-por-ambiente-de-api"},"children":["URL base por ambiente de API"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"componentes-de-uma-url-base","__idx":1},"children":["Componentes de uma URL base"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Uma URL base inclui o protocolo HTTPS, o ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[domainPrefix]"]}," e o domínio. O ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[domainPrefix]"]}," é o trecho da URL base que varia conforme a API e o ambiente."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Este exemplo usa o ambiente  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uat"]}," com a API do ","Ripple Payments",":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"https","header":{"controls":{"copy":{}}},"source":"https://{domainPrefix}.{domain}/{apiVersion}/{path}?{parameters}\n","lang":"https"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"https://api.test.ripple.com/v2/identities\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A tabela a seguir descreve cada componente de uma requisição de API completa:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"style":{"width":"120px"}},"children":["Campo"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Valor de exemplo"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"style":{"width":"180px"}},"children":["Valor de exemplo"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Descrição"},"children":["Descrição"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Protocolo"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A Ripple usa o protocolo HTTPS em todas as APIs."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Prefixo de domínio"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.test"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cada URL base é prefixada por ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api"]},", seguido de um ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#url-base-por-ambiente-de-api"},"children":["ambiente de API"]}," opcional.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Exemplo"]},": este exemplo usa o ambiente ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.test"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Domínio"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ripple.com"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A API do ","Ripple Payments"," usa ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ripple.com"]}," como domínio."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Versão da API"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A versão mais recente da API do ","Ripple Payments"," é ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Caminho"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/identities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["O caminho é acrescentado à URL base para alcançar o endpoint da operação da API.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Este exemplo aponta para o endpoint ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2/identities"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"url-base-da-api-do-ripple-payments","__idx":2},"children":["URL base da API do ","Ripple Payments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A API do ","Ripple Payments"," inclui um prefixo de domínio composto por ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.{environment}"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Observação"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O ambiente de produção não tem variável de ambiente."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Você pode usar as APIs do ","Ripple Payments"," nos seguintes ambientes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["UAT"]}," : parceiros simulados e moeda simulada."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Production"]}," : ambiente de produção com parceiros e moeda reais."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"url-base-por-ambiente-de-api","__idx":3},"children":["URL base por ambiente de API"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Os tokens são exclusivos de cada ambiente"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Além das URLs base exclusivas, os tokens de acesso também são exclusivos de cada ambiente. Não deixe de ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/pt-br/products/payments-direct-2/api-docs/get-started/authentication#solicitar-o-token-de-acesso"},"children":["solicitar o token de acesso"]}," do ambiente desejado."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Ambiente"},"children":["Ambiente"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Prefixo de domínio"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"style":{"width":"120px"}},"children":["Prefixo de domínio"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Domínio"},"children":["Domínio"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"URL base"},"children":["URL base"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UAT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.test."]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ripple.com"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.test.ripple.com/v2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Production"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api."]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ripple.com"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.ripple.com/v2"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Observação"]},": os exemplos a seguir usam o ambiente ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uat"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"https","header":{"controls":{"copy":{}}},"source":"https://{domainPrefix}.{domain}/{path}?{parameters}\n\n# This is the URL format.\n","lang":"https"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"https","header":{"controls":{"copy":{}}},"source":"https://api.test.ripple.com/\n\n# This is the base URL for the UAT environment.\n","lang":"https"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"https","header":{"controls":{"copy":{}}},"source":"https://api.test.ripple.com/v2/identities\n\n# This connects to the UAT environment and requests a list of identities.\n","lang":"https"},"children":[]}]},"headings":[{"value":"URLs base","id":"urls-base","depth":1},{"value":"Componentes de uma URL base","id":"componentes-de-uma-url-base","depth":2},{"value":"URL base da API do Ripple Payments","id":"url-base-da-api-do-ripple-payments","depth":2},{"value":"URL base por ambiente de API","id":"url-base-por-ambiente-de-api","depth":2}],"frontmatter":{"seo":{"title":"URLs base"}},"lastModified":"2026-10-21T01:29:12.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/pt-br/products/payments-direct-2/api-docs/get-started/base-urls","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}