API

ScaData

The strong customer authentication data of a decoupled payment.

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-data load Returns the SCA data for the selected SCA method
PATCH /api/v1/ob/payments/decoupled/sca-data 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_data, err := client.ScaData(nil).Load(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(sca_data)
updated, err := client.ScaData(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_data, err = client:ScaData():load()
local updated, err = client:ScaData():update({  })

PHP

Construct client as shown in the PHP setup, then call the operations:

$sca_data = $client->ScaData()->load();
$updated = $client->ScaData()->update([]);

Python

Construct client as shown in the Python setup, then call the operations:

sca_data = client.ScaData().load()
updated = client.ScaData().update({  })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

sca_data = client.ScaData.load()
updated = client.ScaData.update({  })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const sca_data = await client.ScaData().load()
const updated = await client.ScaData().update({  })

Fields

Field Type Required Description

load

GET /api/v1/ob/payments/decoupled/sca-data

Operation ID: DecoupledPaymentsController_getScaData_v1.

Responses

200: Returns the SCA data for the selected SCA method

update

PATCH /api/v1/ob/payments/decoupled/sca-data

Operation ID: DecoupledPaymentsController_updateScaData_v1.

Request body

application/json

The request body is object.

Responses

302: Sca data for the selected SCA method has been updated successfully