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.
  • The accessMode request field 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 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-accessMode required

Integration Flow ​

text
Sign the commercial agreement; obtain the partner credentials (primary merchant ID / keys / keyId)
   ↓
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 ​

Cashin ​

Cashout ​

PixKey Management ​

Merchants and partners share the same set of PixKey APIs.

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.

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