Skip to main content

finalizeCheckout

Creates a new order from a checkout, if its not already created If successful, orderState "CREATED" will be returned. If a valid secretKey is provided, the order will be returned.

Requirement: checkoutId: The id of the checkout secretKey: The secret key received when creating the checkout. If provided, the order will be returned.

finalizeCheckout(
checkoutId: String!
secretKey: String
): FinalizeCheckoutResult

Arguments

checkoutId ● String!

secretKey ● String

Type

FinalizeCheckoutResult

The result of finilizing a checkout