Payers

Get a List of Payers

GET
/v1/payments/payers

You can retrieve a list of the Payers you've created by sending a GET request to: /v1/payments/payers

A successful response returns an array that contains identifying information for each of the Payers, including the PayerId, the name of the institution, and the last four digits of the account number.

Authorization

bearerAuth
AuthorizationBearer <token>

Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/payments/payers"
{  "status": {    "code": 200,    "desc": "success",    "messages": [      {        "desc": "Example description"      }    ]  },  "data": [    {      "payerId": "c555734f-6473-4d13-9943-2264cb1ee2dd",      "userId": "c555734f-6473-4d13-9943-2264cb1ee2dd",      "payerType": "PARTNER",      "payerSubType": "PARTNER",      "label": "Personal Loans",      "accountLast4Digits": "1010",      "institutionName": "Axis Bank Pvt. Ltd.",      "tokenType": "PLAID",      "verificationStatus": {        "status": "IN_PROGRESS",        "statusUpdateTs": 1614602485926      },      "createdOn": 1614602485926,      "updatedOn": 1614602485926    }  ]}