Payment Methods

List Payment Methods

List the payment methods for your account. This endpoint supports pagination.

get/payment_methods

Request

Query parameters

customer_idstring

Note: customer_id is a deprecated field. Please use our payment method groups instead. filter records which are associated with a customer.

payment_method_group_idstring

filter records which are associated with a payment method group.

payment_method_import_idstring

filter records which were created by a payment method import.

created_beforestring date-time

filter records which were created before the date and time (UTC) specified. Dates without time specified will default to 00:00:00

created_afterstring date-time

filter records which were created after the date and time (UTC) specified. Dates without time specified will default to 00:00:00

Headers

Authorizationstring required

the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)

Sub-Accountstring

the id of the sub account that this request applies to

Response

Successfully list payment methods

idnumber

the object id

typestring

the object type, or array of objects

Example response

{
  "id": 1,
  "type": "array",
  "data": [
    {
      "id": "pm_123xyz",
      "status": "valid",
      "invalid_reason": "nil",
      "payment_method_import_id": "pmi_123xyz",
      "created_at": "2024-01-01T12:00:00Z",
      "updated_at": "2024-01-01T12:00:00Z",
      "card": {
        "id": "pm_123xyz",
        "brand": "Visa",
        "digital_wallet": "apple_pay",
        "name": "Amanda Kessel",
        "token": "pm_123xyz",
        "month": "5",
        "year": "2042",
        "metadata": {},
        "address_line1_check": "unchecked",
        "address_postal_code_check": "unchecked",
        "bin_details": {
          "type": "Credit",
          "card_brand": "Visa",
          "card_class": "Consumer",
          "country": "United States of America",
          "issuer": "WELLS FARGO BANK, N.A.",
          "funding_source": "Credit"
        }
      },
      "customer_id": "cust_xyz",
      "signature": "4guAJNkVA3lRLVlanNVoBK",
      "account_id": "acc_123"
    }
  ],
  "page_info": {
    "end_cursor": "WyIyMDIyLTAyLTA4IDE5OjUyOjM3LjEwNDE3MzAwMCIsIjY4MDliYTU5LTYxYjctNDg3MS05YWFiLWE2Y2MyNmY3M2M1ZCJd",
    "start_cursor": "WyIyMDIyLTAyLTA4IDIwOjAxOjU4LjEyMDIzMjAwMCIsIjU5ZTFjNGI1LWFlOWQtNDIyZC04MTVkLWNjNzQ5NzdlYmFjYSJd"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.