completePaymentCollections - Payment Module Reference
This documentation provides a reference to the completePaymentCollections
method. This belongs to the Payment Module.
completePaymentCollections(paymentCollectionId, sharedContext?): Promise<PaymentCollectionDTO>
This method marks a payment collection as completed by settings its completed_at
field to the current date and time.
Example
Parameters
paymentCollectionId
stringRequiredThe payment collection's ID.
Returns
The payment collection's details.
completePaymentCollections(paymentCollectionId, sharedContext?): Promise<PaymentCollectionDTO[]>
This method marks payment collections as completed by settings their completed_at
field to the current date and time.
Example
Parameters
paymentCollectionId
string[]RequiredThe payment collections' IDs.
Returns
The payment collections' details.
Was this section helpful?