Update a Credit Card Profile
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.
Authorization
bearerAuth Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.
In: header
Path Parameters
Spinwheel userId to identify a user (one of userId or extUserId is required).
Spinwheel credit card Id associated with the user.
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/users/3fef7131-71ae-4204-a8bd-3fc3ad6b4b82/creditCards/12b9d6e8-c87b-415e-94e2-15367975218d" \ -H "Content-Type: application/json" \ -d '{ "cardProfile": { "expirationDate": { "month": "03", "year": "2028" } } }'Response with credit card
{ "status": { "code": 200, "desc": "success" }, "data": { "creditCardId": "7025c075-e92d-46fa-85e5-ac31ca667079", "userId": "3fef7131-71ae-4204-a8bd-3fc3ad6b4b82", "displayName": "TD Bank", "logoUrl": "https://cdn.spinwheel.io/images/logo/ebd6dab9-4558-40c4-8c21-65070a07df5a.png", "cardProfile": { "ecoaCode": "I", "creditCardNumberMasked": "411111******1111", "accountNumber": "4111111111111111", "accountOriginationDate": "2018-07-04T00:00:00.000Z", "status": "OPEN", "accountRating": "1", "creditLimit": 10000, "creditUtilization": 70, "liabilitySubtype": "CreditCard", "debtType": "UNSECURED", "closedDateWithFormat": { "value": "2016-07", "format": "YYYY-MM" }, "availableCreditDerived": 3000, "accountOwnershipType": "INDIVIDUAL", "termsFrequency": "MONTHLY", "reviewedInMonths": 25, "reportedDateWithFormat": { "value": "2023-02-14", "format": "YYYY-MM-DD" }, "lastActivityDateWithFormat": { "value": "2023-01-14", "format": "YYYY-MM-DD" }, "accountType": "REVOLVING", "consumerDisputeStatus": "NOT_DISPUTED", "derogatoryDataStatus": "NOT_DEROGATORY", "collectionStatus": "NOT_IN_COLLECTION", "chargeOffStatus": "NOT_CHARGED_OFF", "accountTypeCode": "R", "limitType": "REGULAR", "highestAdverseRating": "H", "highestAdverseRatingDateWithFormat": { "value": "2022-11", "format": "YYYY-MM" }, "mostRecentAdverseRating": "1", "mostRecentAdverseRatingDateWithFormat": { "value": "2022-12", "format": "YYYY-MM" }, "secondMostRecentAdverseRating": "H", "secondMostRecentAdverseRatingDateWithFormat": { "value": "2022-11", "format": "YYYY-MM" }, "adverseRatingCount": 4, "paymentHistory": { "lastAssessedStatementDate": "2023-01-14", "details": [ { "date": "2023-01-14", "description": "The account is current", "code": "0" }, { "date": "2022-12-14", "description": "The account has been late for 1 billing cycle", "code": "1" }, { "date": "2022-11-14", "description": "The account is in foreclosure", "code": "H" }, { "date": "2022-10-14", "description": "The account is in collections", "code": "G" }, { "date": "2022-09-14", "description": "The account was voluntarily surrendered", "code": "J" }, { "date": "2022-08-14", "description": "No data available for this period", "code": "D" } ] } }, "balanceDetails": { "outstandingBalance": 7000, "updatedOn": 1597753517524 }, "statementSummary": { "statementBalance": 3194, "minimumPaymentAmount": 101, "dueDate": "2021-09-08T00:00:00.000Z", "lastPaymentAmount": 400, "lastPaymentDateWithFormat": { "value": "2021-08-21", "format": "YYYY-MM-DD" }, "statementDateWithFormat": { "value": "2021-08-08", "format": "YYYY-MM-DD" }, "overduePeriod": "NOT_OVERDUE", "amountPastDue": 700, "refreshedFields": { "lastPaymentDate": { "value": "2021-08-21", "format": "YYYY-MM-DD", "updatedOn": 1643917894780 }, "dueDay": { "value": "08", "format": "DD", "updatedOn": 1643917894780 }, "lastPaymentAmount": { "value": 400, "updatedOn": 1643917894780 } } }, "aprs": [ { "rate": 19.99, "type": "PURCHASE", "updatedOn": 1597753517524, "source": "REAL_TIME" }, { "rate": 31.24, "type": "CASH_ADVANCE", "applicableBalance": 88, "expirationDate": "2021-10-31", "updatedOn": 1597753517524, "source": "DERIVED" } ], "creditor": { "originalName": "TD BANK", "industryType": "SalesFinancing", "industryCode": "FF", "phoneNumber": "8663968254", "bureauSubscriberCode": "401BB00573", "address": { "addressLine1": "C/O P.O. BOX 965036", "city": "ORLANDO", "state": "FL", "zip": "32896", "zipExtension": "5036" } }, "capabilities": { "data": { "realtimeBalance": { "availability": "SUPPORTED" }, "statementSummary": { "availability": "SUPPORTED" }, "annualPercentageRate": { "availability": "SUPPORTED" } }, "payments": { "billPayment": { "availability": "SUPPORTED" } } }, "createdOn": 1597317116353, "updatedOn": 1597753517524 }}Update a Student Loan PATCH
This API updates user records with accurate student loan account numbers and correct billing addresses to ensure proper payments to institutions.
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.

