Creates a new affiliation for a merchant that belongs to the authenticated organization
Company API key for authentication
The merchant ID
Schema for creating a new affiliation
Payment provider name (accepts lowercase and uppercase, returns uppercase)
CELCOIN, RINNE "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, BOLETO, MONEY, PIX ["CREDIT_CARD", "DEBIT_CARD", "PIX"]Affiliation created successfully
Transformed affiliation data returned by the API
"507f1f77bcf86cd799439013"
Payment provider name
CELCOIN, RINNE "CELCOIN"
Merchant ID in provider
"12345678"
Current affiliation status
PENDING, ACTIVE, PROCESSING, BLOCKED, PENDING_APPROVAL, WAITING_DOCUMENTS, PROCESSING_DOCUMENTS, REJECTED, FAILED "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, BOLETO, MONEY, PIX ["PIX"]Associated organization ID
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
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
"507f1f77bcf86cd799439014"
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