API

PsuProvidedData

Data the payer provides in the hosted payment flow.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
PATCH /api/v1/ob/payments/psu-provided-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:

updated, err := client.PsuProvidedData(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 updated, err = client:PsuProvidedData():update({  })

PHP

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

$updated = $client->PsuProvidedData()->update([]);

Python

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

updated = client.PsuProvidedData().update({  })

Ruby

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

updated = client.PsuProvidedData.update({  })

TypeScript

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

const updated = await client.PsuProvidedData().update({  })

Fields

Field Type Required Description

update

PATCH /api/v1/ob/payments/psu-provided-data

Operation ID: PaymentsController_updatePsuProvidedData_v1.

Responses

302: The payment object has been updated successfully
400