Creates a new affiliation for the authenticated company. The company_id is automatically set from the authenticated client. Requires the affiliation.create permission.
Documentation Index
Fetch the complete documentation index at: https://docs.rinne.com.br/llms.txt
Use this file to discover all available pages before exploring further.
Company API key for authentication
Schema for creating a new affiliation
Payment provider name (accepts lowercase and uppercase, returns uppercase)
CELCOIN, RINNE, CAPPTA "CELCOIN"
Allowed capture methods (at least one required)
1EMV, MAGSTRIPE, ECOMMERCE, CONTACTLESS_ICC ["EMV", "CONTACTLESS_ICC", "ECOMMERCE"]Allowed payment methods (at least one required)
1CREDIT_CARD, DEBIT_CARD, PIX, BOLEPIX ["CREDIT_CARD", "DEBIT_CARD", "PIX"]External bank account for fund settlements. Required for RINNE and CAPPTA providers. Not required for CELCOIN (managed internally).
Anticipation type for the affiliation. Defaults to AUTOMATIC if not provided.
AUTOMATIC, SPOT "AUTOMATIC"
Number of days for automatic anticipation. Must be at least 1. Defaults to 1 if not provided.
x >= 11
Affiliation created successfully
Transformed affiliation data returned by the API
"123e4567-e89b-12d3-a456-426614174002"
Payment provider name
CELCOIN, RINNE, CAPPTA "CELCOIN"
Merchant ID in provider
"12345678"
Current affiliation status
PENDING, ACTIVE, PROCESSING, BLOCKED, PENDING_APPROVAL, WAITING_DOCUMENTS, PROCESSING_DOCUMENTS, REJECTED, FAILED, INVALID_SETTLEMENT_BANK_ACCOUNT "ACTIVE"
Whether the affiliation is enabled
true
Associated company ID
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Allowed capture methods
EMV, MAGSTRIPE, ECOMMERCE, CONTACTLESS_ICC ["ECOMMERCE"]Allowed payment methods
CREDIT_CARD, DEBIT_CARD, PIX, BOLEPIX ["PIX"]Associated organization ID
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
List of onboarding documents associated with this affiliation
Creation timestamp in ISO 8601 format
"2023-01-01T12:00:00.000Z"
Last update timestamp in ISO 8601 format
"2023-01-01T12:00:00.000Z"
ID in provider system
"prov_123456"
Soft descriptor for transactions
"MYSTORE"
Merchant Category Code
"5411"
Associated cost policy ID
"123e4567-e89b-12d3-a456-426614174003"
Provider-specific status code
"200"
Provider-specific status message
"Merchant activated successfully"
Provider-specific metadata
{}Onboarding URL (only shown when status is not ACTIVE)
"https://provider.com/onboard/12345"
Associated bank account information (created by provider)
Settlement bank accounts for this affiliation.
Anticipation type for the affiliation
AUTOMATIC, SPOT "AUTOMATIC"
Number of days for anticipation
x >= 11
Point-in-time snapshot of company data (with contact) at affiliation creation. Only included when include_company_snapshot=true query parameter is set.