Payments API
GET /billing/{tenantLocator}/payments/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Response:PaymentResponse
Security Group:payments  Permission:read
GET /billing/{tenantLocator}/payments/list
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
offset | query | int? | optional |
count | query | int? | optional |
accountLocator | query | locator? | optional |
extended | query | boolean? | optional |
Response:PaymentListResponse
Security Group:payments  Permissions:read,list
PaymentListResponse
¶requiredlistCompleted booleanitems PaymentResponse[]
PaymentResponse
¶requiredlocator locatorcurrency stringpaymentState Enum draft | validated | posted | reversed | discardedamount numbertype stringdata map<string,object>createdAt datetimecreatedBy uuidshortfallCreditLocators locator[]targets CreditItem[]optionalaccountLocator locator?externalCashTransactionLocator locator?postedAt datetime?remainingAmount number?reversalReason string?reversedAt datetime?validationResult ValidationResult?
CreditItem
¶requiredcontainerLocator locatorcontainerType Enum invoice | accountoptionalamount number?
POST /billing/{tenantLocator}/payments
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
Request:PaymentCreateRequest
Response:PaymentResponse
Security Group:payments  Permission:write
PaymentCreateRequest
¶requiredamount numbertype stringuseDefaultFinancialInstrument booleandata map<string,object>targets CreditItem[]optionalaccountLocator locator?financialInstrumentLocator locator?currency string?transactionMethod Enum? ach | cash | eft | standard | wiretransactionNumber string?
PATCH /billing/{tenantLocator}/payments/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Request:PaymentUpdateRequest
Response:PaymentResponse
Security Group:payments  Permission:write
PaymentUpdateRequest
¶requiredaddTargets CreditItem[]removeData map<string,object>removeTargets locator[]setData map<string,object>optionalaccountLocator locator?financialInstrumentLocator locator?currency string?amount number?transactionMethod Enum? ach | cash | eft | standard | wiretransactionNumber string?type string?useDefaultFinancialInstrument boolean?
PUT /billing/{tenantLocator}/payments/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Request:PaymentCreateRequest
Response:PaymentResponse
Security Group:payments  Permission:write
PATCH /billing/{tenantLocator}/payments/{locator}/validate
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Response:PaymentResponse
Security Group:payments  Permission:write
PATCH /billing/{tenantLocator}/payments/{locator}/post
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Response:PaymentResponse
Security Group:payments  Permission:write
PATCH /billing/{tenantLocator}/payments/{locator}/reverse
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Request:CreditDistributionReverseRequest
Response:PaymentResponse
Security Group:payments  Permission:write
PATCH /billing/{tenantLocator}/payments/{locator}/reset
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Response:PaymentResponse
Security Group:payments  Permission:write
PATCH /billing/{tenantLocator}/payments/{locator}/discard
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
Response:PaymentResponse
Security Group:payments  Permission:write
GET /billing/{tenantLocator}/invoices/{locator}/payments/list
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
includeReversed | query | boolean? | optional |
offset | query | int? | optional |
count | query | int? | optional |
extended | query | boolean? | optional |
Response:PaymentListResponse
Security Group:invoices  Permissions:read,list
GET /billing/{tenantLocator}/payments/{locator}/invoices/list
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | locator | required |
offset | query | int? | optional |
count | query | int? | optional |
extended | query | boolean? | optional |
Response:InvoiceListResponse
Security Group:payments  Permissions:read,list