The Finance, or Collect, API provides all the accounts receivable capabilities in Rhythm. This includes all aspects of Invoices, Credits, Payments, Credit Memos, and Debit Memos. Additionally, this API manages Batches and Fiscal Periods and can be used to download batches for import into your accounting package.
Like most of the other Rhythm apps, the Collect API includes endpoints for Query Definitions. These endpoints are commonly used to retrieve saved queries, which can then be executed using the Query endpoints of the System API.
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/
https://collect.api.rhythmsoftware.com/
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/payments/{tenantId}/portal/organization/{portalOrganizationId}
https://collect.api.rhythmsoftware.com/payments/{tenantId}/portal/organization/{portalOrganizationId}
curl -i -X GET \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/payments/{tenantId}/portal/organization/{portalOrganizationId}?fields=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "Count": 0, "Items": [ { … } ], "LastEvaluatedKey": "string" }
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/payments/{tenantId}/portal/organization/{portalOrganizationId}/{id}
https://collect.api.rhythmsoftware.com/payments/{tenantId}/portal/organization/{portalOrganizationId}/{id}
curl -i -X GET \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/payments/{tenantId}/portal/organization/{portalOrganizationId}/{id}?consistentRead=string&fields=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The payment was retrieved successfully.
The amount of payment yet to be captured
The base currency for transactions business unit
The billing run action that created this order; we track it here only to pass it back through the billing service
Type of cash account to use
The currency code in use
The type of card being used, or CHECK if electronic check
The masked payment account information
Whether or not this is a saved payment method
If true, this payment was run using the legacy processor of the merchant account
The total of the transaction, in the base currency of the business unit.
ID of the credit that was generated
ID of the credit that was generated
ID of the credit that was generated
If set, the host record should turn on auto renewal using this payment info
The currency code in use
The exchange rate, if applicable
Id of the invoice being paid
Id of the invoice being paid
Id of the invoice being paid
Balance due on the invoice after payment was applied
The line item balance due at the time of payment
Invoice line item total when payment was made
The version of the invoice object at the time of payment
When inline bundling is used, this is the total amount for the primary product
If this payment is for an invoice item, the product type/microservice
The total of the transaction, in the currency of the invoice.
The name of the payment that THIS payment reverses or backs out
The difference between the total in base currency and the amount actually settled
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
A number representing the version of this record in the database
The transaction total in base currency
The amount settled, in base currency
The type of payment
If set, this payment was processed via the synchronous API, vs step functions
{ "amount_pending_capture": 0.1, "bank_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_id": "string", "billing_address": { "city": "string", "country": "string", "country_name": "string", "county": "string", "latitude": 0.1, "line1": "string", "line2": "string", "line3": "string", "longitude": 0.1, "postal_code": "string", "state": "string", "time_zone_id": "string" }, "billing_run_action_id": "string", "billing_run_id": "string", "billing_run_service": "string", "business_unit_id": "string", "cancellation_id": "string", "captures": [ { … } ], "card_expiration": "2019-08-24", "card_last_digits": "string", "card_type": "string", "cash_account_type": "bank", "contact_id": "string", "currency_code": "AED", "currency_symbol": "string", "custom_field_values": [ { … } ], "date": "2019-08-24", "electronic_payment_info": { "card_expiration": "2019-08-24", "card_type": "american express", "payment_account": "string", "payment_origin": "ad hoc", "token": "string" }, "exchange_rate": 0.1, "id": "string", "installment_schedule_id": "string", "legacy_processor": true, "line_items": [ { … } ], "memo": "string", "merchant_account_id": "string", "notes": "string", "number": 0, "order_id": "string", "organization_id": "string", "owner_type": "contact", "payment_that_this_transaction_reverses_id": "string", "reference_number": "string", "return_id": "string", "send_email_confirmation": true, "send_receipt_to": "string", "settlement_discrepancy": 0.1, "status": "complete", "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ { … } ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_search_composite_key": "string", "sys_search_credit_card_type": "string", "sys_search_transaction_id": "string", "sys_snapshot_base_version": 0.1, "sys_version": 0.1, "total": 0.1, "total_in_base_currency": 0.1, "total_settled_in_base_currency": 0.1, "transaction_id": "string", "type": "ach", "uses_v2_api": true, "was_generated_by_order": true, "workflow_execution_id": "string" }
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/payments/{tenantId}/previewEmail
https://collect.api.rhythmsoftware.com/payments/{tenantId}/previewEmail
curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/payments/{tenantId}/previewEmail' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contact_id": "string",
"customer_type": "string",
"destination_email_address": "string",
"email_template": {
"bcc": "string",
"body": "string",
"cc": "string",
"from": "string",
"from_name": "string",
"reply_to": "string",
"subject": "string"
},
"invoice_id": "string",
"organization_id": "string",
"payment_id": "string"
}'