Partner Authentication
Partners hold two different kinds of credentials, and they are not interchangeable:
The rule: partner credentials manage your platform; merchant keys move money.
Partner platform requests
Send both partner headers, and nothing else:Requests on behalf of a merchant
Order and payment-link endpoints are authorized by the merchant’s key. Sendmerchant-key alone:
X-API-Key and X-API-Secret alongside the merchant key. They are treated as attribution only — they identify the request as coming from your platform and never change which store the operation lands on. The merchant key alone decides that.
Which headers go where
On the
/v1/partners/* endpoints the partner credentials are what authorize the call, and no merchant key is involved. On the payment endpoints it is the reverse: the merchant key authorizes, and the partner credentials are optional metadata.Handling credentials
- Both partner values are issued once, when Wava creates your partner account, and cannot be retrieved afterwards.
- Keep them server-side. They authorize access to every merchant connected to your platform.
- Merchant keys are per-merchant secrets. Store them encrypted, scoped to the merchant they belong to, and never expose one merchant’s key to another merchant’s session.
- To rotate any of these, contact soporte@wava.co.