{
"status": "error",
"status_code": 400,
"error": {
"code": "BAD_REQUEST",
"message": "borrowers must contain between 1 and 1000 entries.",
"timestamp": "2024-12-12T12:00:00Z"
}
}
{
"status": "error",
"status_code": 401,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key.",
"timestamp": "2024-12-12T12:00:00Z"
}
}
Enroll and Update Borrowers
Enroll a batch of borrowers in a single call. Rightfoot stores each borrower, monitors their balance, and acts once there is enough in the account to collect.This is also the update route: send a borrower you have already enrolled and their details and amount are refreshed in place. There is no separate update call.For each borrower, send either a single collectable_amount or a list of obligations — for example, each past-due installment of a loan — that Rightfoot collects separately from the same bank account.Send up to 1000 borrowers per request.
Send your whole file, every day
This endpoint is an upsert — re-sending a borrower is how you update them. Someone already being monitored comes back as updated: their details are refreshed and the collectable_amount in that request is applied to the monitor they already have.That means you do not need to track what you have already sent, or which borrowers changed. Push your full delinquent file on whatever cadence suits you and let the response tell you what happened to each borrower. To stop monitoring a borrower altogether, use Remove Borrowers from Monitoring.
What a re-send changes
Sent again
Effect on a monitored borrower
collectable_amount
Applied to the existing monitor. Rightfoot works toward the new figure from the next payment on
obligations
The full set, replacing the last one: each obligation sent is applied to its own monitor, and any obligation left out stops being collected. See Collecting several obligations separately
policy_overrides
Replaced. Omitting it returns the borrower to your collection policy
Identity and bank account fields
Re-stored. The borrower keeps a single record however many times you send them
merchant_ref
Replaced
charge_instrument
Replaced. Omitting it for a borrower you previously sent with a card moves them back to ACH
This is what to use when a borrower pays you directly and the amount you will accept drops: send them again with the lower collectable_amount.
An update applies to the next payment, not to one already in flight. If Rightfoot has a payment out at the bank for this borrower, that payment runs to its original amount, and the new amount is picked up only if it comes back.
An unchanged re-send is reported updated as well. Rightfoot cannot tell “re-sent unchanged” from “re-sent with edits” — the stored details are encrypted and cannot be read back to compare — so read updated as “this borrower is monitored against the amount you just sent”, not as “something about them changed”.
Monitoring lapses if you stop sending
Monitoring expires 30 days after it starts. Sending a borrower again after their monitoring has expired starts fresh monitoring, using the collectable_amount in that request.Re-sending a borrower who is still being monitored updates them but does not extend that window — the 30 days run from when monitoring started, not from your last push.Your regular push is therefore what keeps monitoring alive. If a borrower drops out of your file, monitoring for them lapses within 30 days.
What you send for each borrower
The identity and bank account fields are the same ones the balance endpoints accept, so an existing integration can reuse its serialization.
Keep authorizer_unique_id stable for the life of the loan. Monitoring history accumulates against it. An identifier that changes between pushes resets that history, and monitoring quietly degrades rather than failing.
The bank account is always required
account_number and routing_number are required for every borrower, including those you intend to charge by card. They are what Rightfoot uses to read the balance, and no charge instrument substitutes for them.
The amount is a ceiling, in cents
collectable_amount is an integer number of cents — 42500 is $425.00. Rightfoot treats it as a ceiling, and will not attempt more than that in a single payment.
Collecting several obligations separately
Some borrowers owe more than one amount at once — say two past-due installments of $100, one that was already presented and returned and one coming due. Instead of a single collectable_amount, send each as an obligation, and Rightfoot monitors and collects each one on its own.Send exactly one of collectable_amount or obligations for a borrower. A borrower with both or neither, or with two obligations sharing an id, fails validation, and the whole request is rejected with a 400.
Field
Required
Notes
id
Yes
Your identifier for the obligation, unique within the borrower — for example loan number plus installment. Keep it stable
amount
Yes
Cents. The amount to collect for this obligation
priority
No
Collection order when the balance cannot cover every obligation. Lower is collected first; obligations without a priority come after every prioritized one
metadata
No
Any JSON object you want kept with the obligation, such as an installment number or payment type. Echoed back on payment events; never used to decide whether or how much to collect
One balance check covers them all. Every obligation draws on the same bank account, so Rightfoot reads the balance once and decides every obligation from that reading.
In priority order, until the balance runs out. An obligation is collected when the balance covers it, everything ahead of it, and your reserve. With a $100 reserve, a $500 balance collects both $100 installments above; a $250 balance collects only loan-123:inst-2.
Each obligation is collected whole, as its own payment. An obligation is never split to fit the balance or combined with another, so a returned payment is always re-presented at its original amount. If one does not fit, a smaller one behind it can still be collected.
One payment at a time per account. While a payment for any of the borrower’s obligations is still at the bank, nothing new is collected for that borrower. Obligations decided together from the same balance check go out together.
Retries are counted per obligation. Each obligation that comes back returned is retried within NACHA’s limit for that payment, independently of the others.
The push carries the full set
Each push replaces the borrower’s obligations:
An obligation you send again is updated in place — its amount, priority and metadata are refreshed, and it keeps its retry history.
An obligation left out of the push stops being collected. This is how you take an installment back — for example on the day you re-present it yourself.
Switching a borrower between collectable_amount and obligations replaces one with the other; Rightfoot never collects both.
An obligation left out of a push and sent again in a later one is collected again. Keep an obligation out of your file for as long as Rightfoot should not collect it.
Per-borrower policy overrides
Your collection policy decides when a balance is high enough to collect: the reserve that must stay in the account after a payment, and the minimum payment Rightfoot submits. policy_overrides changes either for one borrower; anything you leave out follows your policy.
Field
Notes
reserve_cents
Cents that must remain in the account after the payment
min_debit_cents
The smallest payment Rightfoot submits for this borrower. An amount or obligation below it is held with amount_below_minimum
Unknown fields are rejected rather than ignored, so a misspelling cannot quietly loosen a rule. The overrides are replaced on every push: send them each time, or the borrower returns to your policy.
How Rightfoot collects
Omit charge_instrument entirely and Rightfoot collects by ACH from the bank account you supplied. That is the common case.
If collection runs through your own Stripe account, charge_instrument is required on every borrower. Rightfoot charges the payment method you name; there is no fallback to the bank account, since that account is read for its balance rather than debited.
To have something else charged instead, supply exactly one of:
token
A token held by your payment processor, for a card or a bank account. Preferred — the card or bank details behind it stay with your processor. The token on its own is enough.
card
Raw card details, stored securely by Rightfoot. Use this only when you cannot produce a processor token.
token_type is optional but worth sending. Processors issue one token format for both kinds — Stripe uses pm_ for cards and bank accounts alike — so Rightfoot cannot tell from the value which it holds. Omitting it records the kind as unknown; Rightfoot does not guess one.
Raw card details take no token_type or last4: Rightfoot derives the last four from the number it stores, so it describes the card actually held. Sending either alongside card is rejected.The routing and account number stay required whichever instrument collects — they are what Rightfoot reads the balance from.Each borrower in the same request can use a different option. Only the charge_instrument differs — the identity and bank account fields are the same either way.
These snippets show only the fields that differ. Identity fields (first_name, last_name, phone_number, date_of_birth, address, and ssn or ein) are required on every borrower — see the full example above.
Charge order: debit card and ACH
By default a borrower is collected by ACH alone. To charge their debit card as well, send the card as a charge_instrument token with token_type: card, and a charge_order:
Charge the debit card first, then fall back to ACH
["ach", "card"]
ACH first, then fall back to the debit card
ach is always required; a card-only order is not offered. Set the same order for every borrower at once with chargeOrder on your collection policy.fallback_on lists the failures that move a payment to the next rail. Leave it out and every category falls back:
Category
Meaning
insufficient_funds
Not enough money on the rail tried
instrument_invalid
The card or account cannot take a payment: expired card, closed or frozen account
authorization_revoked
The borrower or their bank refused the payment, such as a card dispute or an unauthorized ACH return
declined_by_processor
The payment processor refused it for its own reasons
A failure not in the list ends that collection attempt. A processor outage never changes rails; the same rail is tried again later.
charge_order and fallback_on are applied the first time a borrower is enrolled only. Re-sending the borrower leaves them as they are, so your daily push cannot undo a change. Use Change a Borrower’s Charge Order to change them, and Get a Borrower’s Charge Order to see what is in effect.
A borrower whose charge_order names card is failed, and nothing is stored, when the card cannot be used:
Reason
Meaning
card_rail_disabled
Debit-card collection is not yet enabled for your account
charge_instrument carries no debit-card token (token_type: card). Raw card details do not count
Each payment event for a borrower with a charge order carries rail (ach or card), and instrument_last4 on a card payment.
Reading the response
The response is 207, and every borrower you sent has an entry in results, in the order you sent them. Check each outcome rather than relying on the status code — one bad record never blocks the rest of the batch.
Outcome
What it means
What to do
enrolled
Stored, and monitoring started
Nothing
updated
Monitoring was already running; details refreshed and the amount you sent applied to it
Nothing
held
Stored, but not monitored
See reason
failed
The details in this request were not stored
See reason
already_enrolled is no longer returned. It stays in the response as a count that is always 0 so that an integration parsing the old shape keeps working — a re-sent borrower is reported updated instead.
Results for obligations
A borrower sent with obligations also carries an obligations array in their result, one entry per obligation in the order you sent them, each with its own outcome, reason and message. The borrower’s own outcome sums them up:
enrolled if any obligation started being collected,
otherwise updated if any was applied to monitoring already running,
otherwise held, with the first obligation’s reason.
So a borrower can be enrolled while one of their obligations is held — for example an installment below your minimum payment. Read the obligation results to see which.
A borrower sent with collectable_amount has no obligations in their result.
Held borrowers
A held borrower’s details are kept. Monitoring did not start, or has stopped, for the reason given. With obligations, the same reasons apply to each obligation.
Reason
Meaning
institution_not_supported
Rightfoot does not currently support this bank. Your data is correct; there is no action to take. Keep sending them — monitoring starts automatically if support is added.
unresolvable_routing_number
The routing number did not match a known bank. Check it.
amount_below_minimum
The amount is below the minimum payment. Send it again at or above the minimum.
authorization_revoked
A payment on this borrower came back as unauthorized. Monitoring stays stopped until authorization is re-established and monitoring is deliberately resumed.
bank_account_invalid
A payment on this bank account came back as closed or invalid. Send the borrower with a different bank account.
retry_limit_reached
Payments for this borrower or obligation have already been returned the maximum number of times. Monitoring stays stopped until it is deliberately resumed.
balance_unreadable
The balance could not be retrieved on repeated attempts. Monitoring stays stopped until it is deliberately resumed.
Failed borrowers
Reason
Meaning
duplicate_in_request
This identifier appeared more than once in the request. Every copy is rejected rather than guessing which you meant.
tokenization_failed
The borrower’s details were rejected. message names the problem — correct it and send again.
card_tokenization_failed
The card details were rejected. See message.
chunk_failed
A temporary failure affecting part of the batch. Send these borrowers again.
monitor_open_failed
The borrower was stored but monitoring did not start. Send them again.
charge_order names card and the card cannot be used. See Charge order.
chunk_failed and monitor_open_failed are both safe to retry — re-sending a borrower who did enroll returns updated and re-applies the same amount, rather than creating anything twice.
Authorizations
Authorization
string
header
required
Authentication to the API is performed via Bearer Token Authentication. Provide your API key as the bearer token in the Authorization header.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Body
application/json
borrowers
object[]
required
The borrowers to enroll. Up to 1000 per request.
Required array length: 1 - 1000 elements
One borrower to enroll. The identity and bank account fields match the
Authorizer schema used by the balance endpoints, so an existing integration
can reuse the same serialization.
Option 1
Option 2
Option 3
Option 4
Show child attributes
Response
Batch processed. Every borrower in the request has an entry in results;
inspect each outcome rather than relying on the status code.
Counts plus one result per borrower, in the order you sent them.
enrolled
integer
Borrowers now stored, with monitoring newly started.
updated
integer
Borrowers who were already being monitored. Their details were refreshed
and the amount in this request applied to their existing monitor.
already_enrolled
integer
Always 0. Kept so the response shape stays stable for integrations
parsing it; a re-sent borrower is reported under updated instead.
held
integer
Borrowers stored but not monitored.
failed
integer
Borrowers whose details from this request were not stored.
{
"status": "error",
"status_code": 400,
"error": {
"code": "BAD_REQUEST",
"message": "borrowers must contain between 1 and 1000 entries.",
"timestamp": "2024-12-12T12:00:00Z"
}
}
{
"status": "error",
"status_code": 401,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key.",
"timestamp": "2024-12-12T12:00:00Z"
}
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Rightfoot API","description":"API documentation for Rightfoot - leading provider of passwordless, consumer-permissioned financial data","colors":{"primary":"#624de3","light":"#8171e9","dark":"#624de3"},"logo":{"light":"https://mintcdn.com/rightfoot/QL9tiGrpINkF23RL/logo/light.png?fit=max\u0026auto=format\u0026n=QL9tiGrpINkF23RL\u0026q=85\u0026s=c388746a1cf261f1be0f1f3acb483670","dark":"https://mintcdn.com/rightfoot/QL9tiGrpINkF23RL/logo/dark.svg?fit=max\u0026auto=format\u0026n=QL9tiGrpINkF23RL\u0026q=85\u0026s=363499abb0a1b329cb8b35b16e3c1402"},"favicon":"https://mintcdn.com/rightfoot/QL9tiGrpINkF23RL/favicon.png?fit=max\u0026auto=format\u0026n=QL9tiGrpINkF23RL\u0026q=85\u0026s=474b105cdf8b38e4551a38bca3cddb63","api":{},"navbar":{"links":[{"href":"https://status.rightfoot.com/","label":"Status"},{"href":"mailto:support@rightfoot.com","label":"Support"}]},"footer":{"socials":{"website":"https://rightfoot.com"}},"seo":{"metatags":{"description":"Comprehensive API documentation for Rightfoot's financial data platform. Learn how to integrate balance checks, payment monitoring, and financial authorization services.","keywords":"payment processing, API documentation, balance checks, financial authorization, payment monitoring, fintech API","author":"Rightfoot","robots":"index, follow","googlebot":"index, follow","charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","theme-color":"#624de3","og:title":"Rightfoot API Documentation","og:type":"website","og:description":"Comprehensive API documentation for Rightfoot's financial data platform. Learn how to integrate balance checks, payment monitoring, and financial authorization services.","og:image":"/logo/light.png","og:site_name":"Rightfoot API Documentation","og:locale":"en_US","twitter:card":"summary_large_image","twitter:title":"Rightfoot API Documentation","twitter:description":"Complete API guide for Rightfoot's financial data platform","twitter:image":"/logo/light.png","twitter:image:alt":"Rightfoot API Documentation","apple-mobile-web-app-capable":"yes","apple-mobile-web-app-status-bar-style":"black","apple-mobile-web-app-title":"Rightfoot API","application-name":"Rightfoot API Documentation"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rightfoot","hasAudioNarration":false,"actualSubdomain":"rightfoot","customDomains":["docs.rightfoot.com"],"gitSource":{"type":"github","owner":"charitize","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":false,"edits":false,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b04aa523f5444102f113faf","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":30},{"language":"default","tag":"Payments","count":14},{"language":"default","tag":"Monitoring","count":5},{"language":"default","tag":"On Demand Balance Checks","count":4},{"language":"default","tag":"Webhooks","count":4},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/payments/create-payment-enrollments","slug":"/api-reference/payments/create-payment-enrollments","pageMetadata":{"title":"Enroll and Update Borrowers","openapi":"POST /v1/payment_enrollments","description":"Enroll borrowers and update them by re-sending — one route for your whole file","href":"/api-reference/payments/create-payment-enrollments"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Enroll borrowers and update them by re-sending — one route for your whole file\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,CodeGroup,Heading,Note,Table,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`enroll-and-update-borrowers`,children:`Enroll and Update Borrowers`}),`\n`,_jsx(_components.p,{children:`Enroll a batch of borrowers in a single call. Rightfoot stores each borrower, monitors their balance, and acts once there is enough in the account to collect.`}),`\n`,_jsx(_components.p,{children:`This is also the update route: send a borrower you have already enrolled and their details and amount are refreshed in place. There is no separate update call.`}),`\n`,_jsxs(_components.p,{children:[`For each borrower, send either a single `,_jsx(_components.code,{children:`collectable_amount`}),` or a list of `,_jsx(_components.a,{href:`#collecting-several-obligations-separately`,children:_jsx(_components.code,{children:`obligations`})}),` — for example, each past-due installment of a loan — that Rightfoot collects separately from the same bank account.`]}),`\n`,_jsx(_components.p,{children:`Send up to 1000 borrowers per request.`}),`\n`,_jsx(Heading,{level:`2`,id:`send-your-whole-file-every-day`,children:`Send your whole file, every day`}),`\n`,_jsxs(_components.p,{children:[`This endpoint is an `,_jsx(_components.strong,{children:`upsert`}),` — re-sending a borrower is how you update them. Someone already being monitored comes back as `,_jsx(_components.code,{children:`updated`}),`: their details are refreshed and the `,_jsx(_components.code,{children:`collectable_amount`}),` in that request is applied to the monitor they already have.`]}),`\n`,_jsxs(_components.p,{children:[`That means you do not need to track what you have already sent, or which borrowers changed. Push your full delinquent file on whatever cadence suits you and let the response tell you what happened to each borrower. To stop monitoring a borrower altogether, use `,_jsx(_components.a,{href:`/api-reference/payments/delete-payment-enrollments`,children:`Remove Borrowers from Monitoring`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`what-a-re-send-changes`,children:`What a re-send changes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Sent again`}),_jsx(_components.th,{children:`Effect on a monitored borrower`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`collectable_amount`})}),_jsx(_components.td,{children:`Applied to the existing monitor. Rightfoot works toward the new figure from the next payment on`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`obligations`})}),_jsxs(_components.td,{children:[`The full set, replacing the last one: each obligation sent is applied to its own monitor, and any obligation left out stops being collected. See `,_jsx(_components.a,{href:`#collecting-several-obligations-separately`,children:`Collecting several obligations separately`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy_overrides`})}),_jsx(_components.td,{children:`Replaced. Omitting it returns the borrower to your collection policy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Identity and bank account fields`}),_jsx(_components.td,{children:`Re-stored. The borrower keeps a single record however many times you send them`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`merchant_ref`})}),_jsx(_components.td,{children:`Replaced`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`charge_instrument`})}),_jsx(_components.td,{children:`Replaced. Omitting it for a borrower you previously sent with a card moves them back to ACH`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`charge_order`}),`, `,_jsx(_components.code,{children:`fallback_on`})]}),_jsxs(_components.td,{children:[`Ignored. They apply on first enrollment only; change them with `,_jsx(_components.a,{href:`/api-reference/payments/update-charge-settings`,children:`Change a Borrower’s Charge Order`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`This is what to use when a borrower pays you directly and the amount you will accept drops: send them again with the lower `,_jsx(_components.code,{children:`collectable_amount`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`An update applies to the `,_jsx(_components.strong,{children:`next`}),` payment, not to one already in flight. If Rightfoot has a payment out at the bank for this borrower, that payment runs to its original amount, and the new amount is picked up only if it comes back.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`An unchanged re-send is reported `,_jsx(_components.code,{children:`updated`}),` as well. Rightfoot cannot tell “re-sent unchanged” from “re-sent with edits” — the stored details are encrypted and cannot be read back to compare — so read `,_jsx(_components.code,{children:`updated`}),` as “this borrower is monitored against the amount you just sent”, not as “something about them changed”.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`monitoring-lapses-if-you-stop-sending`,children:`Monitoring lapses if you stop sending`}),`\n`,_jsxs(_components.p,{children:[`Monitoring expires 30 days after it starts. Sending a borrower again after their monitoring has expired starts fresh monitoring, using the `,_jsx(_components.code,{children:`collectable_amount`}),` in that request.`]}),`\n`,_jsxs(_components.p,{children:[`Re-sending a borrower who is `,_jsx(_components.em,{children:`still`}),` being monitored updates them but does not extend that window — the 30 days run from when monitoring started, not from your last push.`]}),`\n`,_jsx(_components.p,{children:`Your regular push is therefore what keeps monitoring alive. If a borrower drops out of your file, monitoring for them lapses within 30 days.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-send-for-each-borrower`,children:`What you send for each borrower`}),`\n`,_jsx(_components.p,{children:`The identity and bank account fields are the same ones the balance endpoints accept, so an existing integration can reuse its serialization.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`authorizer_unique_id`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Your own identifier for this borrower`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_name`}),`, `,_jsx(_components.code,{children:`last_name`})]}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone_number`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date_of_birth`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Object with `,_jsx(_components.code,{children:`day`}),`, `,_jsx(_components.code,{children:`month`}),`, `,_jsx(_components.code,{children:`year`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Only `,_jsx(_components.code,{children:`zip_code`}),` is required within it`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ssn`}),` or `,_jsx(_components.code,{children:`ein`})]}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`One of the two`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`account_number`}),`, `,_jsx(_components.code,{children:`routing_number`})]}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`See below`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`collectable_amount`})}),_jsx(_components.td,{children:`One of these two`}),_jsx(_components.td,{children:`Cents. The most you will accept today`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`obligations`})}),_jsx(_components.td,{children:`One of these two`}),_jsxs(_components.td,{children:[`The borrower’s debt split into amounts collected separately. See `,_jsx(_components.a,{href:`#collecting-several-obligations-separately`,children:`Collecting several obligations separately`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`days_past_due`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`As of this request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`merchant_ref`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The tag of the `,_jsx(_components.a,{href:`/api-reference/payments/create-payment-connection`,children:`processor key`}),` to settle to. Omit it to use your default key`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`charge_instrument`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`#how-rightfoot-collects`,children:`How Rightfoot collects`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy_overrides`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Exceptions to your collection policy for this borrower. See `,_jsx(_components.a,{href:`#per-borrower-policy-overrides`,children:`Per-borrower policy overrides`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`charge_order`}),`, `,_jsx(_components.code,{children:`fallback_on`})]}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The rails to collect on, in order, and which failures fall back to the next. See `,_jsx(_components.a,{href:`#charge-order-debit-card-and-ach`,children:`Charge order: debit card and ACH`})]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Keep `,_jsx(_components.code,{children:`authorizer_unique_id`}),` stable for the life of the loan.`]}),` Monitoring history accumulates against it. An identifier that changes between pushes resets that history, and monitoring quietly degrades rather than failing.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`the-bank-account-is-always-required`,children:`The bank account is always required`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`account_number`}),` and `,_jsx(_components.code,{children:`routing_number`}),` are required for every borrower, including those you intend to charge by card. They are what Rightfoot uses to read the balance, and no charge instrument substitutes for them.`]}),`\n`,_jsx(Heading,{level:`3`,id:`the-amount-is-a-ceiling-in-cents`,children:`The amount is a ceiling, in cents`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`collectable_amount`}),` is an integer number of cents — `,_jsx(_components.code,{children:`42500`}),` is $425.00. Rightfoot treats it as a `,_jsx(_components.strong,{children:`ceiling`}),`, and will not attempt more than that in a single payment.`]}),`\n`,_jsx(Heading,{level:`2`,id:`collecting-several-obligations-separately`,children:`Collecting several obligations separately`}),`\n`,_jsxs(_components.p,{children:[`Some borrowers owe more than one amount at once — say two past-due installments of $100, one that was already presented and returned and one coming due. Instead of a single `,_jsx(_components.code,{children:`collectable_amount`}),`, send each as an `,_jsx(_components.strong,{children:`obligation`}),`, and Rightfoot monitors and collects each one on its own.`]}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.strong,{children:`exactly one`}),` of `,_jsx(_components.code,{children:`collectable_amount`}),` or `,_jsx(_components.code,{children:`obligations`}),` for a borrower. A borrower with both or neither, or with two obligations sharing an `,_jsx(_components.code,{children:`id`}),`, fails validation, and the whole request is rejected with a `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Your identifier for the obligation, unique within the borrower — for example loan number plus installment. Keep it stable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Cents. The amount to collect for this obligation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`priority`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Collection order when the balance cannot cover every obligation. Lower is collected first; obligations without a priority come after every prioritized one`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Any JSON object you want kept with the obligation, such as an installment number or payment type. Echoed back on `,_jsx(_components.a,{href:`/api-reference/payments/get-payment-events`,children:`payment events`}),`; never used to decide whether or how much to collect`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1a2b3c4d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"routing_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"021000021\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days_past_due\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`31`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"obligations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-123:inst-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"installment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"representment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-123:inst-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"installment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"presentment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`how-obligations-are-collected`,children:`How obligations are collected`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One balance check covers them all.`}),` Every obligation draws on the same bank account, so Rightfoot reads the balance once and decides every obligation from that reading.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In priority order, until the balance runs out.`}),` An obligation is collected when the balance covers it, everything ahead of it, and your reserve. With a $100 reserve, a $500 balance collects both $100 installments above; a $250 balance collects only `,_jsx(_components.code,{children:`loan-123:inst-2`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Each obligation is collected whole, as its own payment.`}),` An obligation is never split to fit the balance or combined with another, so a returned payment is always re-presented at its original amount. If one does not fit, a smaller one behind it can still be collected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One payment at a time per account.`}),` While a payment for any of the borrower’s obligations is still at the bank, nothing new is collected for that borrower. Obligations decided together from the same balance check go out together.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retries are counted per obligation.`}),` Each obligation that comes back returned is retried within NACHA’s limit for that payment, independently of the others.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`the-push-carries-the-full-set`,children:`The push carries the full set`}),`\n`,_jsx(_components.p,{children:`Each push replaces the borrower’s obligations:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An obligation you send again is `,_jsx(_components.strong,{children:`updated in place`}),` — its amount, priority and metadata are refreshed, and it keeps its retry history.`]}),`\n`,_jsxs(_components.li,{children:[`An obligation `,_jsx(_components.strong,{children:`left out`}),` of the push stops being collected. This is how you take an installment back — for example on the day you re-present it yourself.`]}),`\n`,_jsxs(_components.li,{children:[`Switching a borrower between `,_jsx(_components.code,{children:`collectable_amount`}),` and `,_jsx(_components.code,{children:`obligations`}),` replaces one with the other; Rightfoot never collects both.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To stop one obligation without sending the whole borrower, see `,_jsx(_components.a,{href:`/api-reference/payments/delete-payment-enrollments#removing-a-single-obligation`,children:`Remove Borrowers from Monitoring`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`An obligation left out of a push and sent again in a later one is collected again. Keep an obligation out of your file for as long as Rightfoot should not collect it.`})}),`\n`,_jsx(Heading,{level:`2`,id:`per-borrower-policy-overrides`,children:`Per-borrower policy overrides`}),`\n`,_jsxs(_components.p,{children:[`Your collection policy decides when a balance is high enough to collect: the `,_jsx(_components.strong,{children:`reserve`}),` that must stay in the account after a payment, and the `,_jsx(_components.strong,{children:`minimum`}),` payment Rightfoot submits. `,_jsx(_components.code,{children:`policy_overrides`}),` changes either for one borrower; anything you leave out follows your policy.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reserve_cents`})}),_jsx(_components.td,{children:`Cents that must remain in the account after the payment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`min_debit_cents`})}),_jsxs(_components.td,{children:[`The smallest payment Rightfoot submits for this borrower. An amount or obligation below it is `,_jsx(_components.code,{children:`held`}),` with `,_jsx(_components.code,{children:`amount_below_minimum`})]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"policy_overrides\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reserve_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"min_debit_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Unknown fields are rejected rather than ignored, so a misspelling cannot quietly loosen a rule. The overrides are replaced on every push: send them each time, or the borrower returns to your policy.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-rightfoot-collects`,children:`How Rightfoot collects`}),`\n`,_jsxs(_components.p,{children:[`Omit `,_jsx(_components.code,{children:`charge_instrument`}),` entirely and Rightfoot collects by ACH from the bank account you supplied. That is the common case.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If collection runs through your own Stripe account, `,_jsx(_components.code,{children:`charge_instrument`}),` is required on every borrower. Rightfoot charges the payment method you name; there is no fallback to the bank account, since that account is read for its balance rather than debited.`]})}),`\n`,_jsx(_components.p,{children:`To have something else charged instead, supply exactly one of:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`token`,icon:`shield-check`,children:_jsx(_components.p,{children:`A token held by your payment processor, for a card or a bank account. Preferred — the card or bank details behind it stay with your processor. The token on its own is enough.`})}),_jsx(Card,{title:`card`,icon:`credit-card`,children:_jsx(_components.p,{children:`Raw card details, stored securely by Rightfoot. Use this only when you cannot produce a processor token.`})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`token_type`}),` is optional but worth sending. Processors issue one token format for both kinds — Stripe uses `,_jsx(_components.code,{children:`pm_`}),` for cards and bank accounts alike — so Rightfoot cannot tell from the value which it holds. Omitting it records the kind as unknown; Rightfoot does not guess one.`]})}),`\n`,_jsxs(_components.p,{children:[`Raw card details take no `,_jsx(_components.code,{children:`token_type`}),` or `,_jsx(_components.code,{children:`last4`}),`: Rightfoot derives the last four from the number it stores, so it describes the card actually held. Sending either alongside `,_jsx(_components.code,{children:`card`}),` is rejected.`]}),`\n`,_jsx(_components.p,{children:`The routing and account number stay required whichever instrument collects — they are what Rightfoot reads the balance from.`}),`\n`,_jsxs(_components.p,{children:[`Each borrower in the same request can use a different option. Only the `,_jsx(_components.code,{children:`charge_instrument`}),` differs — the identity and bank account fields are the same either way.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`ACH`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1a2b3c4d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"routing_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"021000021\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collectable_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days_past_due\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`47`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Card token`,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5e6f7g8h\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9876543210\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"routing_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"071000013\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collectable_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days_past_due\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`22`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"charge_instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tok_9f3a21c7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"card\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4412\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Bank account token`,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7g8h9i0j\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4433221100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"routing_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"121000248\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collectable_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`26000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days_past_due\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`34`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"charge_instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pm_1QbK2xXyz\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bank_account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_ref\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cus_1QbK2x\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Raw card`,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9i0j1k2l\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5544332211\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"routing_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"111000025\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collectable_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days_past_due\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"charge_instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"card\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"debit_card_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4111111111111111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiration_month\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiration_year\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2030`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`These snippets show only the fields that differ. Identity fields (`,_jsx(_components.code,{children:`first_name`}),`, `,_jsx(_components.code,{children:`last_name`}),`, `,_jsx(_components.code,{children:`phone_number`}),`, `,_jsx(_components.code,{children:`date_of_birth`}),`, `,_jsx(_components.code,{children:`address`}),`, and `,_jsx(_components.code,{children:`ssn`}),` or `,_jsx(_components.code,{children:`ein`}),`) are required on every borrower — see the full example above.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`charge-order-debit-card-and-ach`,children:`Charge order: debit card and ACH`}),`\n`,_jsxs(_components.p,{children:[`By default a borrower is collected by ACH alone. To charge their debit card as well, send the card as a `,_jsx(_components.code,{children:`charge_instrument`}),` token with `,_jsx(_components.code,{children:`token_type: card`}),`, and a `,_jsx(_components.code,{children:`charge_order`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`charge_order`})}),_jsx(_components.th,{children:`Behaviour`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`omitted`}),_jsxs(_components.td,{children:[`Follows your `,_jsx(_components.a,{href:`/api-reference/payments/get-payment-policy`,children:`collection policy`}),`, else ACH alone`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[\"card\", \"ach\"]`})}),_jsx(_components.td,{children:`Charge the debit card first, then fall back to ACH`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[\"ach\", \"card\"]`})}),_jsx(_components.td,{children:`ACH first, then fall back to the debit card`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ach`}),` is always required; a card-only order is not offered. Set the same order for every borrower at once with `,_jsx(_components.code,{children:`chargeOrder`}),` on your `,_jsx(_components.a,{href:`/api-reference/payments/update-payment-policy`,children:`collection policy`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`fallback_on`}),` lists the failures that move a payment to the next rail. Leave it out and every category falls back:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Category`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_funds`})}),_jsx(_components.td,{children:`Not enough money on the rail tried`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`instrument_invalid`})}),_jsx(_components.td,{children:`The card or account cannot take a payment: expired card, closed or frozen account`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`authorization_revoked`})}),_jsx(_components.td,{children:`The borrower or their bank refused the payment, such as a card dispute or an unauthorized ACH return`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`declined_by_processor`})}),_jsx(_components.td,{children:`The payment processor refused it for its own reasons`})]})]})]}),`\n`,_jsx(_components.p,{children:`A failure not in the list ends that collection attempt. A processor outage never changes rails; the same rail is tried again later.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5e6f7g8h\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9876543210\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"routing_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"071000013\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collectable_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days_past_due\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`22`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"charge_instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tok_9f3a21c7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"card\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4412\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"charge_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"card\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ach\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fallback_on\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"insufficient_funds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"instrument_invalid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"declined_by_processor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`charge_order`}),` and `,_jsx(_components.code,{children:`fallback_on`}),` are applied the `,_jsx(_components.strong,{children:`first time`}),` a borrower is enrolled only. Re-sending the borrower leaves them as they are, so your daily push cannot undo a change. Use `,_jsx(_components.a,{href:`/api-reference/payments/update-charge-settings`,children:`Change a Borrower’s Charge Order`}),` to change them, and `,_jsx(_components.a,{href:`/api-reference/payments/get-charge-settings`,children:`Get a Borrower’s Charge Order`}),` to see what is in effect.`]})}),`\n`,_jsxs(_components.p,{children:[`A borrower whose `,_jsx(_components.code,{children:`charge_order`}),` names `,_jsx(_components.code,{children:`card`}),` is `,_jsx(_components.code,{children:`failed`}),`, and nothing is stored, when the card cannot be used:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Reason`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card_rail_disabled`})}),_jsx(_components.td,{children:`Debit-card collection is not yet enabled for your account`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_connection_for_rail`})}),_jsxs(_components.td,{children:[`None of your `,_jsx(_components.a,{href:`/api-reference/payments/list-payment-connections`,children:`processor keys`}),` can charge a debit card`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card_instrument_missing`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`charge_instrument`}),` carries no debit-card token (`,_jsx(_components.code,{children:`token_type: card`}),`). Raw `,_jsx(_components.code,{children:`card`}),` details do not count`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Each `,_jsx(_components.a,{href:`/api-reference/payments/get-payment-events`,children:`payment event`}),` for a borrower with a charge order carries `,_jsx(_components.code,{children:`rail`}),` (`,_jsx(_components.code,{children:`ach`}),` or `,_jsx(_components.code,{children:`card`}),`), and `,_jsx(_components.code,{children:`instrument_last4`}),` on a card payment.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reading-the-response`,children:`Reading the response`}),`\n`,_jsxs(_components.p,{children:[`The response is `,_jsx(_components.code,{children:`207`}),`, and every borrower you sent has an entry in `,_jsx(_components.code,{children:`results`}),`, in the order you sent them. `,_jsxs(_components.strong,{children:[`Check each `,_jsx(_components.code,{children:`outcome`}),` rather than relying on the status code`]}),` — one bad record never blocks the rest of the batch.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Outcome`}),_jsx(_components.th,{children:`What it means`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`enrolled`})}),_jsx(_components.td,{children:`Stored, and monitoring started`}),_jsx(_components.td,{children:`Nothing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updated`})}),_jsx(_components.td,{children:`Monitoring was already running; details refreshed and the amount you sent applied to it`}),_jsx(_components.td,{children:`Nothing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`held`})}),_jsx(_components.td,{children:`Stored, but not monitored`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.code,{children:`reason`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`The details in this request were not stored`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.code,{children:`reason`})]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`already_enrolled`}),` is no longer returned. It stays in the response as a count that is always `,_jsx(_components.code,{children:`0`}),` so that an integration parsing the old shape keeps working — a re-sent borrower is reported `,_jsx(_components.code,{children:`updated`}),` instead.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`results-for-obligations`,children:`Results for obligations`}),`\n`,_jsxs(_components.p,{children:[`A borrower sent with `,_jsx(_components.code,{children:`obligations`}),` also carries an `,_jsx(_components.code,{children:`obligations`}),` array in their result, one entry per obligation in the order you sent them, each with its own `,_jsx(_components.code,{children:`outcome`}),`, `,_jsx(_components.code,{children:`reason`}),` and `,_jsx(_components.code,{children:`message`}),`. The borrower’s own `,_jsx(_components.code,{children:`outcome`}),` sums them up:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`enrolled`}),` if any obligation started being collected,`]}),`\n`,_jsxs(_components.li,{children:[`otherwise `,_jsx(_components.code,{children:`updated`}),` if any was applied to monitoring already running,`]}),`\n`,_jsxs(_components.li,{children:[`otherwise `,_jsx(_components.code,{children:`held`}),`, with the first obligation’s `,_jsx(_components.code,{children:`reason`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`So a borrower can be `,_jsx(_components.code,{children:`enrolled`}),` while one of their obligations is `,_jsx(_components.code,{children:`held`}),` — for example an installment below your minimum payment. Read the obligation results to see which.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizer_unique_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1a2b3c4d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enrolled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"obligations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-123:inst-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enrolled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan-123:inst-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"held\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"amount_below_minimum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A borrower sent with `,_jsx(_components.code,{children:`collectable_amount`}),` has no `,_jsx(_components.code,{children:`obligations`}),` in their result.`]}),`\n`,_jsx(Heading,{level:`3`,id:`held-borrowers`,children:`Held borrowers`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`held`}),` borrower’s details are kept. Monitoring did not start, or has stopped, for the reason given. With obligations, the same reasons apply to each obligation.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Reason`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`institution_not_supported`})}),_jsx(_components.td,{children:`Rightfoot does not currently support this bank. Your data is correct; there is no action to take. Keep sending them — monitoring starts automatically if support is added.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unresolvable_routing_number`})}),_jsx(_components.td,{children:`The routing number did not match a known bank. Check it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount_below_minimum`})}),_jsx(_components.td,{children:`The amount is below the minimum payment. Send it again at or above the minimum.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`authorization_revoked`})}),_jsx(_components.td,{children:`A payment on this borrower came back as unauthorized. Monitoring stays stopped until authorization is re-established and monitoring is deliberately resumed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bank_account_invalid`})}),_jsx(_components.td,{children:`A payment on this bank account came back as closed or invalid. Send the borrower with a different bank account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retry_limit_reached`})}),_jsx(_components.td,{children:`Payments for this borrower or obligation have already been returned the maximum number of times. Monitoring stays stopped until it is deliberately resumed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`balance_unreadable`})}),_jsx(_components.td,{children:`The balance could not be retrieved on repeated attempts. Monitoring stays stopped until it is deliberately resumed.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`failed-borrowers`,children:`Failed borrowers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Reason`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`duplicate_in_request`})}),_jsx(_components.td,{children:`This identifier appeared more than once in the request. Every copy is rejected rather than guessing which you meant.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tokenization_failed`})}),_jsxs(_components.td,{children:[`The borrower’s details were rejected. `,_jsx(_components.code,{children:`message`}),` names the problem — correct it and send again.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card_tokenization_failed`})}),_jsxs(_components.td,{children:[`The card details were rejected. See `,_jsx(_components.code,{children:`message`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`chunk_failed`})}),_jsx(_components.td,{children:`A temporary failure affecting part of the batch. Send these borrowers again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`monitor_open_failed`})}),_jsx(_components.td,{children:`The borrower was stored but monitoring did not start. Send them again.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`card_rail_disabled`}),`, `,_jsx(_components.code,{children:`no_connection_for_rail`}),`, `,_jsx(_components.code,{children:`card_instrument_missing`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`charge_order`}),` names `,_jsx(_components.code,{children:`card`}),` and the card cannot be used. See `,_jsx(_components.a,{href:`#charge-order-debit-card-and-ach`,children:`Charge order`}),`.`]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`chunk_failed`}),` and `,_jsx(_components.code,{children:`monitor_open_failed`}),` are both safe to retry — re-sending a borrower who did enroll returns `,_jsx(_components.code,{children:`updated`}),` and re-applies the same amount, rather than creating anything twice.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Enroll and Update Borrowers","openapi":"POST /v1/payment_enrollments","description":"Enroll borrowers and update them by re-sending — one route for your whole file","href":"/api-reference/payments/create-payment-enrollments"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Enroll and Update Borrowers","slug":"enroll-and-update-borrowers","depth":1,"children":[]},{"title":"Send your whole file, every day","slug":"send-your-whole-file-every-day","depth":2,"children":[{"title":"What a re-send changes","slug":"what-a-re-send-changes","depth":3,"children":[]}]},{"title":"Monitoring lapses if you stop sending","slug":"monitoring-lapses-if-you-stop-sending","depth":2,"children":[]},{"title":"What you send for each borrower","slug":"what-you-send-for-each-borrower","depth":2,"children":[{"title":"The bank account is always required","slug":"the-bank-account-is-always-required","depth":3,"children":[]},{"title":"The amount is a ceiling, in cents","slug":"the-amount-is-a-ceiling-in-cents","depth":3,"children":[]}]},{"title":"Collecting several obligations separately","slug":"collecting-several-obligations-separately","depth":2,"children":[{"title":"How obligations are collected","slug":"how-obligations-are-collected","depth":3,"children":[]},{"title":"The push carries the full set","slug":"the-push-carries-the-full-set","depth":3,"children":[]}]},{"title":"Per-borrower policy overrides","slug":"per-borrower-policy-overrides","depth":2,"children":[]},{"title":"How Rightfoot collects","slug":"how-rightfoot-collects","depth":2,"children":[]},{"title":"Charge order: debit card and ACH","slug":"charge-order-debit-card-and-ach","depth":2,"children":[]},{"title":"Reading the response","slug":"reading-the-response","depth":2,"children":[{"title":"Results for obligations","slug":"results-for-obligations","depth":3,"children":[]},{"title":"Held borrowers","slug":"held-borrowers","depth":3,"children":[]},{"title":"Failed borrowers","slug":"failed-borrowers","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["In Development"],"summary":"Enroll or update borrowers in payment monitoring","operationId":"create_payment_enrollments","description":"Enroll borrowers and update them by re-sending — one route for your whole file","requestBody":"0fbb4631-8260-4fc9-beec-aa6742b51ff0","responses":{"207":"35d8ccfd-366e-40aa-96c7-d5e6a9027feb","400":"11b9aae5-af0d-40ae-8a08-ebaed8a66ac2","401":"10668f53-ac59-42fa-9225-00920f904f2e"},"method":"post","type":"path","servers":["e110f0d9-5e6d-4c18-ac39-bc4f21761885"],"security":["89d4ef4c-913b-46ad-ab0a-2051b8fa4ca4"],"path":"/v1/payment_enrollments","baseUrlOptions":["https://api.rightfoot.com"],"title":"Enroll or update borrowers in payment monitoring","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["borrowers"],"properties":{"borrowers":{"type":"array","minItems":1,"maxItems":1000,"description":"The borrowers to enroll. Up to 1000 per request.","items":{"oneOf":[{"type":"object","description":"One borrower to enroll. The identity and bank account fields match the\n`Authorizer` schema used by the balance endpoints, so an existing integration\ncan reuse the same serialization.\n","required":["authorizer_unique_id","first_name","last_name","phone_number","date_of_birth","address","account_number","routing_number","days_past_due","collectable_amount","ssn"],"properties":{"authorizer_unique_id":{"type":"string","description":"Your own identifier for this borrower. It must stay the same for this\nborrower for the life of the loan — monitoring history accumulates\nagainst it, so an identifier that changes between pushes resets that\nhistory and monitoring degrades without failing.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.authorizer_unique_id","typeLabel":"string"},"first_name":{"type":"string","description":"The borrower's first name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"The borrower's last name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.last_name","typeLabel":"string"},"phone_number":{"type":"string","description":"The borrower's phone number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.phone_number","typeLabel":"string"},"date_of_birth":{"type":"object","description":"Object containing day, month, and year of birth.","required":["day","month","year"],"properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.date_of_birth.day","typeLabel":"integer"},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.date_of_birth.month","typeLabel":"integer"},"year":{"type":"integer","description":"The four-digit year of birth.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.date_of_birth.year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.date_of_birth","typeLabel":"object"},"address":{"type":"object","required":["zip_code"],"properties":{"zip_code":{"type":"string","description":"ZIP or postal code. Must be 5 digits or in 5+4 format (e.g., 94107 or 94107-1234).","pattern":"^\\d{5}(?:-\\d{4})?$","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.address.zip_code","typeLabel":"string"},"street_address_line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name).","uniqueKey":"borrowers.items.[INDEX].oneOf.0.address.street_address_line1","typeLabel":"string"},"street_address_line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building).","uniqueKey":"borrowers.items.[INDEX].oneOf.0.address.street_address_line2","typeLabel":"string"},"city":{"type":"string","description":"City, district, suburb, town, or village.","uniqueKey":"borrowers.items.[INDEX].oneOf.0.address.city","typeLabel":"string"},"state":{"type":"string","description":"State, county, province, or region.","uniqueKey":"borrowers.items.[INDEX].oneOf.0.address.state","typeLabel":"string"},"country":{"type":"string","description":"Two-letter country code.","uniqueKey":"borrowers.items.[INDEX].oneOf.0.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.address","typeLabel":"object"},"ssn":{"type":"string","description":"The borrower's Social Security Number. Either SSN or EIN is required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.ssn","typeLabel":"string"},"account_number":{"type":"string","description":"The borrower's bank account number. Always required, including when you\nsupply a card as the charge instrument — this is what Rightfoot uses to\nread the balance, and no charge instrument substitutes for it.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.account_number","typeLabel":"string"},"routing_number":{"type":"string","pattern":"^\\d{9}$","description":"The routing number for the bank account. Always required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.routing_number","typeLabel":"string"},"collectable_amount":{"type":"integer","minimum":1,"description":"The most you will accept against this borrower today, in cents\n(`42500` is $425.00). Rightfoot treats this as a ceiling and will not\nattempt more than this in a single payment. Send exactly one of this or\n`obligations`.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.collectable_amount","typeLabel":"integer"},"days_past_due":{"type":"integer","minimum":0,"description":"How many days past due this borrower is, as of this request.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.days_past_due","typeLabel":"integer"},"ein":{"type":"string","description":"The borrower's Employer Identification Number. Either SSN or EIN is required.","uniqueKey":"borrowers.items.[INDEX].oneOf.0.ein","typeLabel":"string"},"obligations":{"type":"array","minItems":1,"maxItems":50,"description":"The borrower's debt split into obligations collected separately — for\nexample each past-due installment. Send exactly one of this or\n`collectable_amount`; `id` must be unique within the borrower.\n\nOne balance reading decides every obligation, in `priority` order: an\nobligation is collected when the balance covers it, everything ahead of\nit and your reserve. Each is collected whole as its own payment, so a\nreturned payment is always re-presented at its original amount.\n\nThe push carries the full set. An obligation sent again is updated in\nplace and keeps its retry history; one left out stops being collected.\n","items":{"type":"object","additionalProperties":false,"description":"One obligation of a borrower, collected on its own.","required":["id","amount"],"properties":{"id":{"type":"string","minLength":1,"description":"Your identifier for this obligation, unique within the borrower — for\nexample loan number plus installment. Keep it stable: it is how a later\npush updates or removes the obligation, and it is echoed on payment\nevents as `obligation_id`.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"integer","minimum":1,"description":"The amount to collect for this obligation, in cents.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].amount","typeLabel":"integer"},"priority":{"oneOf":[{"type":"integer","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].priority.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].priority","typeLabel":"integer | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX].metadata","typeLabel":"object | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"borrowers.items.[INDEX].oneOf.0.obligations","typeLabel":"object[]"},"policy_overrides":{"type":"object","additionalProperties":false,"description":"Optional. Exceptions to your collection policy for this borrower; anything\nleft out follows your policy. Unknown fields are rejected. Replaced on every\npush — omit it and the borrower returns to your policy.\n","properties":{"reserve_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides.reserve_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides.reserve_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides.reserve_cents","typeLabel":"integer | null"},"min_debit_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides.min_debit_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides.min_debit_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides.min_debit_cents","typeLabel":"integer | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.0.policy_overrides","typeLabel":"object"},"merchant_ref":{"type":"string","description":"Optional. The tag of the processor key this borrower should settle to, if you hold\nmore than one. Omit it and Rightfoot uses your default key for the rail\nbeing charged.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.merchant_ref","typeLabel":"string"},"charge_instrument":{"oneOf":[{"type":"object","title":"Processor token","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["token"],"properties":{"token":{"type":"string","minLength":1,"description":"A token held by your payment processor that represents the instrument\nto charge. Preferred over sending raw card details — the card or bank\ndetails behind it stay with your processor.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.0.token","typeLabel":"string"},"token_type":{"type":"string","enum":["card","bank_account"],"description":"Optional, and worth sending. Processors issue one token format for\nboth kinds — Stripe uses `pm_` for cards and bank accounts alike — so\nRightfoot cannot classify the token from its value. Omitting it\nrecords that the kind is unknown rather than guessing one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.0.token_type","typeLabel":"enum\u003cstring>"},"last4":{"type":"string","pattern":"^\\d{4}$","description":"Optional. The last four digits of the card or bank account behind\n`token`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.0.last4","typeLabel":"string"},"customer_ref":{"type":"string","minLength":1,"description":"Optional. The processor-side customer the token is attached to\n(Stripe `cus_`). Some processors require it to charge a stored\ninstrument while the borrower is not present.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.0.customer_ref","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.0","typeLabel":"Processor token · object"},{"type":"object","title":"Raw card","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["card"],"properties":{"card":{"type":"object","description":"Raw card details, stored securely by Rightfoot.","required":["debit_card_number","expiration_month","expiration_year"],"properties":{"debit_card_number":{"type":"string","pattern":"^\\d{16}$","description":"A sixteen digit debit card number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.1.card.debit_card_number","typeLabel":"string"},"expiration_month":{"type":"integer","minimum":1,"maximum":12,"description":"Expiration month of the debit card (1-12).","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.1.card.expiration_month","typeLabel":"integer"},"expiration_year":{"type":"integer","description":"Four-digit expiration year of the debit card.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.1.card.expiration_year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.1.card","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument.oneOf.1","typeLabel":"Raw card · object"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_instrument","typeLabel":"Processor token · object | Raw card · object"},"charge_order":{"oneOf":[{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_order.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_order.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.charge_order","typeLabel":"enum\u003cstring>[] | null"},"fallback_on":{"oneOf":[{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.fallback_on.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.fallback_on.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.0.fallback_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.0.fallback_on","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One borrower to enroll. The identity and bank account fields match the\n`Authorizer` schema used by the balance endpoints, so an existing integration\ncan reuse the same serialization.\n","required":["authorizer_unique_id","first_name","last_name","phone_number","date_of_birth","address","account_number","routing_number","days_past_due","obligations","ssn"],"properties":{"authorizer_unique_id":{"type":"string","description":"Your own identifier for this borrower. It must stay the same for this\nborrower for the life of the loan — monitoring history accumulates\nagainst it, so an identifier that changes between pushes resets that\nhistory and monitoring degrades without failing.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.authorizer_unique_id","typeLabel":"string"},"first_name":{"type":"string","description":"The borrower's first name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"The borrower's last name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.last_name","typeLabel":"string"},"phone_number":{"type":"string","description":"The borrower's phone number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.phone_number","typeLabel":"string"},"date_of_birth":{"type":"object","description":"Object containing day, month, and year of birth.","required":["day","month","year"],"properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.date_of_birth.day","typeLabel":"integer"},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.date_of_birth.month","typeLabel":"integer"},"year":{"type":"integer","description":"The four-digit year of birth.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.date_of_birth.year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.date_of_birth","typeLabel":"object"},"address":{"type":"object","required":["zip_code"],"properties":{"zip_code":{"type":"string","description":"ZIP or postal code. Must be 5 digits or in 5+4 format (e.g., 94107 or 94107-1234).","pattern":"^\\d{5}(?:-\\d{4})?$","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.address.zip_code","typeLabel":"string"},"street_address_line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name).","uniqueKey":"borrowers.items.[INDEX].oneOf.1.address.street_address_line1","typeLabel":"string"},"street_address_line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building).","uniqueKey":"borrowers.items.[INDEX].oneOf.1.address.street_address_line2","typeLabel":"string"},"city":{"type":"string","description":"City, district, suburb, town, or village.","uniqueKey":"borrowers.items.[INDEX].oneOf.1.address.city","typeLabel":"string"},"state":{"type":"string","description":"State, county, province, or region.","uniqueKey":"borrowers.items.[INDEX].oneOf.1.address.state","typeLabel":"string"},"country":{"type":"string","description":"Two-letter country code.","uniqueKey":"borrowers.items.[INDEX].oneOf.1.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.address","typeLabel":"object"},"ssn":{"type":"string","description":"The borrower's Social Security Number. Either SSN or EIN is required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.ssn","typeLabel":"string"},"account_number":{"type":"string","description":"The borrower's bank account number. Always required, including when you\nsupply a card as the charge instrument — this is what Rightfoot uses to\nread the balance, and no charge instrument substitutes for it.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.account_number","typeLabel":"string"},"routing_number":{"type":"string","pattern":"^\\d{9}$","description":"The routing number for the bank account. Always required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.routing_number","typeLabel":"string"},"obligations":{"type":"array","minItems":1,"maxItems":50,"description":"The borrower's debt split into obligations collected separately — for\nexample each past-due installment. Send exactly one of this or\n`collectable_amount`; `id` must be unique within the borrower.\n\nOne balance reading decides every obligation, in `priority` order: an\nobligation is collected when the balance covers it, everything ahead of\nit and your reserve. Each is collected whole as its own payment, so a\nreturned payment is always re-presented at its original amount.\n\nThe push carries the full set. An obligation sent again is updated in\nplace and keeps its retry history; one left out stops being collected.\n","items":{"type":"object","additionalProperties":false,"description":"One obligation of a borrower, collected on its own.","required":["id","amount"],"properties":{"id":{"type":"string","minLength":1,"description":"Your identifier for this obligation, unique within the borrower — for\nexample loan number plus installment. Keep it stable: it is how a later\npush updates or removes the obligation, and it is echoed on payment\nevents as `obligation_id`.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"integer","minimum":1,"description":"The amount to collect for this obligation, in cents.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].amount","typeLabel":"integer"},"priority":{"oneOf":[{"type":"integer","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].priority.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].priority","typeLabel":"integer | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX].metadata","typeLabel":"object | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.obligations","typeLabel":"object[]"},"days_past_due":{"type":"integer","minimum":0,"description":"How many days past due this borrower is, as of this request.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.days_past_due","typeLabel":"integer"},"ein":{"type":"string","description":"The borrower's Employer Identification Number. Either SSN or EIN is required.","uniqueKey":"borrowers.items.[INDEX].oneOf.1.ein","typeLabel":"string"},"collectable_amount":{"type":"integer","minimum":1,"description":"The most you will accept against this borrower today, in cents\n(`42500` is $425.00). Rightfoot treats this as a ceiling and will not\nattempt more than this in a single payment. Send exactly one of this or\n`obligations`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.collectable_amount","typeLabel":"integer"},"policy_overrides":{"type":"object","additionalProperties":false,"description":"Optional. Exceptions to your collection policy for this borrower; anything\nleft out follows your policy. Unknown fields are rejected. Replaced on every\npush — omit it and the borrower returns to your policy.\n","properties":{"reserve_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides.reserve_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides.reserve_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides.reserve_cents","typeLabel":"integer | null"},"min_debit_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides.min_debit_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides.min_debit_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides.min_debit_cents","typeLabel":"integer | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.1.policy_overrides","typeLabel":"object"},"merchant_ref":{"type":"string","description":"Optional. The tag of the processor key this borrower should settle to, if you hold\nmore than one. Omit it and Rightfoot uses your default key for the rail\nbeing charged.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.merchant_ref","typeLabel":"string"},"charge_instrument":{"oneOf":[{"type":"object","title":"Processor token","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["token"],"properties":{"token":{"type":"string","minLength":1,"description":"A token held by your payment processor that represents the instrument\nto charge. Preferred over sending raw card details — the card or bank\ndetails behind it stay with your processor.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.0.token","typeLabel":"string"},"token_type":{"type":"string","enum":["card","bank_account"],"description":"Optional, and worth sending. Processors issue one token format for\nboth kinds — Stripe uses `pm_` for cards and bank accounts alike — so\nRightfoot cannot classify the token from its value. Omitting it\nrecords that the kind is unknown rather than guessing one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.0.token_type","typeLabel":"enum\u003cstring>"},"last4":{"type":"string","pattern":"^\\d{4}$","description":"Optional. The last four digits of the card or bank account behind\n`token`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.0.last4","typeLabel":"string"},"customer_ref":{"type":"string","minLength":1,"description":"Optional. The processor-side customer the token is attached to\n(Stripe `cus_`). Some processors require it to charge a stored\ninstrument while the borrower is not present.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.0.customer_ref","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.0","typeLabel":"Processor token · object"},{"type":"object","title":"Raw card","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["card"],"properties":{"card":{"type":"object","description":"Raw card details, stored securely by Rightfoot.","required":["debit_card_number","expiration_month","expiration_year"],"properties":{"debit_card_number":{"type":"string","pattern":"^\\d{16}$","description":"A sixteen digit debit card number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.1.card.debit_card_number","typeLabel":"string"},"expiration_month":{"type":"integer","minimum":1,"maximum":12,"description":"Expiration month of the debit card (1-12).","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.1.card.expiration_month","typeLabel":"integer"},"expiration_year":{"type":"integer","description":"Four-digit expiration year of the debit card.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.1.card.expiration_year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.1.card","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument.oneOf.1","typeLabel":"Raw card · object"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_instrument","typeLabel":"Processor token · object | Raw card · object"},"charge_order":{"oneOf":[{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_order.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_order.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.charge_order","typeLabel":"enum\u003cstring>[] | null"},"fallback_on":{"oneOf":[{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.fallback_on.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.fallback_on.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.1.fallback_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.1.fallback_on","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"One borrower to enroll. The identity and bank account fields match the\n`Authorizer` schema used by the balance endpoints, so an existing integration\ncan reuse the same serialization.\n","required":["authorizer_unique_id","first_name","last_name","phone_number","date_of_birth","address","account_number","routing_number","days_past_due","collectable_amount","ein"],"properties":{"authorizer_unique_id":{"type":"string","description":"Your own identifier for this borrower. It must stay the same for this\nborrower for the life of the loan — monitoring history accumulates\nagainst it, so an identifier that changes between pushes resets that\nhistory and monitoring degrades without failing.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.authorizer_unique_id","typeLabel":"string"},"first_name":{"type":"string","description":"The borrower's first name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"The borrower's last name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.last_name","typeLabel":"string"},"phone_number":{"type":"string","description":"The borrower's phone number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.phone_number","typeLabel":"string"},"date_of_birth":{"type":"object","description":"Object containing day, month, and year of birth.","required":["day","month","year"],"properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.date_of_birth.day","typeLabel":"integer"},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.date_of_birth.month","typeLabel":"integer"},"year":{"type":"integer","description":"The four-digit year of birth.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.date_of_birth.year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.date_of_birth","typeLabel":"object"},"address":{"type":"object","required":["zip_code"],"properties":{"zip_code":{"type":"string","description":"ZIP or postal code. Must be 5 digits or in 5+4 format (e.g., 94107 or 94107-1234).","pattern":"^\\d{5}(?:-\\d{4})?$","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.address.zip_code","typeLabel":"string"},"street_address_line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name).","uniqueKey":"borrowers.items.[INDEX].oneOf.2.address.street_address_line1","typeLabel":"string"},"street_address_line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building).","uniqueKey":"borrowers.items.[INDEX].oneOf.2.address.street_address_line2","typeLabel":"string"},"city":{"type":"string","description":"City, district, suburb, town, or village.","uniqueKey":"borrowers.items.[INDEX].oneOf.2.address.city","typeLabel":"string"},"state":{"type":"string","description":"State, county, province, or region.","uniqueKey":"borrowers.items.[INDEX].oneOf.2.address.state","typeLabel":"string"},"country":{"type":"string","description":"Two-letter country code.","uniqueKey":"borrowers.items.[INDEX].oneOf.2.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.address","typeLabel":"object"},"ein":{"type":"string","description":"The borrower's Employer Identification Number. Either SSN or EIN is required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.ein","typeLabel":"string"},"account_number":{"type":"string","description":"The borrower's bank account number. Always required, including when you\nsupply a card as the charge instrument — this is what Rightfoot uses to\nread the balance, and no charge instrument substitutes for it.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.account_number","typeLabel":"string"},"routing_number":{"type":"string","pattern":"^\\d{9}$","description":"The routing number for the bank account. Always required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.routing_number","typeLabel":"string"},"collectable_amount":{"type":"integer","minimum":1,"description":"The most you will accept against this borrower today, in cents\n(`42500` is $425.00). Rightfoot treats this as a ceiling and will not\nattempt more than this in a single payment. Send exactly one of this or\n`obligations`.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.collectable_amount","typeLabel":"integer"},"days_past_due":{"type":"integer","minimum":0,"description":"How many days past due this borrower is, as of this request.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.days_past_due","typeLabel":"integer"},"ssn":{"type":"string","description":"The borrower's Social Security Number. Either SSN or EIN is required.","uniqueKey":"borrowers.items.[INDEX].oneOf.2.ssn","typeLabel":"string"},"obligations":{"type":"array","minItems":1,"maxItems":50,"description":"The borrower's debt split into obligations collected separately — for\nexample each past-due installment. Send exactly one of this or\n`collectable_amount`; `id` must be unique within the borrower.\n\nOne balance reading decides every obligation, in `priority` order: an\nobligation is collected when the balance covers it, everything ahead of\nit and your reserve. Each is collected whole as its own payment, so a\nreturned payment is always re-presented at its original amount.\n\nThe push carries the full set. An obligation sent again is updated in\nplace and keeps its retry history; one left out stops being collected.\n","items":{"type":"object","additionalProperties":false,"description":"One obligation of a borrower, collected on its own.","required":["id","amount"],"properties":{"id":{"type":"string","minLength":1,"description":"Your identifier for this obligation, unique within the borrower — for\nexample loan number plus installment. Keep it stable: it is how a later\npush updates or removes the obligation, and it is echoed on payment\nevents as `obligation_id`.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"integer","minimum":1,"description":"The amount to collect for this obligation, in cents.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].amount","typeLabel":"integer"},"priority":{"oneOf":[{"type":"integer","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].priority.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].priority","typeLabel":"integer | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX].metadata","typeLabel":"object | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"borrowers.items.[INDEX].oneOf.2.obligations","typeLabel":"object[]"},"policy_overrides":{"type":"object","additionalProperties":false,"description":"Optional. Exceptions to your collection policy for this borrower; anything\nleft out follows your policy. Unknown fields are rejected. Replaced on every\npush — omit it and the borrower returns to your policy.\n","properties":{"reserve_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides.reserve_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides.reserve_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides.reserve_cents","typeLabel":"integer | null"},"min_debit_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides.min_debit_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides.min_debit_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides.min_debit_cents","typeLabel":"integer | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.2.policy_overrides","typeLabel":"object"},"merchant_ref":{"type":"string","description":"Optional. The tag of the processor key this borrower should settle to, if you hold\nmore than one. Omit it and Rightfoot uses your default key for the rail\nbeing charged.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.merchant_ref","typeLabel":"string"},"charge_instrument":{"oneOf":[{"type":"object","title":"Processor token","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["token"],"properties":{"token":{"type":"string","minLength":1,"description":"A token held by your payment processor that represents the instrument\nto charge. Preferred over sending raw card details — the card or bank\ndetails behind it stay with your processor.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.0.token","typeLabel":"string"},"token_type":{"type":"string","enum":["card","bank_account"],"description":"Optional, and worth sending. Processors issue one token format for\nboth kinds — Stripe uses `pm_` for cards and bank accounts alike — so\nRightfoot cannot classify the token from its value. Omitting it\nrecords that the kind is unknown rather than guessing one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.0.token_type","typeLabel":"enum\u003cstring>"},"last4":{"type":"string","pattern":"^\\d{4}$","description":"Optional. The last four digits of the card or bank account behind\n`token`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.0.last4","typeLabel":"string"},"customer_ref":{"type":"string","minLength":1,"description":"Optional. The processor-side customer the token is attached to\n(Stripe `cus_`). Some processors require it to charge a stored\ninstrument while the borrower is not present.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.0.customer_ref","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.0","typeLabel":"Processor token · object"},{"type":"object","title":"Raw card","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["card"],"properties":{"card":{"type":"object","description":"Raw card details, stored securely by Rightfoot.","required":["debit_card_number","expiration_month","expiration_year"],"properties":{"debit_card_number":{"type":"string","pattern":"^\\d{16}$","description":"A sixteen digit debit card number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.1.card.debit_card_number","typeLabel":"string"},"expiration_month":{"type":"integer","minimum":1,"maximum":12,"description":"Expiration month of the debit card (1-12).","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.1.card.expiration_month","typeLabel":"integer"},"expiration_year":{"type":"integer","description":"Four-digit expiration year of the debit card.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.1.card.expiration_year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.1.card","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument.oneOf.1","typeLabel":"Raw card · object"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_instrument","typeLabel":"Processor token · object | Raw card · object"},"charge_order":{"oneOf":[{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_order.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_order.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.charge_order","typeLabel":"enum\u003cstring>[] | null"},"fallback_on":{"oneOf":[{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.fallback_on.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.fallback_on.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.2.fallback_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.2.fallback_on","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"One borrower to enroll. The identity and bank account fields match the\n`Authorizer` schema used by the balance endpoints, so an existing integration\ncan reuse the same serialization.\n","required":["authorizer_unique_id","first_name","last_name","phone_number","date_of_birth","address","account_number","routing_number","days_past_due","obligations","ein"],"properties":{"authorizer_unique_id":{"type":"string","description":"Your own identifier for this borrower. It must stay the same for this\nborrower for the life of the loan — monitoring history accumulates\nagainst it, so an identifier that changes between pushes resets that\nhistory and monitoring degrades without failing.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.authorizer_unique_id","typeLabel":"string"},"first_name":{"type":"string","description":"The borrower's first name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"The borrower's last name.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.last_name","typeLabel":"string"},"phone_number":{"type":"string","description":"The borrower's phone number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.phone_number","typeLabel":"string"},"date_of_birth":{"type":"object","description":"Object containing day, month, and year of birth.","required":["day","month","year"],"properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.date_of_birth.day","typeLabel":"integer"},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.date_of_birth.month","typeLabel":"integer"},"year":{"type":"integer","description":"The four-digit year of birth.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.date_of_birth.year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.date_of_birth","typeLabel":"object"},"address":{"type":"object","required":["zip_code"],"properties":{"zip_code":{"type":"string","description":"ZIP or postal code. Must be 5 digits or in 5+4 format (e.g., 94107 or 94107-1234).","pattern":"^\\d{5}(?:-\\d{4})?$","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.address.zip_code","typeLabel":"string"},"street_address_line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name).","uniqueKey":"borrowers.items.[INDEX].oneOf.3.address.street_address_line1","typeLabel":"string"},"street_address_line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building).","uniqueKey":"borrowers.items.[INDEX].oneOf.3.address.street_address_line2","typeLabel":"string"},"city":{"type":"string","description":"City, district, suburb, town, or village.","uniqueKey":"borrowers.items.[INDEX].oneOf.3.address.city","typeLabel":"string"},"state":{"type":"string","description":"State, county, province, or region.","uniqueKey":"borrowers.items.[INDEX].oneOf.3.address.state","typeLabel":"string"},"country":{"type":"string","description":"Two-letter country code.","uniqueKey":"borrowers.items.[INDEX].oneOf.3.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.address","typeLabel":"object"},"ein":{"type":"string","description":"The borrower's Employer Identification Number. Either SSN or EIN is required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.ein","typeLabel":"string"},"account_number":{"type":"string","description":"The borrower's bank account number. Always required, including when you\nsupply a card as the charge instrument — this is what Rightfoot uses to\nread the balance, and no charge instrument substitutes for it.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.account_number","typeLabel":"string"},"routing_number":{"type":"string","pattern":"^\\d{9}$","description":"The routing number for the bank account. Always required.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.routing_number","typeLabel":"string"},"obligations":{"type":"array","minItems":1,"maxItems":50,"description":"The borrower's debt split into obligations collected separately — for\nexample each past-due installment. Send exactly one of this or\n`collectable_amount`; `id` must be unique within the borrower.\n\nOne balance reading decides every obligation, in `priority` order: an\nobligation is collected when the balance covers it, everything ahead of\nit and your reserve. Each is collected whole as its own payment, so a\nreturned payment is always re-presented at its original amount.\n\nThe push carries the full set. An obligation sent again is updated in\nplace and keeps its retry history; one left out stops being collected.\n","items":{"type":"object","additionalProperties":false,"description":"One obligation of a borrower, collected on its own.","required":["id","amount"],"properties":{"id":{"type":"string","minLength":1,"description":"Your identifier for this obligation, unique within the borrower — for\nexample loan number plus installment. Keep it stable: it is how a later\npush updates or removes the obligation, and it is echoed on payment\nevents as `obligation_id`.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].id","typeLabel":"string"},"amount":{"type":"integer","minimum":1,"description":"The amount to collect for this obligation, in cents.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].amount","typeLabel":"integer"},"priority":{"oneOf":[{"type":"integer","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].priority.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Collection order when the balance cannot cover every obligation. Lower\nis collected first; obligations without a priority come after every\nprioritized one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].priority","typeLabel":"integer | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Anything you want kept with the obligation, such as an installment\nnumber or payment type. Echoed back on payment events; never used to\ndecide whether or how much to collect.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX].metadata","typeLabel":"object | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.obligations","typeLabel":"object[]"},"days_past_due":{"type":"integer","minimum":0,"description":"How many days past due this borrower is, as of this request.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.days_past_due","typeLabel":"integer"},"ssn":{"type":"string","description":"The borrower's Social Security Number. Either SSN or EIN is required.","uniqueKey":"borrowers.items.[INDEX].oneOf.3.ssn","typeLabel":"string"},"collectable_amount":{"type":"integer","minimum":1,"description":"The most you will accept against this borrower today, in cents\n(`42500` is $425.00). Rightfoot treats this as a ceiling and will not\nattempt more than this in a single payment. Send exactly one of this or\n`obligations`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.collectable_amount","typeLabel":"integer"},"policy_overrides":{"type":"object","additionalProperties":false,"description":"Optional. Exceptions to your collection policy for this borrower; anything\nleft out follows your policy. Unknown fields are rejected. Replaced on every\npush — omit it and the borrower returns to your policy.\n","properties":{"reserve_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides.reserve_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Cents that must remain in the account after a payment.","uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides.reserve_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides.reserve_cents","typeLabel":"integer | null"},"min_debit_cents":{"oneOf":[{"type":"integer","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides.min_debit_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The smallest payment Rightfoot submits for this borrower. An amount or\nobligation below it is held with `amount_below_minimum`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides.min_debit_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides.min_debit_cents","typeLabel":"integer | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.3.policy_overrides","typeLabel":"object"},"merchant_ref":{"type":"string","description":"Optional. The tag of the processor key this borrower should settle to, if you hold\nmore than one. Omit it and Rightfoot uses your default key for the rail\nbeing charged.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.merchant_ref","typeLabel":"string"},"charge_instrument":{"oneOf":[{"type":"object","title":"Processor token","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["token"],"properties":{"token":{"type":"string","minLength":1,"description":"A token held by your payment processor that represents the instrument\nto charge. Preferred over sending raw card details — the card or bank\ndetails behind it stay with your processor.\n","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.0.token","typeLabel":"string"},"token_type":{"type":"string","enum":["card","bank_account"],"description":"Optional, and worth sending. Processors issue one token format for\nboth kinds — Stripe uses `pm_` for cards and bank accounts alike — so\nRightfoot cannot classify the token from its value. Omitting it\nrecords that the kind is unknown rather than guessing one.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.0.token_type","typeLabel":"enum\u003cstring>"},"last4":{"type":"string","pattern":"^\\d{4}$","description":"Optional. The last four digits of the card or bank account behind\n`token`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.0.last4","typeLabel":"string"},"customer_ref":{"type":"string","minLength":1,"description":"Optional. The processor-side customer the token is attached to\n(Stripe `cus_`). Some processors require it to charge a stored\ninstrument while the borrower is not present.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.0.customer_ref","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.0","typeLabel":"Processor token · object"},{"type":"object","title":"Raw card","description":"Optional. How Rightfoot should take payment. Omit it entirely to be charged\nby ACH against the bank account you already supplied.\n\nSupply exactly one of `card` or `token`. The token on its own is enough to\ncharge; `token_type` and `last4` are optional. Raw card details carry\nneither — Rightfoot derives the last four from the number it stores, and\nsending a token field alongside them is rejected.\n","required":["card"],"properties":{"card":{"type":"object","description":"Raw card details, stored securely by Rightfoot.","required":["debit_card_number","expiration_month","expiration_year"],"properties":{"debit_card_number":{"type":"string","pattern":"^\\d{16}$","description":"A sixteen digit debit card number.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.1.card.debit_card_number","typeLabel":"string"},"expiration_month":{"type":"integer","minimum":1,"maximum":12,"description":"Expiration month of the debit card (1-12).","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.1.card.expiration_month","typeLabel":"integer"},"expiration_year":{"type":"integer","description":"Four-digit expiration year of the debit card.","isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.1.card.expiration_year","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.1.card","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument.oneOf.1","typeLabel":"Raw card · object"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_instrument","typeLabel":"Processor token · object | Raw card · object"},"charge_order":{"oneOf":[{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_order.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_order.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["ach","card"],"description":"`ach` — the bank account in `account_number` / `routing_number`.\n\n`card` — the debit card in `charge_instrument`.\n"},"description":"Optional. The borrower's own charge order, e.g. `[\"card\", \"ach\"]` to\ncharge the debit card in `charge_instrument` first and fall back to ACH.\nUnset follows your collection policy, else ACH alone.\n\nApplied the first time the borrower is enrolled only: a re-send leaves\nit as it is. Change it with\n[Change a borrower's charge order](/api-reference/payments/update-charge-settings).\n\n`card` needs a debit-card token in `charge_instrument`\n(`token_type: card`) and debit-card collection enabled for your\naccount. Otherwise the borrower is `failed` with `card_rail_disabled`,\n`no_connection_for_rail` or `card_instrument_missing`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_order.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.charge_order","typeLabel":"enum\u003cstring>[] | null"},"fallback_on":{"oneOf":[{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.fallback_on.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.fallback_on.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueItems":true,"items":{"type":"string","enum":["insufficient_funds","instrument_invalid","authorization_revoked","declined_by_processor"],"description":"`insufficient_funds` — not enough money on the rail tried.\n\n`instrument_invalid` — the instrument cannot take a payment: a closed or\nfrozen account, an expired card.\n\n`authorization_revoked` — the borrower or their bank refused the payment,\nsuch as an unauthorized ACH return or a card dispute.\n\n`declined_by_processor` — the payment processor refused it for its own\nreasons.\n\nA processor outage (`processor_error`) never moves a payment to another\nrail: the same rail is tried again later. It cannot be listed.\n"},"description":"Optional. Which failures move this borrower's payment to the next rail.\nUnset follows your collection policy, else every category. Applied on\nfirst enrollment only, like `charge_order`.\n","uniqueKey":"borrowers.items.[INDEX].oneOf.3.fallback_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrowers.items.[INDEX].oneOf.3.fallback_on","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"borrowers.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"borrowers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"borrowers","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"borrowers":[{"authorizer_unique_id":"1a2b3c4d","first_name":"John","last_name":"Doe","phone_number":"5551234567","date_of_birth":{"day":14,"month":3,"year":1988},"address":{"street_address_line1":"123 Main St","city":"Anytown","state":"CA","zip_code":"12345","country":"US"},"ssn":"123456789","account_number":"1234567890","routing_number":"021000021","collectable_amount":42500,"days_past_due":47,"merchant_ref":"acme-nv"},{"authorizer_unique_id":"3c4d5e6f","first_name":"Sam","last_name":"Lee","phone_number":"5556667777","date_of_birth":{"day":7,"month":1,"year":1990},"address":{"zip_code":"30301"},"ssn":"234567891","account_number":"2233445566","routing_number":"061000104","days_past_due":31,"obligations":[{"id":"loan-123:inst-2","amount":10000,"priority":1,"metadata":{"installment":2,"type":"representment"}},{"id":"loan-123:inst-3","amount":10000,"priority":2,"metadata":{"installment":3,"type":"presentment"}}],"policy_overrides":{"reserve_cents":5000}},{"authorizer_unique_id":"5e6f7g8h","first_name":"Maria","last_name":"Alvarez","phone_number":"5559876543","date_of_birth":{"day":2,"month":11,"year":1979},"address":{"street_address_line1":"88 Oak Ave","street_address_line2":"Apt 4B","city":"Springfield","state":"IL","zip_code":"62701","country":"US"},"ssn":"987654321","account_number":"9876543210","routing_number":"071000013","collectable_amount":18000,"days_past_due":22,"charge_instrument":{"token":"tok_9f3a21c7","token_type":"card","last4":"4412"}},{"authorizer_unique_id":"7g8h9i0j","first_name":"Dana","last_name":"Ruiz","phone_number":"5554445555","date_of_birth":{"day":19,"month":8,"year":1985},"address":{"street_address_line1":"41 Cedar Ln","city":"Columbus","state":"OH","zip_code":"43215","country":"US"},"ssn":"321654987","account_number":"4433221100","routing_number":"121000248","collectable_amount":26000,"days_past_due":34,"charge_instrument":{"token":"pm_1QbK2xXyz","token_type":"bank_account","last4":"1100","customer_ref":"cus_1QbK2x"}},{"authorizer_unique_id":"9i0j1k2l","first_name":"Andre","last_name":"Boateng","phone_number":"5552223333","date_of_birth":{"day":30,"month":6,"year":1991},"address":{"street_address_line1":"500 Pine Rd","city":"Austin","state":"TX","zip_code":"78701","country":"US"},"ssn":"456789123","account_number":"5544332211","routing_number":"111000025","collectable_amount":7500,"days_past_due":9,"charge_instrument":{"card":{"debit_card_number":"4111111111111111","expiration_month":4,"expiration_year":2030}}}]},"examples":{"Example":{"title":"Example","value":{"borrowers":[{"authorizer_unique_id":"1a2b3c4d","first_name":"John","last_name":"Doe","phone_number":"5551234567","date_of_birth":{"day":14,"month":3,"year":1988},"address":{"street_address_line1":"123 Main St","city":"Anytown","state":"CA","zip_code":"12345","country":"US"},"ssn":"123456789","account_number":"1234567890","routing_number":"021000021","collectable_amount":42500,"days_past_due":47,"merchant_ref":"acme-nv"},{"authorizer_unique_id":"3c4d5e6f","first_name":"Sam","last_name":"Lee","phone_number":"5556667777","date_of_birth":{"day":7,"month":1,"year":1990},"address":{"zip_code":"30301"},"ssn":"234567891","account_number":"2233445566","routing_number":"061000104","days_past_due":31,"obligations":[{"id":"loan-123:inst-2","amount":10000,"priority":1,"metadata":{"installment":2,"type":"representment"}},{"id":"loan-123:inst-3","amount":10000,"priority":2,"metadata":{"installment":3,"type":"presentment"}}],"policy_overrides":{"reserve_cents":5000}},{"authorizer_unique_id":"5e6f7g8h","first_name":"Maria","last_name":"Alvarez","phone_number":"5559876543","date_of_birth":{"day":2,"month":11,"year":1979},"address":{"street_address_line1":"88 Oak Ave","street_address_line2":"Apt 4B","city":"Springfield","state":"IL","zip_code":"62701","country":"US"},"ssn":"987654321","account_number":"9876543210","routing_number":"071000013","collectable_amount":18000,"days_past_due":22,"charge_instrument":{"token":"tok_9f3a21c7","token_type":"card","last4":"4412"}},{"authorizer_unique_id":"7g8h9i0j","first_name":"Dana","last_name":"Ruiz","phone_number":"5554445555","date_of_birth":{"day":19,"month":8,"year":1985},"address":{"street_address_line1":"41 Cedar Ln","city":"Columbus","state":"OH","zip_code":"43215","country":"US"},"ssn":"321654987","account_number":"4433221100","routing_number":"121000248","collectable_amount":26000,"days_past_due":34,"charge_instrument":{"token":"pm_1QbK2xXyz","token_type":"bank_account","last4":"1100","customer_ref":"cus_1QbK2x"}},{"authorizer_unique_id":"9i0j1k2l","first_name":"Andre","last_name":"Boateng","phone_number":"5552223333","date_of_birth":{"day":30,"month":6,"year":1991},"address":{"street_address_line1":"500 Pine Rd","city":"Austin","state":"TX","zip_code":"78701","country":"US"},"ssn":"456789123","account_number":"5544332211","routing_number":"111000025","collectable_amount":7500,"days_past_due":9,"charge_instrument":{"card":{"debit_card_number":"4111111111111111","expiration_month":4,"expiration_year":2030}}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"35d8ccfd-366e-40aa-96c7-d5e6a9027feb":{"description":"Batch processed. Every borrower in the request has an entry in `results`;\ninspect each `outcome` rather than relying on the status code.\n","content":{"application/json":{"schema":{"type":"object","description":"Counts plus one result per borrower, in the order you sent them.","properties":{"enrolled":{"type":"integer","description":"Borrowers now stored, with monitoring newly started.","uniqueKey":"enrolled","typeLabel":"integer"},"updated":{"type":"integer","description":"Borrowers who were already being monitored. Their details were refreshed\nand the amount in this request applied to their existing monitor.\n","uniqueKey":"updated","typeLabel":"integer"},"already_enrolled":{"type":"integer","description":"Always `0`. Kept so the response shape stays stable for integrations\nparsing it; a re-sent borrower is reported under `updated` instead.\n","uniqueKey":"already_enrolled","typeLabel":"integer"},"held":{"type":"integer","description":"Borrowers stored but not monitored.","uniqueKey":"held","typeLabel":"integer"},"failed":{"type":"integer","description":"Borrowers whose details from this request were not stored.","uniqueKey":"failed","typeLabel":"integer"},"results":{"type":"array","items":{"type":"object","description":"The outcome for a single borrower.","properties":{"authorizer_unique_id":{"type":"string","description":"The identifier you sent for this borrower.","uniqueKey":"results.items.[INDEX].authorizer_unique_id","typeLabel":"string"},"outcome":{"type":"string","enum":["enrolled","updated","already_enrolled","held","failed"],"description":"`enrolled` — stored, and monitoring started.\n\n`updated` — monitoring was already running. The borrower's details were\nrefreshed and the amount in this request applied to that monitor. An\nunchanged re-send is reported this way too.\n\n`already_enrolled` — no longer returned. Retained in the enum so that\nintegrations parsing the old shape keep working.\n\n`held` — the borrower's details were stored, but monitoring did not\nstart or has stopped. See `reason`.\n\nWith `obligations`, the borrower is `enrolled` if any obligation started\nbeing collected, otherwise `updated` if any was applied, otherwise\n`held`. Each obligation's own outcome is in `obligations`.\n\n`failed` — the details in this request were not stored. See `reason`.\n","uniqueKey":"results.items.[INDEX].outcome","typeLabel":"enum\u003cstring>"},"reason":{"oneOf":[{"type":"string","enum":[null,"institution_not_supported","unresolvable_routing_number","amount_below_minimum","authorization_revoked","bank_account_invalid","retry_limit_reached","balance_unreadable","duplicate_in_request","tokenization_failed","card_tokenization_failed","chunk_failed","monitor_open_failed","card_rail_disabled","no_connection_for_rail","card_instrument_missing"],"description":"Why, for `held` and `failed` outcomes. `null` otherwise.\n\n`institution_not_supported` — Rightfoot does not currently support this\nbank. Your data is fine; no action available.\n\n`unresolvable_routing_number` — the routing number did not match a known\nbank. Check it.\n\n`amount_below_minimum` — the amount is below the minimum payment. Send\nit again at or above the minimum.\n\n`authorization_revoked` — a payment on this borrower came back as\nunauthorized. Monitoring stays stopped until authorization is\nre-established and monitoring is deliberately resumed.\n\n`bank_account_invalid` — a payment on this bank account came back as\nclosed or invalid. Send the borrower with a different bank account.\n\n`retry_limit_reached` — payments for this borrower or obligation have\nalready been returned the maximum number of times.\n\n`balance_unreadable` — the balance could not be retrieved on repeated\nattempts. Monitoring stays stopped until it is deliberately resumed.\n\n`duplicate_in_request` — this identifier appeared more than once in the\nrequest. Every copy is rejected rather than guessing which you meant.\n\n`tokenization_failed` — the borrower's details were rejected. See\n`message` for the specific problem, correct it, and send again.\n\n`card_tokenization_failed` — the card details were rejected. See `message`.\n\n`chunk_failed` — a temporary failure affecting part of the batch. Send\nthese borrowers again.\n\n`monitor_open_failed` — the borrower was stored but monitoring did not\nstart. Send them again.\n\n`card_rail_disabled` — `charge_order` names `card`, and debit-card\ncollection is not yet enabled for your account. Send the borrower\nwithout `card` in `charge_order`.\n\n`no_connection_for_rail` — `charge_order` names `card`, and none of\nyour processor keys can charge a debit card.\n\n`card_instrument_missing` — `charge_order` names `card`, and\n`charge_instrument` carries no debit-card token (`token_type: card`).\n","uniqueKey":"results.items.[INDEX].reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":[null,"institution_not_supported","unresolvable_routing_number","amount_below_minimum","authorization_revoked","bank_account_invalid","retry_limit_reached","balance_unreadable","duplicate_in_request","tokenization_failed","card_tokenization_failed","chunk_failed","monitor_open_failed","card_rail_disabled","no_connection_for_rail","card_instrument_missing"],"description":"Why, for `held` and `failed` outcomes. `null` otherwise.\n\n`institution_not_supported` — Rightfoot does not currently support this\nbank. Your data is fine; no action available.\n\n`unresolvable_routing_number` — the routing number did not match a known\nbank. Check it.\n\n`amount_below_minimum` — the amount is below the minimum payment. Send\nit again at or above the minimum.\n\n`authorization_revoked` — a payment on this borrower came back as\nunauthorized. Monitoring stays stopped until authorization is\nre-established and monitoring is deliberately resumed.\n\n`bank_account_invalid` — a payment on this bank account came back as\nclosed or invalid. Send the borrower with a different bank account.\n\n`retry_limit_reached` — payments for this borrower or obligation have\nalready been returned the maximum number of times.\n\n`balance_unreadable` — the balance could not be retrieved on repeated\nattempts. Monitoring stays stopped until it is deliberately resumed.\n\n`duplicate_in_request` — this identifier appeared more than once in the\nrequest. Every copy is rejected rather than guessing which you meant.\n\n`tokenization_failed` — the borrower's details were rejected. See\n`message` for the specific problem, correct it, and send again.\n\n`card_tokenization_failed` — the card details were rejected. See `message`.\n\n`chunk_failed` — a temporary failure affecting part of the batch. Send\nthese borrowers again.\n\n`monitor_open_failed` — the borrower was stored but monitoring did not\nstart. Send them again.\n\n`card_rail_disabled` — `charge_order` names `card`, and debit-card\ncollection is not yet enabled for your account. Send the borrower\nwithout `card` in `charge_order`.\n\n`no_connection_for_rail` — `charge_order` names `card`, and none of\nyour processor keys can charge a debit card.\n\n`card_instrument_missing` — `charge_order` names `card`, and\n`charge_instrument` carries no debit-card token (`token_type: card`).\n","uniqueKey":"results.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].reason","typeLabel":"enum\u003cstring> | null"},"message":{"oneOf":[{"type":"string","description":"A human-readable explanation, when one is available.","uniqueKey":"results.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","description":"A human-readable explanation, when one is available.","uniqueKey":"results.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].message","typeLabel":"string | null"},"obligations":{"oneOf":[{"type":"array","description":"Present when the request sent `obligations` for this borrower: one entry\nper obligation, in the order you sent them. Null for a borrower sent\nwith `collectable_amount`.\n","items":{"type":"object","description":"The outcome for one obligation of a borrower.","properties":{"id":{"type":"string","description":"The obligation `id` you sent.","uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].id","typeLabel":"string"},"outcome":{"type":"string","enum":["enrolled","updated","held"],"description":"`enrolled` — collection of this obligation started.\n\n`updated` — it was already being collected; the amount sent applies\nfrom the next payment on.\n\n`held` — not collected. See `reason`.\n","uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].outcome","typeLabel":"enum\u003cstring>"},"reason":{"oneOf":[{"type":"string","description":"Why, for `held`. Uses the same held reasons as a borrower.","uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why, for `held`. Uses the same held reasons as a borrower.","uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].reason","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","description":"A human-readable explanation, when one is available.","uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","description":"A human-readable explanation, when one is available.","uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX].message","typeLabel":"string | null"}},"uniqueKey":"results.items.[INDEX].obligations.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results.items.[INDEX].obligations.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Present when the request sent `obligations` for this borrower: one entry\nper obligation, in the order you sent them. Null for a borrower sent\nwith `collectable_amount`.\n","items":{"type":"object","description":"The outcome for one obligation of a borrower.","properties":{"id":{"type":"string","description":"The obligation `id` you sent."},"outcome":{"type":"string","enum":["enrolled","updated","held"],"description":"`enrolled` — collection of this obligation started.\n\n`updated` — it was already being collected; the amount sent applies\nfrom the next payment on.\n\n`held` — not collected. See `reason`.\n"},"reason":{"oneOf":[{"type":"string","description":"Why, for `held`. Uses the same held reasons as a borrower."},{"type":"null","description":"Why, for `held`. Uses the same held reasons as a borrower."}]},"message":{"oneOf":[{"type":"string","description":"A human-readable explanation, when one is available."},{"type":"null","description":"A human-readable explanation, when one is available."}]}}},"uniqueKey":"results.items.[INDEX].obligations.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].obligations","typeLabel":"object[] | null"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"enrolled":4,"updated":1,"already_enrolled":0,"held":0,"failed":0,"results":[{"authorizer_unique_id":"1a2b3c4d","outcome":"enrolled","reason":null,"message":null},{"authorizer_unique_id":"3c4d5e6f","outcome":"enrolled","reason":null,"message":null,"obligations":[{"id":"loan-123:inst-2","outcome":"enrolled","reason":null,"message":null},{"id":"loan-123:inst-3","outcome":"enrolled","reason":null,"message":null}]},{"authorizer_unique_id":"5e6f7g8h","outcome":"updated","reason":null,"message":null},{"authorizer_unique_id":"7g8h9i0j","outcome":"enrolled","reason":null,"message":null},{"authorizer_unique_id":"9i0j1k2l","outcome":"enrolled","reason":null,"message":null}]},"examples":{"Example":{"title":"Example","value":{"enrolled":4,"updated":1,"already_enrolled":0,"held":0,"failed":0,"results":[{"authorizer_unique_id":"1a2b3c4d","outcome":"enrolled","reason":null,"message":null},{"authorizer_unique_id":"3c4d5e6f","outcome":"enrolled","reason":null,"message":null,"obligations":[{"id":"loan-123:inst-2","outcome":"enrolled","reason":null,"message":null},{"id":"loan-123:inst-3","outcome":"enrolled","reason":null,"message":null}]},{"authorizer_unique_id":"5e6f7g8h","outcome":"updated","reason":null,"message":null},{"authorizer_unique_id":"7g8h9i0j","outcome":"enrolled","reason":null,"message":null},{"authorizer_unique_id":"9i0j1k2l","outcome":"enrolled","reason":null,"message":null}]}}},"exampleType":"examples"}},"exampleType":"examples"},"11b9aae5-af0d-40ae-8a08-ebaed8a66ac2":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Status of the error, either \"error\" or \"success\"","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","description":"HTTP status code of the error","uniqueKey":"status_code","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code (e.g., \"RESOURCE_NOT_FOUND\")","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"string","description":"Additional details about the error","uniqueKey":"error.details","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"Time the error occurred","uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"suggestion":{"type":"string","description":"Suggested action to resolve the error","uniqueKey":"error.suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"documentation_url":{"type":"string","format":"uri","description":"URL to the documentation for the error","uniqueKey":"documentation_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","status_code":400,"error":{"code":"BAD_REQUEST","message":"borrowers must contain between 1 and 1000 entries.","timestamp":"2024-12-12T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"status":"error","status_code":400,"error":{"code":"BAD_REQUEST","message":"borrowers must contain between 1 and 1000 entries.","timestamp":"2024-12-12T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"10668f53-ac59-42fa-9225-00920f904f2e":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Status of the error, either \"error\" or \"success\"","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","description":"HTTP status code of the error","uniqueKey":"status_code","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code (e.g., \"RESOURCE_NOT_FOUND\")","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"string","description":"Additional details about the error","uniqueKey":"error.details","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"Time the error occurred","uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"suggestion":{"type":"string","description":"Suggested action to resolve the error","uniqueKey":"error.suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"documentation_url":{"type":"string","format":"uri","description":"URL to the documentation for the error","uniqueKey":"documentation_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","status_code":401,"error":{"code":"UNAUTHORIZED","message":"Invalid or missing API key.","timestamp":"2024-12-12T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"status":"error","status_code":401,"error":{"code":"UNAUTHORIZED","message":"Invalid or missing API key.","timestamp":"2024-12-12T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"89d4ef4c-913b-46ad-ab0a-2051b8fa4ca4":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Authentication to the API is performed via Bearer Token Authentication. Provide your API key as the bearer token in the Authorization header.\n\nAll API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.\n","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"e110f0d9-5e6d-4c18-ac39-bc4f21761885":{"url":"https://api.rightfoot.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authentication to the API is performed via Bearer Token Authentication. Provide your API key as the bearer token in the Authorization header.\n\nAll API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.\n","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authentication to the API is performed via Bearer Token Authentication. Provide your API key as the bearer token in the Authorization header.\n\nAll API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"rightfoot","siteName":"Rightfoot API","title":"Rightfoot API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T22:09:01.954Z","originalFileLocation":"api-reference/payments/create-payment-enrollments.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Enroll borrowers and update them by re-sending — one route for your whole file\">\u003cmeta data-mint-head name=\"keywords\" content=\"payment processing, API documentation, balance checks, financial authorization, payment monitoring, fintech API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rightfoot API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Rightfoot API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Comprehensive API documentation for Rightfoot\u0026#x27;s financial data platform. Learn how to integrate balance checks, payment monitoring, and financial authorization services.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rightfoot API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rightfoot.mintlify.site/logo/light.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Rightfoot API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Complete API guide for Rightfoot\u0026#x27;s financial data platform\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rightfoot.mintlify.site/logo/light.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rightfoot/y-l9OzOjhzVHp6qr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rightfoot API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#624de3\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"Rightfoot\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#624de3\">\u003cmeta data-mint-head name=\"twitter:image:alt\" content=\"Rightfoot API Documentation\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-capable\" content=\"yes\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rightfoot API Documentation\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payments/create-payment-enrollments.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rightfoot.com/#organization\",\"name\":\"Rightfoot API\",\"url\":\"https://docs.rightfoot.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rightfoot/QL9tiGrpINkF23RL/logo/light.png?fit=max\u0026auto=format\u0026n=QL9tiGrpINkF23RL\u0026q=85\u0026s=c388746a1cf261f1be0f1f3acb483670\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rightfoot.com#website\",\"name\":\"Rightfoot API\",\"url\":\"https://docs.rightfoot.com\",\"publisher\":{\"@id\":\"https://docs.rightfoot.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments#webpage\",\"url\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments\",\"name\":\"Enroll and Update Borrowers\",\"description\":\"Enroll borrowers and update them by re-sending — one route for your whole file\",\"dateModified\":\"2026-11-13T22:09:01.954Z\",\"isPartOf\":{\"@id\":\"https://docs.rightfoot.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rightfoot API\",\"item\":\"https://docs.rightfoot.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enroll and Update Borrowers\",\"item\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments#apireference\",\"headline\":\"Enroll and Update Borrowers\",\"name\":\"Enroll and Update Borrowers\",\"description\":\"Enroll borrowers and update them by re-sending — one route for your whole file\",\"url\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rightfoot.com/api-reference/payments/create-payment-enrollments#webpage\"},\"image\":\"https://docs.rightfoot.com/logo/light.png\",\"dateModified\":\"2026-11-13T22:09:01.954Z\",\"publisher\":{\"@id\":\"https://docs.rightfoot.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rightfoot.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rightfoot API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rightfoot API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/payments/create-payment-enrollments.md","siteName":"Rightfoot API","nav":{"global":{},"tabs":[{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"On Demand Balance Checks","pages":[{"title":"Submit Balance Check","openapi":"POST /v1/balance_requests","href":"/api-reference/stable/submit-balance-request"},{"title":"Submit Balance Check (CSV)","openapi":"POST /v1/balance_requests/csv","href":"/api-reference/stable/submit-batch-csv"},{"title":"Retrieve Balance Results","openapi":"GET /v1/balances","href":"/api-reference/stable/get-balances"},{"title":"Retrieve Balance Results (CSV)","openapi":"GET /v1/balances/csv","href":"/api-reference/stable/get-balances-csv"}]},{"group":"Monitoring","pages":[{"title":"Create Monitoring Schedule","openapi":"POST /v1/monitoring/scheduled_balance_request","href":"/api-reference/monitoring/create-scheduled-balance-request"},{"title":"Retrieve Schedule Details","openapi":"GET /v1/monitoring/schedules/{id}","href":"/api-reference/monitoring/get-schedule"},{"title":"Update Schedule","openapi":"PATCH /v1/monitoring/schedules/{id}","href":"/api-reference/monitoring/update-schedule"},{"title":"Retrieve Authorizer Balance History","openapi":"GET /v1/monitoring/authorizers/{id}/history","href":"/api-reference/monitoring/get-authorizer-history"},{"title":"Remove Schedule Authorizers","openapi":"PATCH /v1/monitoring/schedules/{id}/authorizers","description":"Remove authorizers from a scheduled balance request","href":"/api-reference/monitoring/remove-schedule-authorizers"}]},{"group":"Payments","pages":[{"title":"Enroll and Update Borrowers","openapi":"POST /v1/payment_enrollments","href":"/api-reference/payments/create-payment-enrollments"},{"title":"Remove Borrowers from Monitoring","openapi":"DELETE /v1/payment_enrollments","description":"Stop monitoring a batch of borrowers without deleting anything about them","href":"/api-reference/payments/delete-payment-enrollments"},{"title":"Get a Borrower's Charge Order","openapi":"GET /v1/payment_enrollments/{authorizer_unique_id}/charge_settings","href":"/api-reference/payments/get-charge-settings"},{"title":"Change a Borrower's Charge Order","openapi":"PATCH /v1/payment_enrollments/{authorizer_unique_id}/charge_settings","href":"/api-reference/payments/update-charge-settings"},{"title":"Get Your Collection Policy","openapi":"GET /v1/payment_policy","href":"/api-reference/payments/get-payment-policy"},{"title":"Set Your Collection Policy","openapi":"PUT /v1/payment_policy","href":"/api-reference/payments/update-payment-policy"},{"title":"Reset Your Collection Policy","openapi":"DELETE /v1/payment_policy","href":"/api-reference/payments/delete-payment-policy"},{"title":"Retrieve Payment Results","openapi":"GET /v1/payment_events","href":"/api-reference/payments/get-payment-events"},{"title":"Report Payment Results (CSV)","openapi":"POST /v1/payment_results/uploads","href":"/api-reference/payments/upload-payment-results"},{"title":"Processor Keys in the Portal","href":"/api-reference/payments/processor-keys-portal"},{"title":"Add a Processor Key","openapi":"POST /v1/payment_connections","href":"/api-reference/payments/create-payment-connection"},{"title":"List Processor Keys","openapi":"GET /v1/payment_connections","href":"/api-reference/payments/list-payment-connections"},{"title":"Update a Processor Key","openapi":"PATCH /v1/payment_connections/{id}","href":"/api-reference/payments/update-payment-connection"},{"title":"Delete a Processor Key","openapi":"DELETE /v1/payment_connections/{id}","href":"/api-reference/payments/delete-payment-connection"}]},{"group":"Webhooks","pages":[{"title":"IP Allowlisting","href":"/api-reference/webhooks/ip-allowlist"},{"title":"Balance Check Run Completed","openapi":"WEBHOOK balance_check.run.completed","href":"/api-reference/webhooks/balance-batch-completed"},{"title":"Balance Threshold Alert","openapi":"WEBHOOK balance_threshold_alert","href":"/api-reference/webhooks/balance-threshold-alert"},{"title":"Payment Notifications","openapi":"WEBHOOK payment_notifications.batch","href":"/api-reference/webhooks/payment-notifications"}]}]}]},"basePath":"","title":"Rightfoot API Documentation","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","SectionHeading-Cg4lfWZw.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}