Home > @vsf-enterprise/sapcc-api > Endpoints > getSopPaymentResponse
Endpoints.getSopPaymentResponse() method
Returns information related to creating subscription request results. If there is no response from the payment provider, a "202 Accepted" status is returned. If the subscription is created successfully, the payment details are returned.
Signature:
getSopPaymentResponse(context: SapccIntegrationContext, props: GetSopPaymentResponseProps): Promise<PaymentDetails>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | GetSopPaymentResponseProps | An object containing necessary props for getting a response from SAP about the payment data. |
Returns:
Promise<PaymentDetails>