Get Single Payer Details
This API will allow you to get a single payer account details with a given payerId if it exists.
Authorization
bearerAuth Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.
In: header
Path Parameters
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 }}Create a Partner Payer POST
To fund your FBO account, you must first link an external bank account by creating a Payer object. This object acts as the designated source of funds for all Payment to Platform transactions. You may create as many Payers as needed to represent various funding sources. Upon a successful POST request, the API returns a PayerId. You will use this ID in subsequent calls to specify which account should be debited. To create a valid Payer, you must provide either: - accountNumber, routingNumber, and accountType - token and tokenType All other fields are mandatory as they are required by the loan servicers themselves.
Delete a Payer DELETE
Should you or your customers want to remove a Payer, you can do so using this API. In your DELETE request, simply add the PayerId as a slug. Please note that when a Payer is deleted, we will keep a reference to it in order to maintain the integrity of the transaction history. A success response will contain a confirmation message with a reference to the deleted payer account.

