Skip to main content
When a Payaza API request fails, the response body contains a descriptive error message. This page lists all common errors by product area, along with their causes and fixes.
The most common causes of errors are: a missing or incorrectly encoded API key, a reused transaction_reference, or a mismatch between your key’s environment and the X-TenantID header.

Authentication errors


Transfer errors

Sample responses
See the Transfers guide for the full integration walkthrough.

Virtual Account errors

Sample responses
See the Virtual Accounts guide for the full integration walkthrough.

Card errors

Sample responses
Use Test Cards to simulate different card outcomes during development.

Account Name Enquiry errors


Apple Pay & Google Pay errors


General tips

Generate a new transaction_reference for every request. Reusing a reference is one of the most common causes of errors — especially duplicate-reference errors on transfers and card charges. A UUID or a timestamp-prefixed string works well.
Test keys only work with X-TenantID: test. Live keys only work with X-TenantID: live. Mismatching them returns an authentication error.
Your raw API key is not valid in the Authorization header. It must be Base64-encoded first. See the Authentication guide for language-specific examples.
Email support@payaza.africa with your transaction_reference and the full error response body. The support team can trace the request on their end.