HostedConfiguration
The hosted configuration acts as the default values for most of the session initialization parameters. If fields such as maxAttempts is not defined within the /cit call, the value will be fetched from the hosted configuration instead.
If the payment should be captured instantly or not.
-
OFFindicates that the payment should not be captured instantly. -
VOIDindicates that the payment should be captured instantly and if somehow the instant capture fails the payment is voided. -
NO_VOIDindicates that the payment should be captured instantly and if the capture fails the authorization is kept (no void is made)
How 3D secure is handled:
SKIP3DS is not tried and full liability is put at merchant.NORMAL3DS flow is attempted as normal guidelines suggests - Both challenge and frictionless can occur.FORCEA challenge flow is forced. Note: Third parties in the 3DS flow might ignore this instruction.
Possible values: [SKIP, NORMAL, FORCE]
How many minutes sessions stays active.
The URL to receive webhook notifications for any attempted transactions
The URL the client is redirected to on successful payments
The URL the client is redirected to when no more payment attempts is possible for the current session.
The URL the client is redirected to on failed payments while there is still more attempts available. If null, then failureUrl is used as a fallback.
The maximum number of transaction attempts allowed for the payment session
List of processors to use. This is the routing of the payment. The value can be shift4, clearhaus and nets.
The priority of the processors is made on the order. That means that if the first processor fails / declines then the next in the list will be used and so on until all processors in the list have been tried. The order is not guaranteed as it depends on external factors such as the specific payment card used by the cardholder.
Possible values: [shift4, clearhaus, nets, worldline]
List of exemptions to apply when possible. Note exemptions shifts liability from the issuer to the merchant.
Possible values: [TRA, LVT]
If true, the notificationUrl will also receive webhooks for failed transactions. Otherwise, only successful transactions is notified.
{
"instantCapture": "OFF",
"scaMode": "SKIP",
"timeout": 60,
"notificationUrl": "https://example.com/notification",
"successUrl": "https://example.com/success",
"failureUrl": "https://example.com/failure",
"retryUrl": null,
"maxAttempts": 10,
"processor": [
"shift4",
"nets"
],
"exemptions": [
"TRA",
"LVT"
],
"reportFailure": false
}