Paysafecard

The Paysafe Payments API supports Paysafecard as a Payment Instrument. You can process paysafecard payments using the Payments API.

The Payments API caters to the following needs for Paysafecard:

  • Payment Instrument: Paysafecard
  • Prepaid Payment Method: You pay online without entering any personal information, bank or credit card details.
  • Transaction types: Payments, Withdrawals
  • Payment authentication: PIN protected (Payment Services Directive 2 (PSD2) Compliance)

Typical Scenarios

Paysafecard Payment

When you want to process a payment request using Paysafecard as the payment type, you would do the following:

  1. Create a Payment Handle with the transactionType parameter set to PAYMENT and the paymentType parameter set to PAYSAFECARD.
  2. Since the customer has to complete payment authentication by providing Paysafecard details, Paysafe returns a response with the following:
    • The action parameter is set to REDIRECT
    • A payment_redirect link points to the Paysafecard redirect URL
  3. Redirect the customer to the Paysafecard redirect URL so they can provide the PIN/Voucher details to complete the money transfer.
  4. Upon successful customer authentication, the merchant gets notified at the URL specified in the on_completed parameter included with their request.
  5. At this point, the status of the Payment Handle becomes PAYABLE.
  6. Use the paymentHandleToken returned in the response to process the Payment request.

Once the Payment request is successfully completed, the funds are immediately transferred to the merchant's account.

APIs to use: Payment Handles + Payments

Paysafecard Withdrawal

When you want to process a Paysafecard withdrawal request, you would do the following:

  1. Create a Payment Handle with the transactionType parameter set to STANDALONE_CREDIT and the paymentType parameter set to PAYSAFECARD.
  2. This Payment Handle should immediately have the status of PAYABLE
  3. Use the paymentHandleToken returned in the response to process the Withdrawal request.

Once the Payment request is successfully completed, the funds are immediately transferred to the customer's account.

APIs to use: Payment Handles + Standalone Credits

Testing Instructions

Test Customer Id Values

Customer ID is also known as "Merchant Client ID", is an important parameter for the integration of paysafecard. The Customer ID identifies the Customer on our business partners side. The most optimal customer ID is a completely random value. A value that uniquely identifies the customer and is disconnected from any personal information. This customer ID value should be the same for all transactions of the customer. Here are Guidelines for possible Customer IDs:

Valid Values:

Value Type
2c3be0b50c7a5f1964a63d78f38a6ffc41c027e9 SHA1 - test@123.com
742f2b1a55cd5d606ea44b4fcb54646a MD5 - test@123.com
3a5b0d0777dead9df93d502df85c8180e53804eb SHA1 - UsernameValue1
3192481752123 Random Customer Identifier
CustomerID1 Customer Identifier free of personal information

Invalid Values

test@123.com
Username_1
FirstName123
LastName123
Timestamp
IP Address

Sending any form of the invalid values will not be accepted.If you intend to process paysafecard transactions on multiple brands, please inquire about the possibilities of separating multiple entities for your account.

Did you find this page useful?