Create a payment

Endpoint to create a payment

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
  • There are two fields to set the contact, either by filling in the contactId field or the documentsId field. You can't send both, please provide only one of them.
string
required

Date of the payment

number
required
≥ 0.01

Amount of the payment

string
enum

Method of the payment

string
enum
required

Type of the payment. INCOME payments are payments that are received, and EXPENSE payments are payments that are made.

Allowed:
string

Id of the contact that is related to the payment. If this field is filled, the documentsIds field must be empty. If this field is empty, the documentsIds field must be filled.

documentsIds
array of strings
length ≤ 1

Ids of the documents that are related to the payment. If this field is filled, the contactId field must be empty. If this field is empty, the contactId field must be filled.

documentsIds
string

Id of the accounting account that is related to the payment.

string
length ≤ 250

Description of the payment

Responses

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