get https://api.zenoti.com/v1/guests//memberships//pending_dues
This API helps you to fetch the pending membership collection amount that a guest needs to pay. This membership collection amount gets accumulated after a guest’s membership has been frozen on multiple occasions. Guests must pay that membership fee amount to reactivate their membership.
You must specify appropriate details for the guest_id
and membership_id
parameters in the API request.
Response Details
Name | Type | Description |
---|---|---|
pending_dues | object | Object that contains the guest's pending membership due amount-related element: total_amount .total_amount - Total membership fee amount (in $) that guests must pay to reactivate their membership. |
error | object | Object that contains error message and error code details. For more information, refer to the error Object table. If error is null, it indicates that the guest's membership has been successfully frozen. |
error Object
code | error_message |
---|---|
3006 | Invalid Membership Details. |
438 | Authorization has been denied for this request. |