The invoice object

Payment invoice.

AttributeTypeDescription
statusstringCurrent status of the invoice. Possible values: ["canceled", "created", "disputed", "dispute_lost", "expired", "failed", "marked_as_paid", "paid", "partial_refund", "pending", "refunded", "refund_failed", "refund_pending"]
location.uidstringPodium unique identifier for location.
location.organizationUidstringPodium unique identifier for organization.
amountintegerThe amount of the invoice.
uidstringPodium unique identifier for invoice.
channel.typestringMessenger channel for the conversation. Possible values: ["apple", "car_wars", "email", "facebook", "fallback_email", "google", "google_brand", "iframe", "instagram", "phone", "secure", "sms", "text", "whatsapp"]
channel.identifierstringIdentifies the Messenger channel. Must be a valid email address or a phone number. Non-US/Canada numbers must include the country code (e.g. +61 for AUS)
requesterstringName of the employee who initiated the transaction.
createdAtstringWhen the invoice was created.
conversationUidstringPodium unique identifier for conversation.
customerNamestringName of the customer who received the invoice.
allowedPaymentMethodsarray[string]List all the payment methods available for the invoice.
canceledAtstringIf the invoice has been canceled this will be set to when it was canceled.
canceledNotestringIf the invoice has been canceled this will be an internal note left as to why it was canceled.
currencyRefstringThe currency the invoice was sent in.
invoiceNumberstringAn identifier that can be added manually by a user or as reference ID from an external system.
invoiceServiceChargeItemsarraySeparate taxes or service charges applied to an invoice.
invoiceServiceChargeItems[].namestringName of the tax or service charge.
invoiceServiceChargeItems[].amountintegerAmount charged for the tax or service charge, represented in cents.
invoiceServiceChargeItems[].flatChargeAmountintegerFlat charge amount, represented in cents. Null if PERCENTAGE_BASED
invoiceServiceChargeItems[].percentageChargeRatestringTax or service charge percent. Null if FLAT_RATE
invoiceServiceChargeItems[].serviceChargeClassificationstringClassification of tax or service charge. Possible values: ["SERVICE_CHARGE", "SALES_TAX"]
invoiceServiceChargeItems[].serviceChargeTypestringType of tax or service charge. Possible values: ["FLAT_RATE", "PERCENTAGE_BASED"]
lineItemsarraySeparate items or services that make up an invoice.
lineItems[].descriptionstringDescription of the item or service being charged.
lineItems[].amountintegerAmount to be charged for the line item, represented in cents.
paidAtstringWhen the invoice was paid.
paymentNetintegerThe amount of the money from the transaction delivered to the merchant less processing fees, represented in cents.
paymentsarrayDetails of when a customer pays an invoice.
payments[].statusstringCurrent status of the payment. Possible values: ["disputed", "dispute_lost", "failed", "paid", "partial_refund", "pending", "refunded", "refund_failed", "refund_pending"]
payments[].uidstringPodium unique identifier for payment.
payments[].createdAtstringWhen the payment was made.
payments[].bankAccountLast4stringLast four digits of the bank account used if bank transfers are used to make a payment.
payments[].bankAccountNamestringName of the banking institute used if bank transfers are used to make a payment.
payments[].cardBrandstringCard brand used if a card is used to make a payment.
payments[].cardFundingstringCard type used if a card is used to make a payment.
payments[].cardLast4stringLast four digits of the card used if a card is used to make a payment.
payments[].declineCodestringCode returned by the payment processor if a card was used and the payment was declined.
payments[].declineCodeMessagestringA more descriptive message about the declideCode attribute.
payments[].feeintegerTransaction fee removed at the time of the transaction, represented in cents.
payments[].feeBillingTypestringHow the transaction fee is billed.
payments[].feeCollectedAtstringWhen the transaction fee was collected.
payments[].interchangeFeeintegerTransaction fee that is removed at the beginning of the following month if a merchant is on Interchange+, represented in cents.
payments[].paidWithCardOnFilebooleanWhether the payment was made with a card on file.
payments[].refundsarrayA refund can be for the full or partial amount of the payment. Thus there can be multiple refunds per transaction.
payments[].refunds[].reasonstringGeneric reason for why the refund was intiated. Possible values: ["accidental_charge", "canceled", "duplicate", "fraudulent", "requested_by_customer", "other"]
payments[].refunds[].statusstringCurrent status of the refund. Possible values: ["failed_charge_for_pending_refund_disputed", "failed_expired_or_cancelled", "failed_lost_or_stolen", "failed_unknown", "succeeded"]
payments[].refunds[].amountintegerAmount refunded on an invoice, represented in cents.
payments[].refunds[].createdAtstringWhen the refund was initiated.
payments[].refunds[].notesarray[string]Detailed note for why the refund was initiated.
payments[].refunds[].settledAtstringWhen the refund was fully completed. Refunds can take 5-10 days to appear in the customer’s bank account.
payments[].settledAtstringWhen the money from the transaction was transferred into the merchant’s bank account.
readerUidstringPodium unique identifier for card reader.
tipAmountintegerThe total tip amount of the invoice.
{
  "status": "canceled",
  "location": {
    "uid": "00000000-0000-0000-0000-000000000000",
    "organizationUid": "00000000-0000-0000-0000-000000000000"
  },
  "amount": 2000,
  "uid": "00000000-0000-0000-0000-000000000000",
  "channel": {
    "type": "email",
    "identifier": "[email protected]"
  },
  "requester": "John Apple",
  "createdAt": "2015-01-23T23:50:07Z",
  "conversationUid": "00000000-0000-0000-0000-000000000000",
  "customerName": "Joe Orange",
  "allowedPaymentMethods": [
    [
      "Bank Account",
      "Buy Now Pay Later Affirm",
      "Credit Card",
      "Debit Dard"
    ]
  ],
  "canceledAt": "2015-01-23T23:50:07Z",
  "canceledNote": "The wrong amount was entered.",
  "currencyRef": "USD",
  "invoiceNumber": "abc-12345-def",
  "invoiceServiceChargeItems": [
    {
      "name": "UT sales tax",
      "amount": 1099,
      "flatChargeAmount": 1099,
      "percentageChargeRate": "3",
      "serviceChargeClassification": "SERVICE_CHARGE",
      "serviceChargeType": "FLAT_RATE"
    }
  ],
  "lineItems": [
    {
      "description": "Total",
      "amount": 1099
    }
  ],
  "paidAt": "2015-01-23T23:50:07Z",
  "paymentNet": 1000,
  "payments": [
    {
      "status": "disputed",
      "uid": "00000000-0000-0000-0000-000000000000",
      "createdAt": "2015-01-23T23:50:07Z",
      "bankAccountLast4": "1245",
      "bankAccountName": "The Bank",
      "cardBrand": "visa",
      "cardFunding": "CREDIT",
      "cardLast4": "4242",
      "declineCode": "card_not_supported",
      "declineCodeMessage": "The card does not support this type of purchase.",
      "fee": 99,
      "feeBillingType": "per_deposit",
      "feeCollectedAt": "2015-01-23T23:50:07Z",
      "interchangeFee": 50,
      "paidWithCardOnFile": true,
      "refunds": [
        {
          "reason": "accidental_charge",
          "status": "failed_charge_for_pending_refund_disputed",
          "amount": 100,
          "createdAt": "2015-01-23T23:50:07Z",
          "notes": [
            "The product did not function properly."
          ],
          "settledAt": "2015-01-23T23:50:07Z"
        }
      ],
      "settledAt": "2015-01-23T23:50:07Z"
    }
  ],
  "readerUid": "00000000-0000-0000-0000-000000000000",
  "tipAmount": 200
}