POST
/
payments

Authorizations

Authorization
string
headerrequired

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

Body

application/json
description
string

A brief description of the payment

notes
string

A detailed note about the payment

accountId
string
required
externalPaymentReference
object
required

external payment reference object

lineItemRecords
object[]
required
currency
string
required
totalAmount
number
required

Response

201 - application/json
id
string
required
description
string
notes
string
accountId
string
required
externalPaymentReferences
object
required

external payment reference object

lineItemRecords
object[]
required
totalAmount
number
required
currency
string
required
version
number
required
createdBy
string
required
createdAt
string
required