Poq.SDK.Node

Home > @poq/sdk > CheckoutClient > checkoutComplete

CheckoutClient.checkoutComplete() method

Completes an order.

Signature:

checkoutComplete(appIdentifier: string, appId: string, poqUserId: string, platform: string, currency: string, request: CompleteOrderRequest): Promise<PoqResponse<void>>;

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
appId string The unique app id (in sake of backward compatibility).
poqUserId string The unique identifier of the poq user.
platform string The params identifies device or other sender of request.
currency string The ISO currency code is the three-letter alphabetic code that represent the various currencies used throughout the world.
request CompleteOrderRequest  

Returns:

Promise<PoqResponse<void>>

PoqResponse object without content.