The auto_capture
flag allows to save the additional API call to start the Smart Transaction, and capture the payment. Whether you can use this depends on the exact scenario.
The flag can be passed when you create a Smart Transaction:
Request
POST /api/v2/Smart/Transactions HTTP/1.1
Host: connect-testing.secuconnect.com
Authorization: Bearer qb56tjj1bcvo9n2nj4u38k84lo
Content-Type: application/json
Accept: application/json
{
// ...
"payment_context"
: {
"auto_capture"
:
true
}
// ...
}
The default value is false
.
Scenario | Details |
---|---|
Final confirmation after authorisation |
|
Final confirmation before authorisation |
|
The button for the final confirmation could also be labelled Pay now! or Subscribe now!, for instance. Please consider the legal requirements for the conclosure of contract.
The exact flows are described in the Reference sections for authorisation and capture using the respective payment methods.