Skip to main content
The Partna API uses standard HTTP status codes. All error responses include a JSON body with a message field describing what went wrong.

Error response format

Some error responses also include a data field with additional context.

HTTP status codes

Common errors and solutions

Authentication errors (401)

“Unauthorized” or “Invalid API key”: Confirm that both x-api-key and x-api-user headers are present and correct. Staging and production credentials are not interchangeable.

Ramp request errors (400, 409)

“User already has a pending ramp request”: Each user can only have one active ramp request at a time. Either wait for it to complete or set cancelPendingRampRequest: true in your next ramp request to cancel the existing one and create a new one. “Invalid rate key”: The rate key has expired or is malformed. Fetch a fresh rate using Get Rate and use the new key.

KYC errors (422)

“KYC not completed”: The user account has not passed identity verification. Complete the KYC flow before initiating transactions. See Accounts and KYC.

Balance errors (422)

“Insufficient balance”: Your merchant payout balance does not have enough funds to cover the withdrawal. Fund your account before retrying.

Retry guidance

For 429 and 503 responses, use exponential backoff starting at 1 second. Do not retry 400, 401, 403, or 422 errors without fixing the underlying issue first. 500 errors can be retried, but if they persist, contact dev@getpartna.com.