put https://loanpro.simnang.com/api/public/api/1/odata.svc/Customers()
This request sets a customer's Payment Profile as primary or secondary.
Click here to learn more about this request
A Payment Profile allows a borrower to make payments on their accounts. Note the following when using this request:
The current primary payment profile must be listed in the payload first. The system begins by updating the primary payment profile and then updates the subsequent payment profiles.
Only one payment profile can be listed as primary.
For an example of how payment profiles work within the UI, take a look at our Payment Profiles article.
Database
For information regarding payment profile database tables, see the following articles:
Database – Customer Payment Profile Information (payment_account_entity)
Database – Customer Main Table (customer_entity)
{
"PaymentAccounts": {
"results": [
{
"id": 307,
"isPrimary": 0,
"isSecondary": 1,
"__id": 307,
"__update": true
},
{
"id": 320,
"isPrimary": 1,
"isSecondary": 0,
"__id": 320,
"__update": true
}
]
}
}