{warning} This API is likely to change before the Beta period is over, please check back regularly to see the latest changes.

Get a list of available payment methods

Use this endpoint to gather available payment methods to send with sales so that we can report on the sale, you can also hard code your payment_method_id in your requests to the sales endpoint if you prefer.

Request

Headers

GET REQUEST (/payment-methods)

Header: Content-Type - application/json
Header: Accepts - application/json
Header: Smart-Auth sk_XXXXXXXXXXXXXXXXXX

Response


{
    "data": [
        {
            "id": 13,
            "name": "Stripe",
            "description": null
        },
        {
            "id": 15,
            "name": "Cash",
            "description": null
        }
    ]
}