Funtico PSP API (1.0.0)

Download OpenAPI specification:Download

Documentation for the API of Funtico Payment Service Provider

Create a transaction

Create a transaction

Authorizations:
basicAuth
Request Body schema: application/json
required
required
Array of objects (Item) non-empty

Items to be purchased in the transaction. At least one item is required.

metadata
object or null (TransactionMetadata)

Metadata of the transaction specified by the game

success_url
string or null <url> (SuccessURL)

URL to redirect to after the transaction is successfully completed. Nullable in case of new_tab UI mode.

cancel_url
string or null <url> (CancelURL)

URL to redirect to after the transaction is cancelled or failed

ui_mode
required
string (UIMode)
Enum: "redirect" "new_tab"

UI mode of the transaction

expiration_sec
required
integer

Expiration time of the transaction in seconds

Responses

Request samples

Content type
application/json
{
  • "items": [
    ],
  • "metadata": {
    },
  • "ui_mode": "redirect",
  • "expiration_sec": 3600
}

Response samples

Content type
application/json
{
  • "status": "transaction_created",
  • "data": {
    }
}

Get a transaction by ID

Get a transaction by ID

Authorizations:
basicAuth
path Parameters
id
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "data": {
    }
}