Payments API
GET /billing/{tenantLocator}/payments/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | 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 | string? | optional |
extended | query | boolean? | optional |
Response:PaymentListResponse
Security Group:payments  Permissions:read,list
PaymentListResponse
¶requiredlistCompleted booleanitems PaymentResponse[]
PaymentResponse
¶requiredlocator stringcurrency stringpaymentState Enum draft | validated | posted | reversed | discardedamount numbertype stringcreatedAt datetimecreatedBy uuidshortfallCreditLocators string[]targets CreditItem[]optionalaccountLocator string?externalCashTransactionLocator string?postedAt datetime?remainingAmount number?reversalReason string?reversedAt datetime?validationResult ValidationResult?data map<string,object>?
CreditItem
¶requiredcontainerLocator stringcontainerType 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 string?financialInstrumentLocator string?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 | string | required |
Request:PaymentUpdateRequest
Response:PaymentResponse
Security Group:payments  Permission:write
PaymentUpdateRequest
¶requiredaddTargets CreditItem[]removeData map<string,object>removeTargets string[]setData map<string,object>optionalaccountLocator string?financialInstrumentLocator string?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 | string | 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 | string | 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 | string | 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 | string | 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 | string | 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 | string | 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 | string | 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 | string | required |
offset | query | int? | optional |
count | query | int? | optional |
extended | query | boolean? | optional |
Response:InvoiceListResponse
Security Group:payments  Permissions:read,list