Create a new payment for a debt

Create a new payment for a debt. The payment will be applied to the debt and the debt balance will be updated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the debt

Query Params
expand[]
array of strings

Specify fields to expand in the response.

Multiple fields can be expanded by providing the parameter multiple times.

expand[]
Allowed:
Body Params

Payment represents the amount of money paid by the customer to the organisation.

The payments that have been made on the debt.

number
required

The amount of the payment in the currency of the customer. This field represents the financial value associated with the payment and must be positive.

string
enum

The currency in which the payment is denominated.

string
required

The reference number for the payment transaction. This field provides a unique identifier for the payment transaction and can be used for tracking and reconciliation purposes.

date-time
required

The date and time when the payment transaction was processed. This field provides information about the timing of the payment transaction.

metadata
object

A set of key-value pairs that you can attach to a line item object. It can be useful for storing additional information about the debt in a structured format.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*