Payments API

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

optional
accountLocator string?
externalCashTransactionLocator string?
postedAt datetime?
remainingAmount number?
reversalReason string?
reversedAt datetime?
validationResult ValidationResult?
data map<string,object>?
CreditItem
required
containerLocator string
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 string?
financialInstrumentLocator string?
currency string?
transactionMethod Enum? ach | cash | eft | standard | wire
transactionNumber string?
Update a Payment
updatePayment
PATCH /billing/{tenantLocator}/payments/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    Security Group:payments   Permission:write
PaymentUpdateRequest
required
addTargets CreditItem[]
removeData map<string,object>
removeTargets string[]
setData map<string,object>

optional
accountLocator string?
financialInstrumentLocator string?
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
    locatorpathstringrequired
    Security Group:payments   Permission:write
Validate a Payment
validatePayment
PATCH /billing/{tenantLocator}/payments/{locator}/validate
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    Security Group:payments   Permission:write
Post a Payment
postPayment
PATCH /billing/{tenantLocator}/payments/{locator}/post
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    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
    locatorpathstringrequired
    Security Group:payments   Permission:write
Discard a Payment
discardPayment
PATCH /billing/{tenantLocator}/payments/{locator}/discard
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    Security Group:payments   Permission:write
Fetch Payments for an Invoice
fetchPaymentsForAnInvoice
GET /billing/{tenantLocator}/invoices/{locator}/payments/list
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathstringrequired
    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
    locatorpathstringrequired
    offsetqueryint?optional
    countqueryint?optional
    extendedqueryboolean?optional
    Security Group:payments   Permissions:read,list

See Also