Partners
From Advice Local Wiki
The Get Cards
This endpoint will return the credit cards that are on file. In order to create orders, you need to POST a "card_id" in the body of the JSON request. The card id can be retrieved from this endpoint. Currently, cards can not be added via the API. They must be added using the dashboard interface.
Example Request
GET /cardsHTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json
Example Response
{
"status": 200,
"success": true,
"error": null,
"data": {
"object": "list",
"data": [
{
"id": "CARD_ID_HERE_TO_USE",
...
}
]
}
}