FlexShopper API
3.0-beta
FlexShopper API
3.0-beta
  • Introduction
  • Integration Guides
    • Medusa
    • Payment Plugin
  • Customer
    • Verify User Exists
    • Deeply Verify User Exists
    • Create User
    • Get Users
    • Get User
    • Create Authorization Token
    • Add Payment Method
      • Get LoanPaymentPro Child Key
      • Get Clover PKMS Key
    • Get Payment Methods
  • Decision
    • Apply for Spending Limit
  • Lease
    • Create Lease
    • Get Transactions
    • Get Lease By ID
    • Get Transaction By ID
    • Sign Lease
    • Finalize Lease
    • Cancel Items
    • Return Items
    • Confirm Shipment
    • Confirm Receipt
    • Get Agreements
    • Collect Payment
Powered by GitBook
On this page
  • Request
  • Headers
  • Response
  • Samples
  • Schema

Was this helpful?

Export as PDF
  1. Lease

Get Agreements

Retrieve all agreements associated with the authenticated customer.

GET /v3/customers/me/agreements

Request

The details below help you form your HTTP requests to this endpoint.

Headers

You may need to provide specific headers.

Name
Type
Required
Description

customer-token

string

Customer's authentication token

x-version-override

string

N/A

Response

The details below help you understand the responses you could get from this endpoint.

Samples

Below are samples of responses, with tabs corresponding to returned status code.

[
    {
        "id": "682634e9fbae50001bc06f77",
        "referenceId": "D5ACE9023025",
        "pastDueAmount": 4500,
        "items": [
            {
                "description": "Spinel jewelry over 50",
                "trackingLink": "https://www.ups.com/trackingNumber=9MTR1T96LAWV"
            }
        ]
    }
]

Schema

The response's schema is outlined below.

Name
Type
Required
Description

data

array

N/A

data[].id

string

The agreement id

data[].referenceId

string

Agreement reference id

data[].pastDueAmount

number

Past due amount in cents. Null if not past due.

data[].items

array

List of items in this agreement

data[].items[].description

string

Description of the item

data[].items[].trackingLink

string

Tracking link for this item.

PreviousConfirm ReceiptNextCollect Payment

Last updated 18 hours ago

Was this helpful?