Home > @vsf-enterprise/epcc-api > OrderEndpoints > authorizePayment

# OrderEndpoints.authorizePayment() method

Authorize payments using the manual gateway.

Signature:

authorizePayment(context: ElasticPathIntegrationContext, params: AuthorizePaymentParams): Promise<Record<string, unknown>>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params AuthorizePaymentParams An object which contains necessary properties for authorizing payment.

Returns:

Promise<Record<string, unknown>>