Skip to content

Partner API ​

The Partner API is intended for partners such as platforms, ISVs, PSPs, and acquirers that need to integrate once and process transactions for many downstream merchants.

Positioning ​

A partner integrates with ADOPAY using its own API credentials (primary merchant ID) and manages its downstream merchants as sub-merchants:

  • The X-Merchant-Id request header carries the primary merchant ID, i.e. the partner credential.
  • The subMerchantNo request field identifies the sub-merchant that owns the operation; its exact location is defined by each endpoint, and webhook events also carry it so notifications can be routed to the right merchant.
  • Sub-merchant onboarding inherits the primary merchant’s integration model. Omit accessMode in all three onboarding calls. Where another endpoint requires accessMode, it declares the integration model: normal (standard merchant), saas_isv (SaaS / ISV), acquirer (acquirer), platform (platform service provider).

Relationship to the Merchant API ​

The Partner API shares the same transaction core as the Direct Merchant API: cashin, refund, and cashout keep identical field and capability models. The differences:

DifferenceMerchant APIPartner API
Credential ownerThe merchant itselfThe partner (primary merchant ID)
Transaction ownerThe merchantSub-merchant (subMerchantNo)
Integration-mode parameter-Omit for sub-merchant onboarding; see individual endpoints for other operations

Integration Flow ​

text
Sign the commercial agreement; obtain the partner credentials (primary merchant ID / keys)
   ↓
Confirm accessMode and how sub-merchant numbers (subMerchantNo) are assigned
   ↓
Adopt the Common specs (authentication / signing / webhooks)
   ↓
Integrate by capability: Account -> cashin -> refund -> cashout -> MED

For the shared specs (authentication, request signing, response structure, idempotency, and webhook rules), see Common.

API Directory ​

Account ​

Merchant ​

Onboarding ​

Registers customers (individuals PF / companies PJ) for account opening: liveness verification, registration data and file submission, and outcome queries; after the account is active, registration updates. Onboarding uses the requisition ID onboardingId returned at creation and a single state field, with no authentication headers; registration updates use the account holder's Bearer token — see status for the state and blocked for whether payouts are blocked. States are obtained through the query endpoints (no webhook notifications currently).

Cashin ​

Cashout ​

PixKey Management ​

Merchants and partners share the same set of PixKey APIs.

Pix Subscription ​

Collect recurring payments (Pix Automático) on behalf of downstream sub-merchants: sign-up, scheduled debits, query and cancellation, and refunds after a successful debit.

Reconciliation Files ​

MED API (special refund mechanism) ​

Handle Brazilian Central Bank MED fraud disputes on behalf of your sub-merchants: query, analyze, and process infraction reports.

Webhooks ​

Planned Capabilities ​

The following capabilities have no published specification yet; do not integrate against them until they are officially released:

  • Partner limit queries
  • Merchant management (online)
  • Settlement and settlement reports