Skip to main content

Executes the quoted transaction

Confirms the purchase/sell-back based on the quotations provided. Once done so, gold grams will be allocated to the said account as per quotation given.

Path Parameters
operation string REQUIRED

The type of transaction the product.

Example (Purchasing): purchase
Example (Selling): sellback
Query Parameters
accountId string

Account identifier defined by the customer (i.e. Cust. Ref. No.)

Request Body

JSON Object to provide when confirming a sales operation.

EncToken string

The encrypted token provided with the quotation

operation

Possible values: [Purchase, Sellback]

Responses
200

Success

Schema
amount double

Output of confirming a transaction - Amt of money involved for the transaction.

balance double

Output of confirming a transaction - Remaining balance after the transaction.

currency string

The currency used to perform the sale/txn.

topUpAmount double

Amount required to be able to close this order successfully (This field is shown only for "purchase")

orderId double

Order ID (This field is shown only for "purchase")

poid double

Order ID (This field is shown only for "Sellback")