Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the redirect flow the user is redirected to Everifin Paygate page where the payment is done. In this flow the client system initializes the payment, redirects and then gets the result - success or failure. This makes the redirect flow much simpler for implementation comparing to the embedded flow.

Drawio
mVer2
zoom1
simple0
zoominComment10
inCommentcustContentId02469330984
pageId2467561531
custContentIdlbox24693309841
diagramDisplayNameUntitled Diagram-1677142578464.drawio
lbox1
contentVer1
revision2
baseUrlhttps://everifin.atlassian.net/wiki
diagramNameUntitled Diagram-1677142578464.drawio
pCenter0
width588.7200000000003
links
tbstyle
height446

...

In payment initialization you send the information about the payment to Everifin. Everifin responds with an a redirect link to Everifin Paygate page.

...

Code Block
POST {everifin_url}/api/v1/link

{
    "instructionId": "ABCD11234",
    "amount" : 1.05,
    "currency": "EUR",
    "recipientIban": "SK132465798132456",
    "recipientName": "The best e-shop in the world",
    "variableSymbol": "0000000001",
    "constantSymbol": "0308",
    "specificSymbol": "0000000003",
    "reference": null,
    "redirectUrl": "https://thebesteshopintheworld.com",
    "paymentMessage": "Payment for The best eshop",
    "hookData": {}, // here areis your data for hooks
}

Response

...