- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
completePaymentCollections - Payment Module Reference
This documentation provides a reference to the completePaymentCollections
method. This belongs to the Payment Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
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
stringThe payment collection's ID.
Returns#
Promise
Promise<PaymentCollectionDTO>The payment collection's details.
Promise
Promise<PaymentCollectionDTO>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[]The payment collections' IDs.
Returns#
Promise
Promise<PaymentCollectionDTO[]>The payment collections' details.
Promise
Promise<PaymentCollectionDTO[]>Was this page helpful?