Skip to main content

Credit card list

This endpoint retrieves the list of credit cards associated with your account or a specific business.

Endpoint

POST https://canadamotorjobs.com/api/v1/{locale}/credit-cards/list
# or for a specific business
POST https://canadamotorjobs.com/api/v1/{locale}/businesses/{business_id}/credit-cards

Parameters

ParameterTypeDescriptionRequired
business_idstringThe business ID (when listing for a business)No
pagenumberPage numberNo
limitnumberNumber of items per pageNo
sortstringSort by date created_at (values: asc, desc)No
fromstringCreated after date YYYY-MM-DDNo
tostringCreated before date YYYY-MM-DDNo
api_tokenstringYour API keyrequired or bearer token

Errors

CodeMessage
401Unauthorized
404Not Found (if business_id is provided and not found)
500Internal Server Error