Fikäfi APIs
  1. Tutorials
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. Tutorials

Payment Failures

🔍 Overview#

If the guest has not paid and the payment request has expired, or customer's card declined, or incorrect booking information was submitted — the possible options are shared here.
You can either resend the payment request to the guest or cancel the request entirely using a simple API. This ensures smooth handling of booking exceptions.

🧭 Step-by-Step Workflow#

1.
The PMS or booking system identifies a failed or incomplete payment:
Either from a webhook notification (paymentEvent with status Expired or Declined)
Or by calling /getPaymentStatus API and noticing no or partial payment

2.
The PMS or booking system triggers
POST /takePaymentAction API with these parameters:
bookingRefNum: Internal booking ID of the hotel
fikafiRefNum: Unique reference ID of Fikäfi
action = "resend" or "cancel"

3.
Fikäfi performs the action:
resend: Sends payment request again to the guest
cancel: Marks payment as cancelled and stops further actions

4.
Returns status of the performed action.

🎯 Available Actions#

ActionDescription
resendResend the payment request to the guest
cancelCancel the payment request

📤 Sample Request#

POST /takePaymentAction?bookingRefNum=BKG123&fikafiRefNum=FIK7890&action=resend

📤 Sample Response#

{
  "bookingRefNum": "BKG123",
  "fikafiRefNum": "FIK7890",
  "status": "resent"
}

📤 Relevant API#

POST /takePaymentAction
Modified at 2025-06-15 06:51:16
Previous
Check Status
Built with