anchor.diff:  
   
   |===
  -===== Json fields PaymentJson
  -
  -|===
  -|Attribute |Required |Comments 
  -
  +===== Json fields InvoicePaymentJson
  +
  +|===
  +|Attribute |Required |Comments 
  +
  +|targetInvoiceId
  +|true
  +|-
  +|accountId
  +|true
  +|-
  +|paymentId
  +|true
  +|-
  +|paymentNumber
  +|true
  +|-
  +|paymentExternalKey
  +|true
  +|-
  +|authAmount
  +|true
  +|-
  +|capturedAmount
  +|true
  +|-
  +|purchasedAmount
  +|true
  +|-
  +|refundedAmount
  +|true
  +|-
  +|creditedAmount
  +|true
  +|-
  +|currency
  +|true
  +|-
  +|paymentMethodId
  +|true
  +|-
  +|transactions
  +|true
  +|-
  +|auditLogs
  +|true
  +|-
  +
  +
  +|===
  +===== Json fields InvoiceItemJson
  +
  +|===
  +|Attribute |Required |Comments 
  +
  +|invoiceItemId
  +|true
  +|-
  +|invoiceId
  +|true
  +|-
  +|linkedInvoiceItemId
  +|true
  +|-
  +|accountId
  +|true
  +|-
  +|bundleId
  +|true
  +|-
  +|subscriptionId
  +|true
  +|-
  +|planName
  +|true
  +|-
  +|phaseName
  +|true
  +|-
  +|usageName
  +|true
  +|-
  +|itemType
  +|true
  +|-
  +|description
  +|true
  +|-
  +|startDate
  +|true
  +|-
  +|endDate
  +|true
  +|-
   |amount
   |true
   |-
  -|paidAmount
  -|true
  -|-
  -|accountId
  -|true
  -|-
  -|invoiceId
  +|currency
  +|true
  +|-
  +|auditLogs
  +|true
  +|-
  +
  +
  +|===
  +==== PaymentGatewayResource
  +
  +=====  APIs
  +
  +|===
  +|HTTP VERB |URI |Query Parameters |Description 
  +
  +|POST
  +|+++/1.0/kb/paymentGateways/hosted/form/{accountId}+++
  +|pluginProperty
  +|Build form descriptor
  +
  +
  +|POST
  +|+++/1.0/kb/paymentGateways/notification/{pluginName}+++
  +|pluginProperty
  +|Process notification
  +
  +
  +|===
  +===== Json fields HostedPaymentPageFieldsJson
  +
  +|===
  +|Attribute |Required |Comments 
  +
  +|formFields
  +|true
  +|-
  +
  +
  +|===
  +==== PaymentMethodResource
  +
  +=====  APIs
  +
  +|===
  +|HTTP VERB |URI |Query Parameters |Description 
  +
  +|GET
  +|+++/1.0/kb/paymentMethods/{paymentMethodId}+++
  +|pluginProperty, audit, withPluginInfo
  +|Get payment method
  +
  +
  +|GET
  +|+++/1.0/kb/paymentMethods+++
  +|externalKey, pluginProperty, audit, withPluginInfo
  +|Get payment method by key
  +
  +
  +|GET
  +|+++/1.0/kb/paymentMethods/pagination+++
  +|offset, limit, pluginName, pluginProperty, audit, withPluginInfo
  +|Get payment methods
  +
  +
  +|GET
  +|+++/1.0/kb/paymentMethods/search/{searchKey}+++
  +|offset, limit, pluginName, pluginProperty, audit, withPluginInfo
  +|Search payment methods
  +
  +
  +|DELETE
  +|+++/1.0/kb/paymentMethods/{paymentMethodId}+++
  +|deleteDefaultPmWithAutoPayOff, pluginProperty
  +|Delete payment method
  +
  +
  +|===
  +==== PaymentResource
  +
  +=====  APIs
  +
  +|===
  +|HTTP VERB |URI |Query Parameters |Description 
  +
  +|GET
  +|+++/1.0/kb/payments/{paymentId}+++
  +|withPluginInfo, pluginProperty, audit
  +|Get payment
  +
  +
  +|GET
  +|+++/1.0/kb/payments/pagination+++
  +|offset, limit, pluginName, pluginProperty, audit, withPluginInfo
  +|Get payments
  +
  +
  +|GET
  +|+++/1.0/kb/payments/search/{searchKey}+++
  +|offset, limit, pluginName, pluginProperty, audit, withPluginInfo
  +|Search payments
  +
  +
  +|POST
  +|+++/1.0/kb/payments/{paymentId}+++
  +|pluginProperty
  +|Capture authorization
  +
  +
  +|POST
  +|+++/1.0/kb/payments/{paymentId}/refunds+++
  +|pluginProperty
  +|Refund payment
  +
  +
  +|DELETE
  +|+++/1.0/kb/payments/{paymentId}+++
  +|pluginProperty
  +|Void payment
  +
  +
  +|POST
  +|+++/1.0/kb/payments/{paymentId}/chargebacks+++
  +|-
  +|Chargeback payment
  +
  +
  +|===
  +===== Json fields PaymentTransactionJson
  +
  +|===
  +|Attribute |Required |Comments 
  +
  +|transactionId
  +|true
  +|-
  +|transactionExternalKey
   |true
   |-
   |paymentId
   |true
   |-
  -|paymentNumber
  -|true
  -|-
  -|paymentMethodId
  -|true
  -|-
  -|requestedDate
  +|paymentExternalKey
  +|true
  +|-
  +|transactionType
  +|true
  +|-
  +|amount
  +|true
  +|-
  +|currency
   |true
   |-
   |effectiveDate
   |true
   |-
  -|retryCount
  -|true
  -|-
  -|currency
  -|true
  -|-
   |status
   |true
   |-
  
positive.code: 
  |GET
  |+++/1.0/kb/accounts/{accountId}+++
  |accountWithBalance, accountWithBalanceAndCBA
  |Get account
  
  
  |GET
  |+++/1.0/kb/accounts/search/{searchKey}+++
  |accountWithBalance, accountWithBalanceAndCBA
  |Search accounts
  
  
  
negative.code: 
  |GET
  |+++/1.0/kb/accounts/{accountId}/tags+++
  |audit, includedDeleted
  |Get tags
  
  
  