Payment Methods

List Payment Methods

Changed on

Returns a list of PaymentMethods that were previously created.

get/v1/companies/{company_id}/payment-methods

Request

Path parameters

company_idstring uuid required
Example:8c581d79-bb84-4bc1-b1c5-8c073264a569

The Company ID.

Query parameters

archival_status'not_archived' | 'system' | 'team_member'

Filter by archival status. When omitted, no archival status filter is applied. NOTE: Filters for system and team_member-archived PaymentMethods can only return invalid PaymentMethods. Therefore, unless you also pass is_valid=false, its default, is_valid=true, will ensure you receive no returned PaymentMethods.

ValueDescription
not_archivedOnly active (non-archived) accounts.
systemOnly system-archived accounts (cannot be unarchived).
team_memberOnly accounts archived by a TeamMember (can be unarchived).
is_valid'all' | 'false' | 'true'

Filter by whether the PaymentMethod can be used for payments. Pass all to return all PaymentMethods regardless of validity.

ValueDescription
allFetch all PaymentMethods regardless of validity.
falseFetch only invalid PaymentMethods.
trueFetch only valid PaymentMethods.
pageinteger

Retrieve a specific page of a List.

page_sizeinteger

Set the number of results per page of a List.

verification_status'failed' | 'not_verified' | 'pending' | 'verified'

Filter by verification status.

ValueDescription
failedVerification failed.
not_verifiedAccounts not yet verified or not requiring verification.
pendingVerification in progress (micro-deposits pending).
verifiedSuccessfully verified accounts.

Response

OK

object'List' required

The object’s type (List).

Example response

{
  "results": [
    {
      "type_details": {
        "attention_line": "Attn: John Smith"
      }
    }
  ]
}

Changes

    • breaking

      added to the // response property oneOf list for the response status

    • warning

      added the new GHS enum value to the ////////// response property for the response status

    • warning

      added the new GHS enum value to the ////////// response property for the response status

    • warning

      added the new MOP enum value to the ////////// response property for the response status

    • warning

      added the new MOP enum value to the ////////// response property for the response status

    • warning

      added the new card enum value to the //////// response property for the response status

    • warning

      added the new card enum value to the //////// response property for the response status

    • warning

      added the new card enum value to the //////// response property for the response status

    • warning

      added the new card enum value to the //////// response property for the response status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added card discriminator mapping keys to the // response property for the response status

    • info

      the ////// response's property pattern ^\d{18}$ was removed for the status