calculateNextPaymentDate

Given a date, calcualates the next payment for a sustainer gift.

Client ServletServer ServletHTTP Methods SupportedRequires Authentication
CRRecurringAPI SRRecurringAPI POST Yes.

Client API Syntax

https://secure2.convio.net/organization/site/CRRecurringAPI?method=calculateNextPaymentDate &api_key=value &v=value &recurring_gift_id=value &next_payment_date=value [ &auth=value ] [ &sso_auth_token=value ]

Server API Syntax

https://secure2.convio.net/organization/site/SRRecurringAPI?method=calculateNextPaymentDate & api_key =value & login_name =value & login_password =value & v =value & recurring_gift_id =value & next_payment_date =value & cons_id =value

Usage Notes

This method calculates the next payment date in the series for a recurring gift.

You may use the following methods to allow a logged-in user to manage their recurring gifts themselves via the Client API or to manage recurring gifts as an administrator via the Server API:

Client API Parameters

Common Client Parameters

See topic Common Parameters.

recurring_gift_id

Required. Specifies the ID of the recurring gift to retrieve.

Type xsd:nonNegativeInteger.

next_payment_date

Required. Specifies the next payment date of a recurring gift. The date must be in the format MM-DD-YYYY

Type xsd:nonNegativeInteger.

Server API Parameters

Common Server Parameters

See topic Common Parameters.

recurring_gift_id

Required. Specifies the ID of the recurring gift to retrieve.

Type xsd:nonNegativeInteger.

next_payment_date

Required. Specifies the next payment date of a recurring gift. The date must be in the format MM-DD-YYYY

Type xsd:nonNegativeInteger.

cons_id

Required. Specifies the ID of the constituent.

Type xsd:nonNegativeInteger.

Response

See topic HTTP Status Codes.

XML response
<?xml version="1.0" encoding="UTF-8"?>
<calculateNextPaymentDateResponse xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd" xmlns="http://convio.com/crm/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
</calculateNextPaymentDateResponse>
JSON response
{"calculateNextPaymentDateResponse":{"success":"true"}}

        

Leave a Comment

Nickname
Comment
Enter this word: