Skip to main content

Functional payment flow


The functional payment flow works as follows:

  1. The customer selects PaysafeCard as the preferred payment option in your webshop.
  2. You initiate a payment with the correct amount, currency and other parameters.
  3. You re-direct the customer to PaysafeCard's hosted payment panel, where the customer has 30 minutes to enter the 16-digit PaysafeCard PIN. In the section "Payment page details" below you can find additional information important for the correct integration of PaysafeCard's hosted payment page.
  4. PaysafeCard sends a notification to the notification URL.
  5. PaysafeCard re-directs the customer back to the success URL.
  6. You capture the payment (additional information can be found in the section "Capturing a payment" below).

Payment Flow



Payment Process


  1. The customer selects the payment method PaysafeCard.

  2. Initiate Payment: Send POST requestinitiate Payment.

    • 2.1. If the response gives back http20x, redirect the customer to the payment panel.
    • 2.2. If the response gives back http40x or htp50x, show an error message to the customer. Inititate Payment error message: "Transaction could not be intitiated due to connection problems. If the problem persists, please contact our (businessparter)support."
  3. Redirection to the payment panelauth_url: The customer reaches the payment panel.

  4. PIN entry(by customer): The customer enters a valid PIN and clicks pay.

    • 4.1. Verification on PaysafeCard´s side if the entered PINs are valid. If the customer cancels the transaction on the payment panel, please show the following error message: "Transaction aborted by user"
  5. Payment notification delivery: Since the card is assigned to the transaction(transaction status "AUTHORIZED"), we send a notification to yournotification_url.

  6. notification_url handling: Right after payment notification delivery you perform the GET requestRetrieve payment detailsto check the state of the transaction.

    • 6.1. If the GET request retrieve payment details gets back the according status "AUTHORIZED", immediately perform the POST request capture Payment.
      • 6.2. If the response ofcapture paymentis http20X and the status is "SUCCESS", make a user account top up.
  7. Redirection to thesuccess_url: We redirect the customer to yoursuccess_url.

  8. success_url handling: You check on thesuccess_urlwith the GET requestretrieve payment detailsthe state of the transaction.

    • 8.1. If the GET request retrieve payment detailsgets back the status "SUCCESS“, show a success message to the customer.
    • 8.2. if the status is "AUTHORIZED", perform the POST requestcapture Payment.
      • 8.2.1. If the response gives back http20X and the status is "SUCCESS", make a user account top up and show a success message to the customer.
      • 8.2.2. If the response gives back http40X or http50X, show an error message to the customer.
    • 8.3. if the response fromretrieve payment details gives back http40X or http50X, show an error message to the customer. Retrieve Payment Details error message: "The transaction could not be completed. This may have happened due to a temporary connection problem. Please press the "reload" button in your browser to retry completing your transaction. If the problem persists, please contact our (businesspartner)support.

Detailed Payment Flow