API

Callback

The bank redirect back into 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
GET /api/v1/ob/callbacks load
GET /api/v1/ob/callbacks/with-provider-nano-id load

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:

callback, err := client.Callback(nil).Load(map[string]any{"provider_id": "example", "state": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(callback)

Lua

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

local callback, err = client:Callback():load({ provider_id = "example", state = "example" })

PHP

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

$callback = $client->Callback()->load(["provider_id" => "example", "state" => "example"]);

Python

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

callback = client.Callback().load({"provider_id": "example", "state": "example"})

Ruby

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

callback = client.Callback.load({ "provider_id" => "example", "state" => "example" })

TypeScript

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

const callback = await client.Callback().load({ provider_id: "example", state: "example" })

Fields

Field Type Required Description

load

GET /api/v1/ob/callbacks

Operation ID: CallbacksController_get_v1.

Parameters

Parameter In Type Required Description
state query string Yes
providerId query string Yes

Responses

302: Returns the redirect URL
400: The request is not formatted correctly

GET /api/v1/ob/callbacks/with-provider-nano-id

Operation ID: CallbacksController_getWithProviderNanoId_v1.

Responses

302: Returns the redirect URL
400: The request is not formatted correctly