ScaMethod
The strong customer authentication methods of a decoupled payment, and the one chosen.
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/ob/payments/decoupled/sca-methods |
load |
Returns the available SCA methods for the payment |
PATCH |
/api/v1/ob/payments/decoupled/selected-sca-method |
update |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
sca_method, err := client.ScaMethod(nil).Load(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(sca_method)
updated, err := client.ScaMethod(nil).Update(map[string]any{}, nil)
if err != nil {
panic(err)
}
fmt.Println(updated)
Lua
Construct client as shown in the Lua setup, then call the operations:
local sca_method, err = client:ScaMethod():load()
local updated, err = client:ScaMethod():update({ })
PHP
Construct client as shown in the PHP setup, then call the operations:
$sca_method = $client->ScaMethod()->load();
$updated = $client->ScaMethod()->update([]);
Python
Construct client as shown in the Python setup, then call the operations:
sca_method = client.ScaMethod().load()
updated = client.ScaMethod().update({ })
Ruby
Construct client as shown in the Ruby setup, then call the operations:
sca_method = client.ScaMethod.load()
updated = client.ScaMethod.update({ })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const sca_method = await client.ScaMethod().load()
const updated = await client.ScaMethod().update({ })
Fields
| Field | Type | Required | Description |
|---|
load
GET /api/v1/ob/payments/decoupled/sca-methods
Operation ID: DecoupledPaymentsController_getScaMethods_v1.
Responses
200: Returns the available SCA methods for the payment
update
PATCH /api/v1/ob/payments/decoupled/selected-sca-method
Operation ID: DecoupledPaymentsController_updateScaMethod_v1.
Request body
application/json
The request body is object.