This method will auto-generate an ID and create a new recurring gift. If an ID is specified for the recurring gift, an error will be thrown.
The recurring gift that you would like to be saved.
{- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all recurring gifts and and return them to the caller.
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/recurringGifts/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
]
This method will look up a recurring gift by the specified ID and return it back.
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/recurringGifts/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing recurring gift with the specified ID.
The updated recurring gift that will be saved.
{- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing recurring gift with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a recurring gift with the specified ID.
curl -i -X DELETE \ https://fundraising.api.756794052567.rhythmsoftware.com/recurringGifts/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Returns a list of records with the specified contact_id
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/recurringGifts/:tenantId/contact/:contact_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified organization_id
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/recurringGifts/:tenantId/organization/:organization_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Searches for recurring gifts using predefined parameters
The recurring gift that you would like to be saved.
{- "status": [
- "string"
]
}
{- "Items": [
- {
- "status": "string"
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified donor_id
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/recurringGifts/:tenantId/donor/:donor_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "fund_id": "string",
- "donor_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "donor_id": "string",
- "amount": 0,
- "appeal_id": "string",
- "campaign_id": "string",
- "currency_code": "string",
- "currency_symbol": "string",
- "order_id": "string",
- "frequency": "monthly",
- "last_gift_id": "string",
- "payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "string",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "type": "credit card"
}, - "end_at": "string",
- "last_processing_date": "2019-08-24T14:15:22Z",
- "total_amount_given": 0,
- "total_number_of_gifts": 0,
- "status": "active",
- "next_gift_date": "string",
- "suspended_until": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
TAllows you to perform up to 100 parallel patch/delete operations
The batch request
Array of objects |
{- "operations": [
- {
- "operation": "create",
- "id": "string",
- "patch_directives": [
- {
- "op": "add",
- "path": "string",
- "value": "string"
}
], - "object": { }
}
]
}
{- "success_count": 0,
- "error_count": 0,
- "results": [
- {
- "operation": "create",
- "id": "string",
- "outcome": "success",
- "error_message": "string",
- "object": { }
}
]
}