Interface OrdersChangeStateParams

interface OrdersChangeStateParams {
    action: "cancel" | "charge" | "refund";
    app_order_id?: number;
    order_id: number;
    test_mode?: number | boolean;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

action: "cancel" | "charge" | "refund"

action to be done with the order. Available actions: *cancel - to cancel unconfirmed order. *charge - to confirm unconfirmed order. Applies only if processing of [vk.com/dev/payments_status|order_change_state] notification failed. *refund - to cancel confirmed order.

app_order_id?: number

internal ID of the order in the application.

order_id: number

order ID.

test_mode?: number | boolean

if this parameter is set to 1, this method returns a list of test mode orders. By default - 0.

Generated using TypeDoc