Update a Student Loan
This API updates user records with accurate student loan account numbers and correct billing addresses to ensure proper payments to institutions.
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 student loan 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/studentLoans/12b9d6e8-c87b-415e-94e2-15367975218d" \ -H "Content-Type: application/json" \ -d '{ "accountNumber": "3456789877", "creditor": { "billingAddress": { "addressLine1": "123 Main Street", "addressLine2": "Unit 208", "city": "San Francisco", "state": "CA", "zip": "90211", "zipExtension": "1234" } } }'Response with student loans
{ "status": { "code": 200, "desc": "success" }, "data": { "userId": "fb16f6f7-8268-4d78-8ee9-9be93bc9b2a1", "extUserId": "443115a2-c289-4153-aa0b-e2a5312df76d", "isBorrower": false, "isChampion": false, "updatedOn": 1678724487194, "createdOn": 1678724465287, "studentLoanAccounts": [], "profile": { "firstName": "CHRISTY", "middleName": "L", "lastName": "JENOVAL", "phoneNumber": "+19198094325", "ssnLastFourDigits": "1234", "addresses": [ { "addressLine1": "21 Pacific St", "city": "Pittsfield", "state": "MA", "zip": "01201" } ], "dob": "1967-06-08", "creditScore": 691, "model": "VANTAGE_SCORE_3_0", "sourceBureau": "Equifax" }, "studentLoanSummary": { "noOfLoans": 2, "currentOutstandingBalance": 6268, "minimumPaymentAmount": 229, "updatedOn": 1678724487132 }, "creditReports": [ { "id": "54b1918e-e232-4ef0-9ae3-b85d4d29ff3e", "profile": { "firstName": "CHRISTY", "middleName": "L", "lastName": "JENOVAL", "creditScore": 691, "dateOfBirth": "1967-06-08", "ssn": "6112", "addresses": [ { "addressLine1": "305 LINDEN AVE", "city": "ATLANTA", "state": "GA", "zip": "30316", "residencyType": "CURRENT", "residencyDurationInMonths": 2, "reportedDate": "2022-05-04" }, { "addressLine1": "712 MCDOUNGH RD", "city": "HAMPTON", "state": "GA", "zip": "30228", "residencyType": "PREVIOUS", "residencyDurationInMonths": 2, "reportedDate": "2022-03-02" }, { "addressLine1": "PO BOX 30", "city": "HELEN", "state": "GA", "zip": "30545", "residencyType": "PREVIOUS", "residencyDurationInMonths": 2, "reportedDate": "2022-03-27" }, { "addressLine1": "1260 NELMS RD", "city": "CARNESVILLE", "state": "GA", "zip": "30521", "residencyType": "PREVIOUS", "residencyDurationInMonths": 2, "reportedDate": "2022-03-27" }, { "addressLine1": "2732 SENECA ST 1FLRR", "city": "MARIETTA", "state": "GA", "zip": "30062", "residencyType": "PREVIOUS", "residencyDurationInMonths": 1 } ], "employmentHistory": [ { "employerName": "Acme Inc", "startDateWithFormat": { "value": "2022-05", "format": "YYYY-MM" }, "reportedDateWithFormat": { "value": "2022-05", "format": "YYYY-MM" }, "employmentStatus": "CURRENT" }, { "position": "Software Engineer", "startDateWithFormat": { "value": "2020-05-01", "format": "YYYY-MM" }, "employmentStatus": "PREVIOUS" } ], "updatedOn": 1678724487191, "createdOn": 1678724480988 }, "inquiries": [ { "inquirerName": "MBGA", "phoneNumber": "1234567890", "inquiryDate": "2020-08-13", "inquirerIndustryCode": "H", "purposeType": "HARD", "sourceBureau": "Equifax", "bureauSubscriberCode": "404HA00354", "address": { "addressLine1": "BR. C GIM-REGION TP", "city": "ROSWELL", "state": "GA", "zip": "30076" } } ], "creditScoreDetails": [ { "reportedDate": "2022-05-06", "riskBasedPricingPercentage": 40, "riskBasedPricingMin": 691, "riskBasedPricingMax": 694, "creditScore": 691, "modelName": "EquifaxVantageScore3.0", "sourceBureau": "Equifax", "factors": [ { "description": "Available credit on your open bankcard or revolving accounts is too low", "code": "39" }, { "description": "Total of all balances on bankcard or revolving accounts is too high", "code": "34" }, { "description": "You have too many delinquent or derogatory accounts", "code": "7" }, { "description": "You have too many inquiries on your credit report.", "code": "85" } ] } ], "creditAttributes": [ { "description": "Number of tradelines", "value": "24" }, { "description": "Average age of open tradelines", "value": "81" }, { "description": "Number of hard inquiries", "value": "63" }, { "description": "Number of payments", "value": "5" } ], "updatedOn": 1678724487204, "createdOn": 1678724480988, "connectionStatus": { "statusCode": 2000, "description": "Authentication is successful.", "lastAuthAttemptOn": 1678724481033, "isAuthSuccessful": true, "isValid": true, "isSecurityStepPending": false, "statusChangeLogs": [], "lastSuccessfulAuthOn": 1678724481033, "dataStatus": { "status": "COMPLETED", "updatedOn": 1678724487181 } } } ], "studentLoans": [ { "studentLoanId": "18cf0dcb-41ef-498b-b340-eef4f5e7fcb0", "displayName": "Nelnet Loan Services", "logoUrl": "https://cdn.spinwheel.io/images/logo/ebd6dab9-4558-40c4-8c21-65070a07df5a.png", "accountNumber": "3456789877", "liabilityProfile": { "ecoaCode": "I", "accountOriginationDate": "2020-12-08", "status": "OPEN", "interestRateDerived": 0.1122, "loanOriginationAmount": 5174, "accountRating": "1", "accountNumber": "3456789877", "liabilitySubtype": "Educational", "loanType": "UNVERIFIED", "pendingLoanTermInMonthsDerived": 40, "loanTermInMonths": 40, "accountOwnershipType": "INDIVIDUAL", "termsFrequency": "MONTHLY", "accountType": "INSTALLMENT", "reportedDateWithFormat": { "value": "2022-03-08", "format": "YYYY-MM-DD" }, "lastActivityDateWithFormat": { "value": "2022-03-08", "format": "YYYY-MM-DD" }, "consumerDisputeStatus": "NOT_DISPUTED", "derogatoryDataStatus": "NOT_DEROGATORY", "reviewedInMonths": 0, "collectionStatus": "NOT_IN_COLLECTION", "chargeOffStatus": "NOT_CHARGED_OFF", "accountTypeCode": "I" }, "balanceDetails": { "outstandingBalance": 3941 }, "statementSummary": { "statementBalance": 3941, "principalBalance": 3941, "minimumPaymentAmount": 131, "lastPaymentDateWithFormat": { "value": "2022-02", "format": "YYYY-MM" }, "statementDateWithFormat": { "value": "2022-03", "format": "YYYY-MM" }, "overduePeriod": "NOT_OVERDUE" }, "creditor": { "industryType": "AllBanks", "industryCode": "BB", "phoneNumber": "4048277100", "originalName": "NELNET LOAN SERVICES", "bureauSubscriberCode": "401BB00573", "address": { "addressLine1": "P.O. BOX 3117", "city": "WINSTON-SALEM", "state": "NC", "zip": "27102" }, "billingAddress": { "addressLine1": "123 Main Street", "addressLine2": "Unit 208", "city": "San Francisco", "state": "CA", "zip": "90211", "zipExtension": "1234" } }, "capabilities": { "payments": { "billPayment": { "availability": "SUPPORTED" } } }, "updatedOn": 1678724487099, "createdOn": 1678724487099 } ] }}Update a Personal Loan PATCH
This API updates user records with accurate personal loan account numbers.
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.

