Get a specific Account

GET /accounts/{account_id}

Path parameters

Query parameters

Responses

  • Successful query of information for a specific account

    Hide response attributes Show response attributes object
    • account_id string Required

      This is the ID used to identify the account in your system. For most use-cases, we strongly recommend using the ID from the system the account was originally created in -- for most use-cases, this is created as part of the origination system that approves a borrower. This will be the account that is used to refer to the borrower for all subsequent requests. Note: both strings and integers are accepted.

    • created_at string(date-time)

      The Date-Time which the account was created in the API.

    • effective_at string(date-time)

      The Date-Time that this account became/becomes active.

    • Hide account_overview attributes Show account_overview attributes object
      • account_status string Required

        The Status of the Account. Active upon account creation.

        Values are ACTIVE, SUSPENDED, or CLOSED. Default value is ACTIVE.

      • The subtype of the Status of the Account. Null upon account creation.

        Values are , INACTIVITY, INELIGIBLE, DELINQUENT, CHARGE_OFF, GRANTOR_REQUEST, BANKRUPTCY, PAID_OFF, CUSTOMER_REQUEST_PENDING_PAYOFF, GRANTOR_REQUEST_PENDING_PAYOFF, DECEASED, RISK_REVIEW, FRAUD, CUSTOMER_REQUEST, or RISK. Default value is empty.

      • Denotes whether an account has active SCRA benefits

    • The product associated with the account.

      Hide account_product attributes Show account_product attributes object
      • product_id string Required

        The Canopy-generated ID for the product.

      • Hide product_overview attributes Show product_overview attributes object
        • product_name string Required

          Name of Product, i.e. Express Card.

        • A color to be associated with the product for UI purposes.

          Default value is #4867FF.

        • Short description of the Product - max of 30 characters.

        • product_long_description string | null Required

          Description of the Product.

        • Timezone denoted as an Olson-style timezone defining the timezone for the product. All times in any response data for accounts using this product will be denominated in this timezone. Shifts due to daylight savings will be accounted for where relevant, and all output timestamps will be denoted as UTC offsets normalized based on this value.

          Default value is America/New_York.

        • product_type string Required

          The Type of Product. If not included, defaults to REVOLVING

      • Hide product_lifecycle attributes Show product_lifecycle attributes object
        • late_fee_impl_cents integer Required

          The fee charged for late payments on the account.

          Default value is 0.

        • The fee charged for payment reversals on the account.

          Default value is 0.

        • The fee charged at the time of account origination

          Default value is 0.

        • An annual fee to be charged yearly from the date of account creation. It will reflect on the subsequent statement once incurred.

          Default value is 0.

        • A monthly fee to be charged monthly from the date of account creation. It will reflect on the subsequent statement once incurred.

          Default value is 0.

        • loan_end_date string(date-time) | null

          If applicable, the account's loan repayment date.

      • Hide promo_overview attributes Show promo_overview attributes object
      • Hide post_promo_overview attributes Show post_promo_overview attributes object
      • Hide product_duration_information attributes Show product_duration_information attributes object
        • promo_len integer

          The number of billing cycles from account origination during which accounts on this product are on a promotional period.

          Default value is 0.

        • If applicable, the number of billing cycles from account origination under which this product falls under a purchas window period.

          Default value is 0.

    • external_fields array[object]

      An Array of External Fields. These should be used to connect accounts created in Canopy to Users in your system and any connected external systems.

      Not more than 1000 elements.

      Hide external_fields attributes Show external_fields attributes array[object]
      • key string

        key: i.e. Name of the External Party

      • value string

        value: i.e. External Account ID

    • Hide min_pay_due_cents attributes Show min_pay_due_cents attributes object
      • statement_min_pay_cents integer Required

        Total amount due for the billing cycle, summing cycle principal, interest, deferred interest, and fees outstanding.

        Default value is 0.

      • min_pay_due_at string(date-time)

        The Date-Time the payment for this billing cycle is due.

    • Hide additional_statement_min_pay_details attributes Show additional_statement_min_pay_details attributes object
    • Hide payment_processor_config attributes Show payment_processor_config attributes object
      • ach object

        ACH processing configuration.

        Hide ach attributes Show ach attributes object
        • payment_processor_name string Required

          Indicates the active payment processor whose configuration will be used for ACH/Debit card payments made from the account.

          Values are NONE, REPAY, DWOLLA, MODERN_TREASURY, or CANOPY_NACHA. Default value is NONE.

        • repay_config object | null
          Hide repay_config attributes Show repay_config attributes object | null
          • ach_token string | null

            The tokenized ACH details.

          • last_four string | null

            The last four digits of the account number

        • dwolla_config object | null
          Hide dwolla_config attributes Show dwolla_config attributes object | null
          • ach_token string | null

            The tokenized ACH details.

          • last_four string | null

            The last four digits of the account number

        • Hide modern_treasury_config attributes Show modern_treasury_config attributes object | null
          • ach_token string | null

            The tokenized ACH details.

          • last_four string | null

            The last four digits of the account number

        • Canopy will create a NACHA file for each borrower ACH payment to be sent to your bank for ACH execution.

          Hide canopy_nacha_config attributes Show canopy_nacha_config attributes object
          • bank_routing_number string Required

            Routing number is a nine-digit code based on the U.S. Bank location where your account was opened.

          • bank_account_number string Required

            Account number is an eight to ten digit number that identifies a specific account.

      • Debit processing configuration.

        Hide debit_card attributes Show debit_card attributes object
        • payment_processor_name string Required

          Indicates the active payment processor whose configuration will be used for Debit card payments made from the account.

          Values are NONE, REPAY, or AUTHORIZE_NET. Default value is NONE.

        • repay_config object | null
          Hide repay_config attributes Show repay_config attributes object | null
          • card_token string | null

            The tokenized card details.

          • last_four string | null

            The last four digits of the card number

        • Sensitive credit or debit card information will be stored as a secured token for payments in place of the raw account details. Note: This leverages credit card payment gateways, and Canopy cannot differentiate between credit or debit cards used in this payment integration. See authorize.net payment profiles for further details.

          Hide authorize_net_config attributes Show authorize_net_config attributes object
      • Credit processing configuration.

        Hide credit_card attributes Show credit_card attributes object
        • payment_processor_name string Required

          Indicates the active payment processor whose configuration will be used for Credit card payments made from the account.

          Values are NONE or CHECKOUT. Default value is NONE.

        • checkout_config object | null
          Hide checkout_config attributes Show checkout_config attributes object | null
          • A Checkout.com payment source id or customer id.

          • The tokenized card number.

          • last_four string | null

            The last 4 digits of the card number.

          • expires_on string | null

            Expiration time for the card token.

      • Indicates whether autopay is enabled for this account. Currently, autopay is triggered 1 day prior to a payment due date. If default_payment_processor is set to NONE, autopay will not be triggered for account regardless of this field's value.

        Default value is false.

      • Configures the payment processor to be used for manual or autopay payments. This cannot be set to a value different from NONE if no valid ACH or Debit Card configs are provided.

        Values are ACH, DEBIT_CARD, CREDIT_CARD, or NONE. Default value is NONE.

    • Hide disbursements_config attributes Show disbursements_config attributes object
      • The payout_entity_id for this payout entity (typically a lender).

      • Provide a disbursement breakdown if draw downs from a borrower are meant to be distributed across multiple payout entities (lenders, merchants). Borrower payout breakdown. These numbers must add up to 100%. Borrower payout breakdowns will get reflected in daily reconciliation reports.

        Hide disbursement_split_percentages attribute Show disbursement_split_percentages attribute object
        • principal array[object]
          Hide principal attributes Show principal attributes array[object]
          • The payout_entity_id for this payout entity.

          • The percentage of borrower payouts towards principal to be allocated to this payout entity. Sum of splits for a borrower must = 100%.

    • Hide payouts_config attribute Show payouts_config attribute object
      • Hide payout_split_percentages attributes Show payout_split_percentages attributes object
        • principal array[object] Required
          Hide principal attributes Show principal attributes array[object]
          • payout_entity_id string Required

            The payout_entity_id of the payout_entity.

          • split_percent number Required

            The percentage of borrower payouts/disbursements to be allocated to this associated entity. Sum of splits for a borrower must = 100%. No decimals allowed.

        • interest array[object] Required
          Hide interest attributes Show interest attributes array[object]
          • payout_entity_id string Required

            The payout_entity_id of the payout_entity.

          • split_percent number Required

            The percentage of borrower payouts/disbursements to be allocated to this associated entity. Sum of splits for a borrower must = 100%. No decimals allowed.

        • fee array[object] Required
          Hide fee attributes Show fee attributes array[object]
          • payout_entity_id string Required

            The payout_entity_id of the payout_entity.

          • split_percent number Required

            The percentage of borrower payouts/disbursements to be allocated to this associated entity. Sum of splits for a borrower must = 100%. No decimals allowed.

    • Hide issuer_processor_details attribute Show issuer_processor_details attribute object
      • lithic object
        Hide lithic attribute Show lithic attribute object
        • account_token string(uuid)

          The external unique identifier of the Lithic account against which charges are made.

    • Hide cycle_type attributes Show cycle_type attributes object
      • Interval for a first cycle for this account.

      • The amount of time after a payment is late after which you would like for a late fee to be incurred. If not provided, defaults to product's fee policy's late fee grace value

    • Hide discounts attribute Show discounts attribute object
    • summary object
      Hide summary attributes Show summary attributes object
      • The total balance (in cents) associated with the account. This balance is comprised of the sum of the following six balance items.

      • The total principal balance (in cents) associated with the account.

      • The total interest balance (in cents) associated with the account.

      • The interval at which interest accrues on the account. Ex: '1 day', '1 week', '2 weeks', '1 month' .Defaults to the product interest_accrual_interval if not specified

      • The total AM interest balance (in cents) associated with the account.

        Default value is 0.

      • The total deferred interest balance (in cents) associated with the account.

        Default value is 0.

      • The total AM deferred interest balance (in cents) associated with the account.

        Default value is 0.

      • The total fees balance (in cents) associated with the account.

        Default value is 0.

      • The total sum of payments made to date (in cents) associated with the account.

      • The total sum of interest allocations for payments made to date (in cents) associated with the account.

      • credit_limit_cents integer Required

        Total Amount (in cents) that this account can borrow.

      • Total Amount (in cents) that this account can borrow.

        Default value is 0.

      • The percentage interest applied to the account (i.e. 6.2 means 6.2%)

      • The total available credit balance (in cents) for the account.

        Default value is 0.

      • If applicable, the total amount of available funds for continued purchase following a purchase window pattern, where payments made do not replenish amount available for purchase.

        Default value is 0.

      • The total amount needed to pay off the loan at this exact moment.

        Default value is 0.

      • Any number as a percentage (e.g. 5=> 5%). This is the maximum late fee that can be charged in this account: as determined by late_fee_cap_percent * minimum payment.

      • Any number as a percentage (e.g. 5=> 5%). This is the maximum reversal fee that can be charged in this account, as determined by payment_reversal_fee_cap_percent * account principal as if the payment never occurred (as opposed to after the payment but before it's reversed)

    • associated_entities object | null

      (to be depricated) -- use payout_entities instead to provide more granular detail.

      Hide associated_entities attributes Show associated_entities attributes object | null
    • Plaid configurations.

      Hide plaid_config attributes Show plaid_config attributes object
      • Hide plaid_access_token attribute Show plaid_access_token attribute object
        • valid_config boolean Required

          Indicates whether Canopy has a valid Plaid access token.

      • Hide plaid_account_id attribute Show plaid_account_id attribute object
        • valid_config boolean Required

          Indicates whether Canopy has a valid Plaid account ID.

      • Indicates whether the balance check functionality is enabled with along side the payment processing. If set to true, the payment processing is enabled and the plaid access token and plaid account ID are valid, actions such as notifications etc. will be triggered.

        Default value is false.

    • payout_entities array[object] | null

      An array of payout entities who have been assigned to the account

      Not more than 1000 elements.

      Hide payout_entities attributes Show payout_entities attributes array[object] | null
      • payout_entity_id string Required

        The ID to be associated with the payout entity for future requests. If not provided on payout entity creation, Canopy will generate this field.

      • Type of associated entity

        Values are merchant, lender, sponsor, or organization.

      • Entity's name.

      • external_fields array[object]

        An Array of External Fields. These should be used to connect entities created in Canopy to data in your system and any connected external systems.

        Not more than 1000 elements.

        Hide external_fields attributes Show external_fields attributes array[object]
        • key string

          key: i.e. Name of the External Party

        • value string

          value: i.e. External Account ID

      • A Canopy-generated ID for the parent of this associated entity to establish a parent-child relationship.

      • Account number of the bank account for payment distributions.

      • Routing number of the bank account for payment distributions.

    • customers array[object] | null Required

      An array of customers who have been assigned to the account

      Not more than 1000 elements.

      Hide customers attributes Show customers attributes array[object] | null
      • customer_id string Required

        A Canopy-generated ID for the customer.

      • Prefix to the customer's name. Primary account holder or controlling officer name for Business customers.

      • Customer's first name. Primary account holder or controlling officer name for Business customers.

      • Customer's middle name. Primary account holder or controlling officer name for Business customers.

      • Customer's last name. Primary account holder or controlling officer name for Business customers.

      • Suffix to the customer's name

      • Customer's phone number in E.164 format

      • Address line one.

      • Address line two.

      • Address city.

      • Address state.

      • Five digit zipcode or nine digit 'ZIP+4'

      • ISO 3166-1 alpha-2 country code for the customer.

      • ssn string

        Social security number of the customer.

      • Any country-specific unique identifier for the customer.

      • email string(email)

        The email address of this Customer

      • date_of_birth string(date)

        Customer's date of birth in ISO 8601 format

      • Hide business_details attributes Show business_details attributes object
      • card_details array[object] | null

        Card data. Field names match the ones in Lithic's card schema

        Hide card_details attributes Show card_details attributes array[object] | null
        • spend_limit integer | null

          Spending limit of card (in cents). If not provided, spending is still subject to the spend limit set at the issuer processor account (if any).

          Minimum value is 1.

        • lithic object
          Hide lithic attributes Show lithic attributes object
          • type string

            The type of card being returned

            Values are UNLOCKED, MERCHANT_LOCKED, or SINGLE_USE.

          • state string

            The current state of the card

            Values are OPEN, PAUSED, or CLOSED.

          • token string(uuid)

            Unique external identifier for the card

          • Last four digits of the card

          • memo string

            Friendly name to identify the card

  • Unauthorized.

  • Forbidden.

  • Account not found

  • Too many requests.

  • Unexpected Error.

GET /accounts/{account_id}
curl \
 -X GET https://sandbox-api.canopyservicing.com/accounts/31mNprzLd2bKl6koVna68ARM \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "account_id": "31mNprzLd2bKl6koVna68ARM",
  "created_at": "2017-06-20T09:12:14+00:00",
  "effective_at": "2018-03-20T09:12:28+00:00",
  "account_overview": {
    "account_status": "SUSPENDED",
    "account_status_subtype": "BANKRUPTCY",
    "is_active_scra": "false"
  },
  "account_product": {
    "product_id": "prod_4p1sc",
    "product_overview": {
      "product_name": "Blue Cash Express",
      "product_color": "#0000FF",
      "product_short_description": "Consumer credit card",
      "product_long_description": "Student credit card.",
      "product_time_zone": "America/Chicago",
      "product_type": "REVOLVING"
    },
    "product_lifecycle": {
      "late_fee_impl_cents": 2900,
      "payment_reversal_fee_impl_cents": 2900,
      "origination_fee_impl_cents": 2000,
      "annual_fee_impl_cents": 1000,
      "monthly_fee_impl_cents": 500,
      "loan_end_date": "2013-01-13T05:25:13.813+00:00"
    },
    "promo_overview": {
      "promo_purchase_window_inclusive_start": "2013-01-13T05:25:13.813+00:00",
      "promo_purchase_window_exclusive_end": "2013-01-13T05:25:13.813+00:00",
      "promo_inclusive_start": "2013-01-13T05:25:13.813+00:00",
      "promo_exclusive_end": "2013-01-13T05:25:13.813+00:00",
      "promo_impl_interest_rate_percent": 6.2,
      "promo_len": 6
    },
    "post_promo_overview": {
      "post_promo_inclusive_start": "2013-01-13T05:25:13.813+00:00",
      "post_promo_exclusive_end": "2013-01-13T05:25:13.813+00:00",
      "post_promo_impl_interest_rate_percent": 6.2,
      "post_promo_len": 48
    },
    "product_duration_information": {
      "promo_len": 6,
      "promo_purchase_window_len": 5
    }
  },
  "external_fields": [
    {
      "key": "Umbrella Corporation",
      "value": "22445702-a389-431f-927d-07b8d0750787"
    }
  ],
  "min_pay_due_cents": {
    "statement_min_pay_cents": 160000,
    "min_pay_due_at": "2019-10-18T23:04:48.321+00:00"
  },
  "additional_statement_min_pay_details": {
    "statement_min_pay_charges_principal_cents": 100000,
    "statement_min_pay_interest_cents": 30000,
    "statement_min_pay_am_interest_cents": 200,
    "statement_min_pay_deferred_cents": 10000,
    "statement_min_pay_am_deferred_interest_cents": 200,
    "statement_min_pay_fees_cents": 20000,
    "previous_statement_min_pay_cents": 400000
  },
  "payment_processor_config": {
    "ach": {
      "payment_processor_name": "REPAY",
      "repay_config": {
        "ach_token": "string",
        "last_four": "string"
      },
      "dwolla_config": {
        "ach_token": "string",
        "last_four": "string"
      },
      "modern_treasury_config": {
        "ach_token": "string",
        "last_four": "string"
      },
      "canopy_nacha_config": {
        "bank_routing_number": "999999992",
        "bank_account_number": "987654321"
      }
    },
    "debit_card": {
      "payment_processor_name": "REPAY",
      "repay_config": {
        "card_token": "string",
        "last_four": "string"
      },
      "authorize_net_config": {
        "customer_profile_id": "527262",
        "customer_payment_profile_ids": [
          "86"
        ]
      }
    },
    "credit_card": {
      "payment_processor_name": "CHECKOUT",
      "checkout_config": {
        "source_id": "cus_6artgoevd77u7ojah2wled32s",
        "card_token": "string",
        "last_four": "string",
        "expires_on": "string"
      }
    },
    "autopay_enabled": true,
    "default_payment_processor_method": "ACH"
  },
  "disbursements_config": {
    "disbursement_source_payout_entity_id": 1009,
    "disbursement_split_percentages": {
      "principal": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ]
    }
  },
  "payouts_config": {
    "payout_split_percentages": {
      "principal": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ],
      "interest": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ],
      "fee": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ]
    }
  },
  "issuer_processor_details": {
    "lithic": {
      "account_token": "349e2031-20de-40c6-87a3-214895077522"
    }
  },
  "cycle_type": {
    "first_cycle_interval": "11 days",
    "late_fee_grace": "2 days"
  },
  "discounts": {
    "prepayment_discount_config": {
      "loan_discount_cents": 800000,
      "loan_discount_at": "2018-03-20T09:12:28+00:00"
    }
  },
  "summary": {
    "total_balance_cents": 300000,
    "principal_cents": 200000,
    "interest_balance_cents": 60000,
    "interest_accrual_interval": "1 day",
    "am_interest_balance_cents": 0,
    "deferred_interest_balance_cents": 40000,
    "am_deferred_interest_balance_cents": 0,
    "fees_balance_cents": 0,
    "total_paid_to_date_cents": 40000,
    "total_interest_paid_to_date_cents": 10000,
    "credit_limit_cents": 400000,
    "max_approved_credit_limit_cents": 400000,
    "interest_rate_percent": 3,
    "available_credit_cents": 100000,
    "open_to_buy_cents": 5000,
    "total_payoff_cents": 900000,
    "late_fee_cap_percent": 12.5,
    "payment_reversal_fee_cap_percent": 6.2
  },
  "associated_entities": {
    "merchant_name": "Acme Corporation",
    "lender_name": "Globex Lending Corp"
  },
  "plaid_config": {
    "plaid_access_token": {
      "valid_config": true
    },
    "plaid_account_id": {
      "valid_config": true
    },
    "check_balance_enabled": true
  },
  "payout_entities": [
    {
      "payout_entity_id": "0x1234",
      "payout_entity_type": "lender",
      "payout_entity_name": "Wonka Industries",
      "external_fields": [
        {
          "key": "Umbrella Corporation",
          "value": "22445702-a389-431f-927d-07b8d0750787"
        }
      ],
      "parent_payout_entity_id": "31mNprzLd2bKl6koVna68ARM",
      "bank_account_number": "1001001234",
      "bank_routing_number": "012345678"
    }
  ],
  "customers": [
    {
      "customer_id": "31mNprzLd2bKl6koVna68ARM",
      "name_prefix": "Dr.",
      "name_first": "Miriam",
      "name_middle": "Louise",
      "name_last": "Trevino",
      "name_suffix": "Jr",
      "phone_number": "+14105556789",
      "address_line_one": "12 Strawberry Road",
      "address_line_two": "Suite 101",
      "address_city": "Atlanta",
      "address_state": "GA",
      "address_zip": "99999-1000",
      "address_country_code": "US",
      "ssn": "888888888",
      "international_customer_id": "9999999999",
      "email": "marissa@protonmail.com",
      "date_of_birth": "1985-06-20",
      "business_details": {
        "business_legal_name": "Umbrella Corporation",
        "doing_business_as": "Umbrella",
        "business_ein": "888-88-8888"
      },
      "card_details": [
        {
          "spend_limit": 8000000,
          "lithic": {
            "type": "UNLOCKED",
            "state": "OPEN",
            "token": "adccd28d-532e-480b-a063-a46a77a15570",
            "last_four": "0690",
            "memo": "Conference Event Card"
          }
        }
      ]
    }
  ]
}
Response examples (200)
{
  "account_id": "31mNprzLd2bKl6koVna68ARM",
  "created_at": "2017-06-20T09:12:14+00:00",
  "effective_at": "2018-03-20T09:12:28+00:00",
  "account_overview": {
    "account_status": "SUSPENDED",
    "account_status_subtype": "BANKRUPTCY",
    "is_active_scra": "false"
  },
  "account_product": {
    "product_id": "prod_4p1sc",
    "product_overview": {
      "product_name": "Blue Cash Express",
      "product_color": "#0000FF",
      "product_short_description": "Consumer credit card",
      "product_long_description": "Student credit card.",
      "product_time_zone": "America/Chicago",
      "product_type": "REVOLVING"
    },
    "product_lifecycle": {
      "late_fee_impl_cents": 2900,
      "payment_reversal_fee_impl_cents": 2900,
      "origination_fee_impl_cents": 2000,
      "annual_fee_impl_cents": 1000,
      "monthly_fee_impl_cents": 500,
      "loan_end_date": "2013-01-13T05:25:13.813+00:00"
    },
    "promo_overview": {
      "promo_purchase_window_inclusive_start": "2013-01-13T05:25:13.813+00:00",
      "promo_purchase_window_exclusive_end": "2013-01-13T05:25:13.813+00:00",
      "promo_inclusive_start": "2013-01-13T05:25:13.813+00:00",
      "promo_exclusive_end": "2013-01-13T05:25:13.813+00:00",
      "promo_impl_interest_rate_percent": 6.2,
      "promo_len": 6
    },
    "post_promo_overview": {
      "post_promo_inclusive_start": "2013-01-13T05:25:13.813+00:00",
      "post_promo_exclusive_end": "2013-01-13T05:25:13.813+00:00",
      "post_promo_impl_interest_rate_percent": 6.2,
      "post_promo_len": 48
    },
    "product_duration_information": {
      "promo_len": 6,
      "promo_purchase_window_len": 5
    }
  },
  "external_fields": [
    {
      "key": "Umbrella Corporation",
      "value": "22445702-a389-431f-927d-07b8d0750787"
    }
  ],
  "min_pay_due_cents": {
    "statement_min_pay_cents": 160000,
    "min_pay_due_at": "2019-10-18T23:04:48.321+00:00"
  },
  "additional_statement_min_pay_details": {
    "statement_min_pay_charges_principal_cents": 100000,
    "statement_min_pay_interest_cents": 30000,
    "statement_min_pay_am_interest_cents": 200,
    "statement_min_pay_deferred_cents": 10000,
    "statement_min_pay_am_deferred_interest_cents": 200,
    "statement_min_pay_fees_cents": 20000,
    "previous_statement_min_pay_cents": 400000
  },
  "payment_processor_config": {
    "ach": {
      "payment_processor_name": "REPAY",
      "repay_config": {
        "ach_token": "string",
        "last_four": "string"
      },
      "dwolla_config": {
        "ach_token": "string",
        "last_four": "string"
      },
      "modern_treasury_config": {
        "ach_token": "string",
        "last_four": "string"
      },
      "canopy_nacha_config": {
        "bank_routing_number": "999999992",
        "bank_account_number": "987654321"
      }
    },
    "debit_card": {
      "payment_processor_name": "REPAY",
      "repay_config": {
        "card_token": "string",
        "last_four": "string"
      },
      "authorize_net_config": {
        "customer_profile_id": "527262",
        "customer_payment_profile_ids": [
          "86"
        ]
      }
    },
    "credit_card": {
      "payment_processor_name": "CHECKOUT",
      "checkout_config": {
        "source_id": "cus_6artgoevd77u7ojah2wled32s",
        "card_token": "string",
        "last_four": "string",
        "expires_on": "string"
      }
    },
    "autopay_enabled": true,
    "default_payment_processor_method": "ACH"
  },
  "disbursements_config": {
    "disbursement_source_payout_entity_id": 1009,
    "disbursement_split_percentages": {
      "principal": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ]
    }
  },
  "payouts_config": {
    "payout_split_percentages": {
      "principal": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ],
      "interest": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ],
      "fee": [
        {
          "payout_entity_id": 1009,
          "split_percent": 25
        }
      ]
    }
  },
  "issuer_processor_details": {
    "lithic": {
      "account_token": "349e2031-20de-40c6-87a3-214895077522"
    }
  },
  "cycle_type": {
    "first_cycle_interval": "11 days",
    "late_fee_grace": "2 days"
  },
  "discounts": {
    "prepayment_discount_config": {
      "loan_discount_cents": 800000,
      "loan_discount_at": "2018-03-20T09:12:28+00:00"
    }
  },
  "summary": {
    "total_balance_cents": 300000,
    "principal_cents": 200000,
    "interest_balance_cents": 60000,
    "interest_accrual_interval": "1 day",
    "am_interest_balance_cents": 0,
    "deferred_interest_balance_cents": 40000,
    "am_deferred_interest_balance_cents": 0,
    "fees_balance_cents": 0,
    "total_paid_to_date_cents": 40000,
    "total_interest_paid_to_date_cents": 10000,
    "credit_limit_cents": 400000,
    "max_approved_credit_limit_cents": 400000,
    "interest_rate_percent": 3,
    "available_credit_cents": 100000,
    "open_to_buy_cents": 5000,
    "total_payoff_cents": 900000,
    "late_fee_cap_percent": 12.5,
    "payment_reversal_fee_cap_percent": 6.2
  },
  "associated_entities": {
    "merchant_name": "Acme Corporation",
    "lender_name": "Globex Lending Corp"
  },
  "plaid_config": {
    "plaid_access_token": {
      "valid_config": true
    },
    "plaid_account_id": {
      "valid_config": true
    },
    "check_balance_enabled": true
  },
  "payout_entities": [
    {
      "payout_entity_id": "0x1234",
      "payout_entity_type": "lender",
      "payout_entity_name": "Wonka Industries",
      "external_fields": [
        {
          "key": "Umbrella Corporation",
          "value": "22445702-a389-431f-927d-07b8d0750787"
        }
      ],
      "parent_payout_entity_id": "31mNprzLd2bKl6koVna68ARM",
      "bank_account_number": "1001001234",
      "bank_routing_number": "012345678"
    }
  ],
  "customers": [
    {
      "customer_id": "31mNprzLd2bKl6koVna68ARM",
      "name_prefix": "Dr.",
      "name_first": "Miriam",
      "name_middle": "Louise",
      "name_last": "Trevino",
      "name_suffix": "Jr",
      "phone_number": "+14105556789",
      "address_line_one": "12 Strawberry Road",
      "address_line_two": "Suite 101",
      "address_city": "Atlanta",
      "address_state": "GA",
      "address_zip": "99999-1000",
      "address_country_code": "US",
      "ssn": "888888888",
      "international_customer_id": "9999999999",
      "email": "marissa@protonmail.com",
      "date_of_birth": "1985-06-20",
      "business_details": {
        "business_legal_name": "Umbrella Corporation",
        "doing_business_as": "Umbrella",
        "business_ein": "888-88-8888"
      },
      "card_details": [
        {
          "spend_limit": 8000000,
          "lithic": {
            "type": "UNLOCKED",
            "state": "OPEN",
            "token": "adccd28d-532e-480b-a063-a46a77a15570",
            "last_four": "0690",
            "memo": "Conference Event Card"
          }
        }
      ]
    }
  ]
}