Verify a Payer
This API will allow payer to verify their bank account.
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
Request Body
application/json
Array of deposit amounts
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/payments/payers/1f8df767-638e-4151-90c5-49461ffc8484/verify" \ -H "Content-Type: application/json" \ -d '{ "depositAmounts": [ 0.03, 0.09 ] }'{ "status": { "code": 200, "desc": "success", "messages": [ { "desc": "Example description" } ] }, "data": "PayerId {{payerId}} successfully verified"}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.
Get a List of Payers GET
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.

