Create Payment

View as Markdown
Creates a payment and allocates it to one or more bills.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active project.

Request

This endpoint expects an object.
amountstringRequired
account_idstringRequiredformat: "uuid"
allocationslist of objectsRequired
payment_datedatetimeRequired
staff_idstringOptionalformat: "uuid"
vendor_idstringOptionalformat: "uuid"
exchange_ratestringOptional
payment_methodstringOptional
destination_accountobjectOptional

Passed through opaquely by the API; structure is not validated at this layer.

Response

Created
dataobject
statusboolean
messagestring