Cash Pickup Agents

Get https://whitelabel.markets/demos/apex/api/v1/agents/{currency_id}

Headers

Authorization* string

Pass your {api_key} as a bearer token in the request header to authorize this call

Path parameters

currency_id* string

Id of currency

Body parameters

page string

Sets the page number; use "all" to retrieve all items. The default is 1

limit integer

Specifies the default number of items per page, with a default setting of 20

Response

{
    "data": [
        {
            "id": "6e14e6d8-f083-49c0-8052-83d3e1481852",
            "business_name": "Well Spring",
            "first_name": "Liam",
            "last_name": "Marshal",
            "email": "wellspring@remote.com",
            "phone": "+2349012345678",
            "address": "1234 Elm Street\nSpringfield, IL 62704",
            "image": "http://localhost:8888/whitelabels/remittance/storage/app/agents/ykZPfrEjsMeF3Cf3SrxQSJNpcQRnecuH47yjMAXG.jpg"
        }
    ],
    "links": {
        "first": "http://localhost:8888/whitelabels/remittance/api/agents/d374d1fa-6a88-47b7-a5cc-94acb76610fc?page=1",
        "last": "http://localhost:8888/whitelabels/remittance/api/agents/d374d1fa-6a88-47b7-a5cc-94acb76610fc?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://localhost:8888/whitelabels/remittance/api/agents/d374d1fa-6a88-47b7-a5cc-94acb76610fc?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "http://localhost:8888/whitelabels/remittance/api/agents/d374d1fa-6a88-47b7-a5cc-94acb76610fc",
        "per_page": 20,
        "to": 1,
        "total": 1
    }
}