Difference between revisions of "Partners"
From Advice Local Wiki
(Created page with "== 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...") |
(No difference)
|
Revision as of 11:14, 12 February 2020
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",
...
}
]
}
}