Appearance
Error Codes
The Pine Labs API uses two types of error codes:
- HTTP Errors — standard HTTP status codes returned by the server (e.g., 400, 401, 500)
- Payment Errors — payment-specific status codes returned in the response body for transaction endpoints (e.g.,
v2/topup)
Pre-transaction failures from POST /v2/topup return HTTP 400 with the standard data response body and a payment statusCode.

