Skip to main content
Code: api.bad_gateway
HTTP: 502 Bad Gateway

What happened

The Morapay API could not complete the request due to rate limits, connectivity, or infrastructure.

Safe message

Our payment service is temporarily unavailable. Please try again shortly.
Use err.safeMessage or err.displayMessage in customer UI, not err.message.

Why this happened

The Morapay API received an invalid response from an upstream service.

How to fix it

Retry with exponential backoff. Contact support with requestId if it persists.

UI hint

Programmatic handling