GET /v2/cards
Retrieves a list of cards owned by the account making the request. A max of 25 cards will be returned.
Servers
- https://connect.squareup.com
Query parameters
Name | Type | Required | Description |
---|---|---|---|
customer_id |
String | No |
Limit results to cards associated with the customer supplied. By default, all cards owned by the merchant are returned. |
sort_order |
String | No |
Sorts the returned list by when the card was created with the specified order. This field defaults to ASC. |
include_disabled |
Boolean | No |
Includes disabled cards. By default, all enabled cards owned by the merchant are returned. |
cursor |
String | No |
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See Pagination for more information. |
reference_id |
String | No |
Limit results to cards associated with the reference_id supplied. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.