Add a Processor Key
Register a processor API key and choose which borrowers and payment types it takes
Add a Processor Key
Rightfoot collects payments through your own merchant accounts at a supported payment processor. Register the API key of each account you hold, and tell Rightfoot which borrowers and which payment types it should be used for. Paste the key once. Rightfoot stores it in a vault the moment the request is accepted; from then on every response shows only its last four characters, and the key itself is never returned. If the person holding the keys would rather not call the API, the same flow is in the portal — see Processor Keys in the Portal.Supported processors
Rightfoot works with the processor you already hold merchant accounts at. Register keys from any processor in this list; every endpoint on these pages behaves the same regardless of which one issued the key.Default keys and tagged keys
Which key a payment goes through is decided by two things you set when you add it.Default key
merchant_ref. Set is_default: true. You can hold one default per payment type — ACH, debit card, or a single key that covers both.Tagged key
merchant_ref to a short slug such as acme-nv, and send the same value as merchant_ref when you enroll those borrowers.is_default: true and a merchant_ref is rejected. A key with neither is stored but not used for anything until you promote it.
merchant_ref is fixed once saved. The key behind a tag is not — replace it any time and the tag stays.One default per payment type
rail_scope says which payment types a key can take: ach, card (debit card), or both. It is required and has no default, because a key used for a payment type its merchant account was not set up for fails at the processor rather than here.
You can hold one default key per rail_scope. When a payment type is covered by both a both default and a type-specific default, the type-specific one wins — a dedicated ACH key takes the ACH payments, and the both key keeps covering debit card.
Run the ACH yourself
If you run the ACH through your own setup, register a webhook in place of a processor key. Rightfoot then sends you a daily batch of the borrowers to debit, and you report the outcomes. Setprocessor to webhook and send your endpoint’s URL in credentials. Register it as your default ACH key:
https. The response carries a signing_secret, which Rightfoot generates for you and uses to sign every batch:
key_last4 is the last four characters of the URL, and last_poll_at is when you last uploaded results.
When a request is rejected
Conflicts are checked before the key is stored, so a rejected request leaves nothing behind. Send it again once corrected.error.message in the response says which — for example A default key for ACH already exists or Tag 'acme-nv' already has an ACH key.Authorizations
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
Send api_key for a processor key, or credentials for a webhook. Exactly
one of the two.
The payment types this key can take: ach, card (debit card), or
both when one merchant account covers both. Required — there
is no default, because a key used for a payment type its merchant
account was not set up for fails at the processor rather than here.
ach, card, both payliance for a Payliance API key. webhook if you run the ACH
yourself and want Rightfoot to send you a daily
Payment Notifications
batch; register it as your default ACH key.
payliance, webhook A tag that enrollments name to settle to this key: send the same value
as merchant_ref on POST /v1/payment_enrollments. Lowercase letters,
digits, - and _; 1–128 characters; must start and end with a letter
or digit. Fixed once saved. One tag can hold one key per rail_scope,
so an ACH key and a debit-card key may share a tag.
^[a-z0-9](?:[a-z0-9_-]{0,126}[a-z0-9])?$Response
The key was stored.
The key as added or updated. For a webhook whose credentials were just set,
it also carries the signing_secret.
