Prerequisites
Before you begin, you need:- A Rinne organization account (contact us at [email protected])
- An API key for your organization — see the Authentication guide to create one
- A merchant created under your organization
Base URLs
Use the sandbox environment for testing. All examples in this guide use the sandbox URL.
Step 1: Authenticate your requests
All API requests require authentication using your API key in thex-api-key header.
Step 2: Create a fee policy
Before creating merchants, set up a fee policy to define how much you’ll charge for processing transactions.This creates a simple fee policy that charges 0.99% for PIX transactions and 3.0% for all other payment methods. Save the policy
id from the response.Step 3: Create a merchant
Organizations can create merchants to process payments on their behalf.Save the merchant
id from the response. You’ll need it for the next steps.Step 4: Create an affiliation
Before processing transactions, create an affiliation with a payment provider.WAITING_DOCUMENTS and an onboarding_url: the provider needs the contact’s identity document and biometric verification, and the merchant’s articles of incorporation, before it can decide. Open onboarding_url on a phone and complete it, or supply the items through the API. Once the last one is in, Rinne submits the affiliation, and when the provider approves it the status changes to ACTIVE.
Step 5: Create a PIX transaction
Once your affiliation is active, you can create transactions.Step 6: Monitor transaction status
You can check the transaction status at any time:Next steps
rinne-js SDK
Accept Apple Pay & Google Pay on the web
Authentication
Learn about API authentication
PIX Payments
Process instant PIX payments
Webhooks
Set up event notifications

