Invoice API

Fetch an invoice

GET /invoice/{invoiceLocator}

Pay an invoice

POST /invoice/{invoiceLocator}/pay

PaymentCreateRequest

{
  // Optional
  "fieldValues" : map<string,[string]>
}

PaymentResponse2

{
  // Required
  "amount" : number
  "amountCurrency" : string
  "displayId" : string
  "fieldValues" : map<string,[string]>
  "invoiceLocator" : string
  "locator" : string
  "mediaByLocator" : map<string,Media>
  "postedTimestamp" : integer
}

Fetch financial transactions for an invoice

GET /invoice/{invoiceLocator}/financialTransactions

GetInvoiceFinancialTransactionsResponse

{
  // Required
  "financialTransactions" : [FinancialTransactionResponse]
}