Create a Partner Payer
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.
Authorization
bearerAuth Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.
In: header
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/payments/payers/partner" \ -H "Content-Type: application/json" \ -d '{ "bankAccountDetails": { "nameOnAccount": "Test User", "institutionName": "Axis Bank Pvt. Ltd.", "accountHolderProfile": { "country": "USA", "city": "Chicago", "state": "CA", "zipCode": "60601", "email": "testuser@test.com", "phone": "9999999999", "dateOfBirth": "1980/01/01", "addressLine1": "Opp. Willis Tower, 233 S Wacker Dr", "addressLine2": "Unit 502" }, "accountNumber": "9110001011010", "routingNumber": "222222226", "accountType": "CHECKING" } }'Create Partner Payer with account details (no token provided)
{ "status": { "code": 200, "desc": "success", "messages": [ { "desc": "Example description" } ] }, "data": { "payerId": "12b9d6e8-c87b-415e-9943-2264cb1ee2dd", "payerType": "PARTNER", "payerSubType": "PARTNER", "institutionName": "Test Bank", "verificationStatus": { "status": "IN_PROGRESS", "statusUpdateTs": 1614602485926 }, "createdOn": 1614602485926, "updatedOn": 1614602485926, "accountLast4Digits": "1234" }}Update a Credit Card Profile PATCH
Supply card details Spinwheel could not resolve. Send an account number, an expiration date, or both. At least one of `cardProfile.accountNumber` and `cardProfile.expirationDate` must be present; an empty `cardProfile` is rejected. `expirationDate` is the same `{ month, year }` object the extended card profile returns. A supplied value takes precedence over a resolved one, and the card carries it on its next appearance in the extended card profile.
Get Single Payer Details GET
This API will allow you to get a single payer account details with a given payerId if it exists.

