The /Installment
endpoint allows you to retrieve detailed information on an Installment, the FinDock data-in-Salesforce equivalent of a one-time payment.
All one-time payments created through the API become installments. However, installments are also be created through other channels. These non-API installments can be queried through this endpoint.
The response includes a list of all Payment records (cash movements) that have been performed in relation to the queried installment. An installment can be collected through several payments with different processors and payment methods.
Id
string
The Salesforce record Id of the installment.
GUID
string
The Salesforce GUID of the Installment.
Url
string
The Salesforce URL of the Installment.
Type
string
The Salesforce object type.
Status
string
The status of the installment. For more information, see installment status and counters.
Amount
number
The amount to be collected.
AmountOpen
number
The amount that is still to be collected: represents initial amount subtracted by amount paid.
Target
string
The name of the target that has been configured in Salesforce. A target can be a bank account or a merchant account with a PSP.
RecordTypeName
string
The Salesforce 'Installment' RecordType. e.g. 'Receivable' for positive and 'Payable' for negative amounts in a standard FinDock implementation.
PayUrl
string
URL that can be used to pay this installment. This can be a PayLinks or Tikkie URL.
PaymentProcessor
string
The name of the payment processor.
PaymentMethod
string
The name of the payment method, e.g. Direct Debit
, CreditCard
or Ideal
.
PaymentIntentId
string
The Payment Intent Id. Can also be found on the Inbound Report record in Salesforce.
Payments
array
/Installment/{ID}
Returns detailed information - including status and underlying individual payments - of an Installment record in Salesforce. Installment records can be created by passing a OneTime
object to the PaymentIntent endpoint.
ID
string
required
The record Id or GUID of the Installment to retrieve.
API was called successfully.
{
"Id": "a083X00001aUMCnQAO",
"GUID": "sdfasdf-asfads-242134-adsfadf-23423",
"Url": "/services/data/36.0/sobjects/a083X00001aUMCnQAO",
"Type": "cpm__Installment__c",
"Status": "Collected",
"Amount": 10.0,
"AmountOpen": 0.0,
"Target": "PRIMARY-BANK-ACCOUNT",
"RecordTypeName": "Receivable",
"PayUrl": "https://link.dev.findock.com/pay/3xxxxmuai2/8897b4da-e48a-7ff3-90dd-ecb65094802c",
"PaymentProcessor": "PaymentHub-SEPA",
"PaymentMethod": "Direct Debit",
"PaymentIntentId": "pi_1hubybk7nh45rvbt6",
"Payments": [
{
"Id": "a0R3X00000V20tbUAB",
"Url": "/services/data/v48.0/sobjects/cpm__Payment__c/a0R3X00000V20tbUAB",
"Type": "cpm__Payment__c",
"Target": "PRIMARY-BANK-ACCOUNT",
"PaymentProcessor": "PaymentHub-SEPA",
"PaymentMethod": "Direct Debit",
"CollectionDate": "2020-12-10",
"Amount": 10.0
}
]
}
Was this page helpful?