Transaction

This command allows you to notify Oliver the current status of the transaction, whether if the transaction is ongoing, completed or has been cancelled.

GET

Description:
Get the current transaction status.

Request Body:

{
    command: 'Transaction',
    method: 'get',
    version: '1.0',
}

Response Body:

{
    command: 'Transaction',
    method: 'get',
    version: '1.0',
    status: 200,
    error: null
    data: {
        transaction_status: 'cancel'
    }
}

Parameters:

Attribute Name

Attribute Type

Description

Enum

Required (binary)

command

string

High level command name to interact with Oliver

null

1

method

string

These correspond to create, read, update, and delete (or CRUD) operations

null

1

version

string

The version of the command used

null

1

POST

Description:
Update current transaction status.

Request Body:

{
    command: 'Transaction',
    method: 'post',
    version: '1.0',
    data: {
        transaction_status: 'processing'
    }
}

Response Body:

{
    command: 'Transaction',
    method: 'post',
    version: '1.0',
    status: 200,
    error: null
}

Parameters:

Attribute Name

Attribute Type

Description

Enum

Required (binary)

command

string

High level command name to interact with Oliver

null

1

method

string

These correspond to create, read, update, and delete (or CRUD) operations

null

1

version

string

The version of the command used

null

1

transaction_status

string

Status of the transaction

‘processing’, ‘cancel’, ‘completed’

1


Did this page help you?