List Payment Methods
Changed onReturns a list of PaymentMethods that were previously created.
Request
- Base URLhttps://api.routable.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Company ID.
Query parameters
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.
| Value | Description |
|---|---|
| not_archived | Only active (non-archived) accounts. |
| system | Only system-archived accounts (cannot be unarchived). |
| team_member | Only accounts archived by a TeamMember (can be unarchived). |
Filter by whether the PaymentMethod can be used for payments. Pass all to return all PaymentMethods regardless of validity.
| Value | Description |
|---|---|
| all | Fetch all PaymentMethods regardless of validity. |
| false | Fetch only invalid PaymentMethods. |
| true | Fetch only valid PaymentMethods. |
Retrieve a specific page of a List.
Set the number of results per page of a List.
Filter by verification status.
| Value | Description |
|---|---|
| failed | Verification failed. |
| not_verified | Accounts not yet verified or not requiring verification. |
| pending | Verification in progress (micro-deposits pending). |
| verified | Successfully verified accounts. |
Response
OK
Example response
{
"results": [
{
"type_details": {
"attention_line": "Attn: John Smith"
}
}
]
}Changes
- breaking
added to the
//response propertyoneOflist for the response status - warning
added the new
GHSenum value to the//////////response property for the response status - warning
added the new
GHSenum value to the//////////response property for the response status - warning
added the new
MOPenum value to the//////////response property for the response status - warning
added the new
MOPenum value to the//////////response property for the response status - warning
added the new
cardenum value to the////////response property for the response status - warning
added the new
cardenum value to the////////response property for the response status - warning
added the new
cardenum value to the////////response property for the response status - warning
added the new
cardenum 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
carddiscriminator mapping keys to the//response property for the response status - info
the
//////response's property pattern^\d{18}$was removed for the status
- breaking