Top-up by PIS

To start using ConnectPay’s Payment initiation service to top-up your customer’s accounts, follow these steps:

  1. If the request was successful, you will receive a response with HTTP code 201 and paymentId and redirectUrl in the response body. You have to redirect your customer to redirectUrl to authorize a payment within their provider (bank). Save paymentId for further status check. Response example below:
{
  "merchant": {
  },
  "payment": {
    "paymentId": "5e864dad-4f10-4b91-bf3f-b8d0c9819d3a",
    "redirectUrl": "https://pay-stage.connectpay.com?key=8c36b04b-fd6e-4442-b837-a3dcafcfc5ff"
  },

For testing only. When testing requests in the stage environment, please note that not all providers support frontend. We recommend selecting these details while testing:

1. For DE country and PIS method – Fake Bank with Client Keys (enter it in search), provider ID c3e4f215-dde4-4d0c-9a48-bc7274c90977 . Test credentials:
User: username
Password: secret
Confirmation code: 123456
2. For LT country and PIS method – Siauliu bankas, provider ID a7640cb7-4dec-4a44-a9ad-b918c803254e
3. For CARD payment method, use card No 4242424242424242 for success result and No 4539467987109256 for failed result.

You can see full sequence diagram below:

After authorization within their bank or issuer, the Consumer will be redirected back to the widget and will be presented with payment status information. All commercial transactions require SCA for payments or 3DS authorization for card-related payments. Exemptions might be applied by the Consumer’s bank or Issuer.

  • When sending the creditor account, make sure it’s active and belongs to the consumer you’ve onboarded;

Top-up payments

Top-up by Apple Pay

Payment details

Notifications

Scroll to Top