Fikäfi APIs
  1. Fikäfi APIs
Fikäfi APIs
  • Fikäfi APIs
    • Getting Started
    • Authentication
    • API Error Handling
    • APIs / Endpoints
      • Authentication API
        • token API
          POST
      • Payments APIs
        • createPayment API
          POST
        • takePaymentAction API
          POST
        • createOnlinePayment API
          POST
      • Status API
        • getPaymentStatus API
          GET
        • getPayments API
          GET
      • Your Webhooks
        • paymentEvent webhook
          POST
        • paymentDetails Webhook
          POST
    • Tutorials
      • Request Payments
      • Check Status
      • Payment Failures
  1. Fikäfi APIs

API Error Handling

Fikäfi APIs use standard HTTP status codes to indicate the success or failure of each request.

❗ Errors and Status Codes#

Below is a summary of common error codes and their meanings.
CodeMeaningDescription
200OKThe request was successful.
400Bad RequestThe request is malformed or contains invalid fields.
401UnauthorizedThe request is missing a valid API token.
404Not FoundThe requested resource does not exist.
500Internal Server ErrorA server-side error occurred. Please try again later.

🔁 Sample Error Response#

{
  "error": "Invalid API key provided"
}

🛠 Tips for Handling Errors#

Always check the status code and error message in the response.
For 400 errors, validate all required fields and data formats.
For 401 errors, ensure you're sending a valid Bearer token.
For persistent 500 errors, contact Fikäfi Support.
Modified at 2025-06-14 14:12:41
Previous
Authentication
Next
token API
Built with