POST
/
payments

Authorizations

Authorization
string
headerrequired

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

Body

application/json

payload to create payment

accountId
string
required
Maximum length: 512
externalPaymentReference
object
required

external payment reference object

lineItemRecords
object[]
required
currency
string
required
Maximum length: 512
totalAmount
number
required
description
string

A brief description of the payment

Maximum length: 512
notes
string

A detailed note about the payment

Maximum length: 512

Response

201 - application/json

Payment object

id
string
required
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
description
string
notes
string