Payments API

Fetch a Payment
fetchPayment
GET /billing/{tenantLocator}/payments/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:read
Fetch Multiple Payments
fetchMultiplePayments
GET /billing/{tenantLocator}/payments/list
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    offsetqueryint?optional
    countqueryint?optional
    accountLocatorquerylocator?optional
    extendedqueryboolean?optional
    Security Group:payments   Permissions:read,list
PaymentListResponse
required
listCompleted boolean
PaymentResponse
required
locator locator
currency string
paymentState Enum draft | validated | posted | reversed | discarded
amount number
type string
data map<string,object>
createdAt datetime
createdBy uuid
shortfallCreditLocators locator[]
targets CreditItem[]

optional
accountLocator locator?
externalCashTransactionLocator locator?
postedAt datetime?
remainingAmount number?
reversalReason string?
reversedAt datetime?
validationResult ValidationResult?
CreditItem
required
containerLocator locator
containerType Enum invoice | account

optional
amount number?
Create a Payment
createPayment
POST /billing/{tenantLocator}/payments
PaymentCreateRequest
required
amount number
type string
useDefaultFinancialInstrument boolean
data map<string,object>
targets CreditItem[]

optional
accountLocator locator?
financialInstrumentLocator locator?
currency string?
transactionMethod Enum? ach | cash | eft | standard | wire
transactionNumber string?
Update a Payment
updatePayment
PATCH /billing/{tenantLocator}/payments/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:write
PaymentUpdateRequest
required
addTargets CreditItem[]
removeData map<string,object>
removeTargets locator[]
setData map<string,object>

optional
accountLocator locator?
financialInstrumentLocator locator?
currency string?
amount number?
transactionMethod Enum? ach | cash | eft | standard | wire
transactionNumber string?
type string?
useDefaultFinancialInstrument boolean?
Update a Payment (overwrite extension data)
updatePaymentOverwriteData
PUT /billing/{tenantLocator}/payments/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:write
Validate a Payment
validatePayment
PATCH /billing/{tenantLocator}/payments/{locator}/validate
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:write
Post a Payment
postPayment
PATCH /billing/{tenantLocator}/payments/{locator}/post
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:write
Reverse a Posted Payment
reversePayment
PATCH /billing/{tenantLocator}/payments/{locator}/reverse
Reset a Validated Payment Back to Draft State
resetPayment
PATCH /billing/{tenantLocator}/payments/{locator}/reset
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:write
Discard a Payment
discardPayment
PATCH /billing/{tenantLocator}/payments/{locator}/discard
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:payments   Permission:write
Fetch Payments for an Invoice
fetchPaymentsForAnInvoice
GET /billing/{tenantLocator}/invoices/{locator}/payments/list
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    includeReversedqueryboolean?optional
    offsetqueryint?optional
    countqueryint?optional
    extendedqueryboolean?optional
    Security Group:invoices   Permissions:read,list
Fetch Invoices Targeted By a Payment
fetchInvoicesTargetedByAPayment
GET /billing/{tenantLocator}/payments/{locator}/invoices/list
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    offsetqueryint?optional
    countqueryint?optional
    extendedqueryboolean?optional
    Security Group:payments   Permissions:read,list

See Also