Skip to main content
Payment Methods · Revision #2

Payment Method Index Endpoint

Payment Method Index Endpoint

Structure

See View Payment Method Endpoint for the structure of the payment method payload inside the data array.

Example Request

GET /api/payment-methods?per_page=2

Example Response

{
    "current_page": 1,
    "data": [
        //...
    ],
    "first_page_url": "http://aero.test/api/payment-methods?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://aero.test/api/payment-methods?page=1",
    "next_page_url": null,
    "path": "http://aero.test/api/payment-methods",
    "per_page": 2,
    "prev_page_url": null,
    "to": 2,
    "total": 2
}

See View Payment Method Endpoint for the structure of the payment method payload inside the data array.