Payments

Below is a definition of the Payments object

{
    "_id": "K2njsdkdskMSEA",
    "channel": "stripe",
    "created": "2020-06-18T07:38:51.596Z",
    "customer_id": "cus_C7jslksli64",
    "description": null,
    "discount_amount": null,
    "discount_label": null,
    "external_id": "ECD99-0001",
    "invoice_pdf": null,
    "lines": [
      {
        "description": "Annual Membership",
        "amount": 5000,
        "quantity": 1,
        "_id": null
      }
    ],
    "member_id": "fA4tqkldkslsd9wD",
    "membership_ids": [
      "iZklsksdltmWrf"
    ],
    "organization_id": "pobklsdkdslMqZ2u",
    "payment_date": "2018-01-12T15:06:30.000Z",
    "status": 100,
    "stripe_invoice_id": "in_1BjUklsksdSlYDr",
    "subscription_id": "sub_C7j;sllsdfESX",
    "subtotal": 5000,
    "total": 5000,
    "total_tax_amounts": [],
    "updated": "2020-06-18T07:38:51.599Z"
  }

Field

Type

Description

  • id

string

Internal ID to identify Payments

channel

string

Identifies channel of Payments

created

datetime

Datetime when Payments object was created in the Join It system

updated

datetime

Datetime when Payments object was last updated in the Join It system

payment_date

datetime

Datetime when payment was collected

organization_id

string

Unique ID identifying the Organization associated with the Payment

discount_amount

number

Amount discounted on the Payments object

discount_label

strint

Label for discount

member_id

string

Unique ID Identifying the associated Account (previously called 'Member') object

memberships_id

array

Array of Memberships associated with the Payments object

status

number

Status of the Payment

subtotal

number

Subtotal of the Payment

total

number

Total of the Payment

lines

array

Array of objects describing the calculation of the Payments object