PayFanout API reference
    Preparing search index...

    Function mapAdyenResultCode

    • Adyen resultCode -> the unified status. Authorised is terminal for an automatic-capture payment (the capture is scheduled) and requires_capture when the payment was authorised for manual capture. The 3-D Secure intermediates (AuthenticationFinished, AuthenticationNotRequired) are not results: the authorisation follows from /payments/details.

      Parameters

      • resultCode: string
      • captureMethod: "automatic" | "manual"

      Returns
          | "requires_payment_method"
          | "requires_confirmation"
          | "requires_action"
          | "requires_capture"
          | "processing"
          | "succeeded"
          | "canceled"
          | "failed"