Single payments

If request was successful, you will receive response with http code 201 and payment ID and redirect URL in response body. You have to redirect your customer to redirect URL to authorize a payment within their provider (bank or card issuer). Save payment ID for further status check.

"payment": {
    "paymentId": "07400128-60a9-47cc-8c99-924cb079a32b",
    "redirectUrl": "https://pay-stage.connectpay.com?key=c5781691-c81c-42f3-8290-ae11b07fe74c"
  }

You can see the full sequence diagram below:

After authorization within their bank or issuer, Consumer will be redirected back to widget and will be presented with payment status information.

For testing only. When testing requests in the stage environment, please note that not all providers support the 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.

Splitting one payment for multiple
sub-merchants

Providers, payment methods, and languages

Payment details

Notifications

Top-up payments

Scroll to Top