Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
REST API uses 2 types of payment flows:
- Asynchronous
- Synchronous
Asynchronous payment
These payments receive final response asynchronously and you are responsible to fetch the final status from
...
. Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
In
REST API these payments are handled following way: Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
- Your application calls
...
-
, in Body of Request are defined:Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording - Payment method
- Your Return URL (preferably containing ID to reference payment when
...
-
will redirect to this URL)Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording - Webhook URL
-
...
Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- responds synchronously, in Body of Response is defined Redirection URL
- Your application is responsible to redirect browser to Redirection URL
...
receives response from 3rd party payment method withMultiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- result of payment
...
calls your Webhook URL with justMultiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- PaymentID in the body of
...
- request
- Your application is responsible to call
...
-
to fetch the status of the payment, usingMultiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- PaymentID
Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- redirects client back to Merchant Return URL
Sequence diagram
...
Multiexcerpt | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Synchronous payment
These payments receive final response synchronously
...
in response to initial Request.
In
...
REST API Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
these payments are handled following way:
- Your application calls
...
-
, in Body of Request is definedMultiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- payment method
...
responds synchronously, in Body of Response are defined:Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- PaymentID
- Status
Sequence diagram
...
...
Multiexcerpt | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Subsequent actions
After the initial
...
payment is created, there is set of possible
...
actions that can be performed on the
...
payment:
- Reversal
- Capture
- Refund (Credit)
All of these subsequent
...
actions have synchronous flow.
Webhooks
For payment methods with asynchronous flow or any updates on the payment status,
...
sends notifications to your defined Webhook URL. Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
For security purposes, Webhook contains only non sensitive
...
PaymentID and your application is responsible to fetch the status of payment by actively calling the API.
In
...
REST API Multiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
Webhooks are handled following way:
...
calls your Webhook URLMultiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- PaymentID is in the body of
...
- request
- Your application calls
...
-
and fetches the status of the paymentMultiexcerpt include SpaceWithExcerpt EN MultiExcerptName Platform-Kurz PageWithExcerpt Wording
...
- using
...
- PaymentID