{settings.title} API using AI tools such as Claude, ChatGPT, Cursor, Lovable, Bolt, and others.
What is this?
AI tools can help you build API integrations faster and more efficiently. By copying endpoint instructions formatted for AI, you can use prompts that contain the information needed to generate functional code.How to use
On each endpoint page, use the API reference information to provide your AI tool with:- Method and endpoint URL.
- Authentication headers:
x-public-keyandx-secret-key. - Body fields, query parameters, types, required fields, and descriptions.
- Success and error responses.
- JSON request and response examples.
Step by step
- Navigate to the endpoint you want to integrate, such as Create Pix charge or Create boleto charge.
- Copy the endpoint documentation, including request fields and examples.
- Paste it into your preferred AI tool, such as Claude, ChatGPT, Cursor, Lovable, or Bolt.
- Add project-specific context, such as language, framework, HTTP client, and validation requirements.
Claude example
ChatGPT example
Cursor, Lovable, and Bolt example
Tips for better results
- Be specific about your stack, including language, frameworks, and libraries.
- Ask for proper error handling for API error codes.
- If you use TypeScript, ask the AI to generate types for requests and responses.
- Review and test generated code before using it in production.
API credentials
You need valid credentials to use the API. Never share real credentials with AI tools. Use placeholders such asSUA_CHAVE_PUBLICA and SUA_CHAVE_SECRETA, then replace them after generating the code.

