API

ConsentStatus

The consent status 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/consent-status load Returns the consent status for the payment

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:

consent_status, err := client.ConsentStatus(nil).Load(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(consent_status)

Lua

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

local consent_status, err = client:ConsentStatus():load()

PHP

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

$consent_status = $client->ConsentStatus()->load();

Python

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

consent_status = client.ConsentStatus().load()

Ruby

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

consent_status = client.ConsentStatus.load()

TypeScript

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

const consent_status = await client.ConsentStatus().load()

Fields

Field Type Required Description

load

GET /api/v1/ob/payments/decoupled/consent-status

Operation ID: DecoupledPaymentsController_getConsentStatus_v1.

Responses