Home > @vsf-enterprise/sapcc-api > Endpoints > giveConsent

Endpoints.giveConsent() method

Give consent

Signature:

giveConsent(context: SapccIntegrationContext, props: GiveConstentProps): Promise<ConsentTemplate>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props GiveConstentProps An object containing necessary props for giving consent.

Returns:

Promise<ConsentTemplate>