Skip to main content
GET
/
v1
/
merchants
/
{merchantId}
/
affiliations
List affiliations for a specific merchant
curl --request GET \
  --url https://api-sandbox.rinne.com.br/core/v1/merchants/{merchantId}/affiliations \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "507f1f77bcf86cd799439013",
      "provider": "CELCOIN",
      "provider_id": "prov_123456",
      "soft_descriptor": "MYSTORE",
      "merchant_id": "12345678",
      "mcc": "5411",
      "cost_policy_id": "507f1f77bcf86cd799439014",
      "status": "ACTIVE",
      "provider_status_code": "200",
      "provider_status_message": "Merchant activated successfully",
      "provider_metadata": {},
      "enabled": true,
      "company_id": "a3dbd0c2-9f79-4f86-8caa-47779b3f2793",
      "onboarding_url": "https://provider.com/onboard/12345",
      "bank_account": {
        "id": "a2da4238-bdc2-47f9-b866-246cc87212d5",
        "bank_code": "001",
        "branch_number": "1234",
        "account_number": "56789-0",
        "account_holder_name": "John Doe",
        "account_holder_document_number": "81146431023",
        "ispb": "00000000"
      },
      "allowed_capture_methods": [
        "ECOMMERCE"
      ],
      "allowed_payment_methods": [
        "PIX"
      ],
      "organization_id": "a3dbd0c2-9f79-4f86-8caa-47779b3f2793",
      "created_at": "2023-01-01T12:00:00.000Z",
      "updated_at": "2023-01-01T12:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 50,
    "totalPages": 3,
    "hasNext": true,
    "hasPrev": false
  }
}

Authorizations

x-api-key
string
header
required

Company API key for authentication

Path Parameters

merchantId
string
required

The merchant ID

Query Parameters

provider
enum<string>

Filter by provider (accepts lowercase and uppercase, returns uppercase)

Available options:
CELCOIN,
RINNE
Example:

"CELCOIN"

status
enum<string>

Filter by status

Available options:
PENDING,
ACTIVE,
PROCESSING,
BLOCKED,
PENDING_APPROVAL,
WAITING_DOCUMENTS,
PROCESSING_DOCUMENTS,
REJECTED,
FAILED
enabled
boolean

Filter by enabled status

page
integer
default:1

Page number

Required range: x >= 1
limit
integer
default:20

Number of items per page

Required range: 1 <= x <= 100

Response

List of affiliations for the merchant

data
object[]
pagination
object