Payers

Get Single Payer Details

GET
/v1/payments/payers/{payerId}

This API will allow you to get a single payer account details with a given payerId if it exists.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

payerId*string

Payer Id received on adding payer account

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/payments/payers/097ac8fa-6b11-49c6-8889-6dec25f83f55"
{  "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  }}