worldline Direct
Sign up

PostFinance Pay

Intro

In pilot

PostFinance Pay is a mobile wallet app linked to the PostFinance Card. It allows customers use their PostFinance account to make payments online without providing card details, streamlining the online checkout process.

A leading financial institution in Switzerland, PostFinance offers a modern, modular solution for online payments via their mobile app. It enables around 1 million customers to pay easily and securely.

You send a standard request to our platform to redirect your customers to the PostFinance Pay portal to open the app.

The integration is very easy, as you only need to send a few additional properties along with your request.

Overview

Payment group:
Payment product id:
3203
Key benefits
  • Easy integration
  • Very popular in Switzerland
  • Allows
    • Authorisations/Direct sales
    • Partial/multiple/full captures
    • Full authorisations/cancellations
    • Partial/multiple/full refunds

Countries & currencies

Supported countries

Supported currencies

  • Euro (EUR)
  • Swiss franc (CHF)

Integration

Redirect your customers to the PostFinance Pay app via integration modes Hosted Checkout Page or Server-to-server.

Add the following properties to a standard CreateHostedCheckout/CreatePayment request:

{
   "order":{
      "amountOfMoney":{
         "amount":100,
         "currencyCode":"CHF"
      }
   },
   "redirectPaymentMethodSpecificInput":{
      "paymentProductId":3203,
      "requiresApproval":false,
      "redirectionData":{
         "returnUrl":"https://yourRedirectionUrl.com"
      }
   }
}
Properties Remarks

order.amountOfMoney
    amount
    currencyCode

amount: The gross amount you want to charge for this order.
currencyCode: The ISO 4217 currency code for this amount.

redirectPaymentMethodSpecificInput
     paymentProductId
     requiresApproval
     redirectionData.returnUrl

paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Overview" chapter. For payments requested via CreateHostedCheckout, it instructs our platform to send your customers directly to the PostFinance Pay-branded version of our Hosted Checkout Page. If left out, our platform sends your customers to the Hosted Checkout Page instead, allowing them to choose this or any other payment method in your account.

requiresApproval: Set to either "true"/"false" depending on whether you want to process payments in authorisation("true")/direct sale mode ("false").

redirectionData.returnUrl: The URL we redirect your customers to after the payment has been finalised.

Find detailed information about this object and its properties in our CreateHostedCheckoutAPI/CreatePaymentAPI.

Process flows

Depending on your customers' device(s) used, differences apply:

With a desktop and a mobile device

  1. Your customers finalise an order on their desktop device in your shop and select PostFinance Pay.
  2. You send this CreateHostedCheckout/CreatePayment request to our platform.
  3. You redirect your customers via the redirectUrl (For CreateHostedCheckout requests) or merchantAction.redirectData.redirectURL (For CreatePayment requests) to the PostFinance Pay portal. Your customers scan the displayed QR code with their mobile/tablet device.
  4. The mobile/tablet device opens the PostFinance Pay app. Your customers confirm the payment in the app.
  5. We receive the transaction result.
  6. The mobile/tablet device displays the transaction result in the PostFinance Pay app. We redirect your customers to your returnURL on their desktop device.
  7. You request the transaction result from our platform via GetPaymentDetails or receive the result via webhooks.
  8. If the transaction was successful, you can deliver the goods / service.

With a mobile device

  1. Your customers finalise an order on their desktop device in your shop and select PostFinance Pay.
  2. You send this CreateHostedCheckout/CreatePayment request to our platform.
  3. You redirect your customers via the redirectUrl. The mobile/tablet device opens the PostFinance Pay app. Your customers confirm the payment in the app.
  4. We receive the transaction result.
  5. The mobile/tablet device displays the transaction result in the PostFinance Pay app.
  6. You request the transaction result from our platform via GetPaymentDetails or receive the result via webhooks.
  7. If the transaction was successful, you can deliver the goods / service.

Finalises order Ordered Goods / Services Delivered Customer Merchant Our platform PostFinance 1 Receives transaction result 5 8 Real-time Not real-time Requests/Receives
transaction result 7 2 Sends Create Hosted Checkout/
Create Payment request 3 Is redirected by our platform/merchant & confirms order Device opens
app 4 Device displays
transaction result 6

Testing

Refer to our Test cases for test data and detailed instructions.

Make sure to use the right endpoint and switch back to the live URL as soon as you have finished your tests.

Was this page helpful?

Do you have any comments?

Thank you for your response.