ConfirmationData
The confirmation 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/confirmation-data |
load |
Returns the confirmation data 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:
confirmation_data, err := client.ConfirmationData(nil).Load(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(confirmation_data)
Lua
Construct client as shown in the Lua setup, then call the operations:
local confirmation_data, err = client:ConfirmationData():load()
PHP
Construct client as shown in the PHP setup, then call the operations:
$confirmation_data = $client->ConfirmationData()->load();
Python
Construct client as shown in the Python setup, then call the operations:
confirmation_data = client.ConfirmationData().load()
Ruby
Construct client as shown in the Ruby setup, then call the operations:
confirmation_data = client.ConfirmationData.load()
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const confirmation_data = await client.ConfirmationData().load()
Fields
| Field | Type | Required | Description |
|---|
load
GET /api/v1/ob/payments/decoupled/confirmation-data
Operation ID: DecoupledPaymentsController_getConfirmationData_v1.