Create a Pay Profile and store your Payload API key
A Pay Profile is the record that connects Salesforce to one Payload account. It holds the Payload API key (encrypted), remembers which Payload organisation it belongs to, decides which version of Payload's interface it uses, and carries the settings that apply to every payment made through that account. Most orgs need exactly one. You need a second only if you run more than one Payload account — for example, one per legal entity or brand.
This article creates the profile, stores the API key and chooses the API version. The next article, Sync processing accounts and activate the profile, pulls in your merchant accounts and switches the profile on.
- The encryption key is generated — see Generate the encryption key.
- You hold REDA Pay - Admin User.
- You can sign in to your Payload dashboard to copy an API key. REDA Pay needs an API key for the Payload environment you intend to use: a test key while you test, and the live key when you go live. The screens are identical; only the key differs.
Step 1 — Create the Pay Profile
- Open the REDA Pay app from the App Launcher and click the Pay Profiles tab.
- Click New.
- Fill in the fields:
| Field | What to enter |
|---|---|
| Profile Name | A name your team will recognise, for example Meridian Properties |
| Pay Profile Code | A short, unique code without spaces, up to 20 characters, for example MERIDIAN. You will use it later to tell a payment screen which profile to offer — see Component settings reference |
| Provider | Payload (the only choice) |
| Payload API Version | v2 for a new installation. Leave it blank, or choose v1, only if you must keep the classic screens — for example for earnest money deposits. The choice is explained in Choose the Payload API version and can be changed later. If the field is not on your page, see Upgrading REDA Pay |
| Is Active | Leave unticked for now. Ticking it before the profile has an API token and a Profile Id is refused with "Please provide API Key and Profile Id prior activating the profile." The Profile Id arrives in the next article |
| Description | Optional, internal — for example which Payload account and environment this is |
- Click Save.
A Pay Profile after setup. On a new profile the API Setup section stays empty until you store the key in step 2 and sync in the next article.
The same record on v2: the version field, the signing-secret field and the Update Webhook Secret action.
Step 2 — Store the Payload API key
The API key is never typed into the API Token field. The field only holds an encrypted copy, and the Update API Token button is what encrypts it.
- In your Payload dashboard, create or copy an API key for the environment you want (test or live). The same key serves v1 and v2.
- On the Pay Profile, click Update API Token. A dialog titled Update Profile Token opens.
- Paste the key into the Profile API Token box. The Update Token button appears once the box has a value; click it.
- The message "API Token updated successfully." appears and the dialog closes. The API Token field on the record now shows a long encrypted string — that is expected, and you will never need to read it.
The Update Profile Token dialog. Paste the key here and press Update Token; REDA Pay encrypts it before saving.
To replace the key later — for example when you move from Payload's test environment to live, or after rotating a key — press Update API Token again and paste the new key. Then run Sync Processing Accounts and Setup Webhooks again, because both depend on the key.
Step 3 — Fill in the profile settings
These fields sit on the Pay Profile and apply to every processing account under it. Set them now or come back later.
| Field | What it does | Recommended |
|---|---|---|
| Webhook API Base URL | The public Salesforce site address Payload calls to report payment status changes. Needed before you can register webhooks | Fill it in when you reach Set up webhooks |
| Webhook Signing Secret (v2) | The secret Payload signs its v2 messages with. Set only through the Update Webhook Secret action, never by typing into the field; blank means messages are accepted without a signature check | Set it in Set up webhooks, Part 5 |
| Default Processing Account | The account REDA Pay pre-selects on new orders, so staff are not asked to choose one. Must belong to this profile | Set it after the next article, once accounts exist |
| Guest Session Duration (Minutes) | How long a "save a payment method" link stays usable once opened by someone who is not logged in. 15 minutes when blank | Leave blank unless vendors need longer to fill in their bank details |
| EMD Setup Id | The identifier Payload gives you when earnest money deposits are enabled on your account. Required before any EMD payment; EMD needs a v1 profile | Fill in only if you take earnest money deposits — see Take earnest money deposits |
| Interface Label | A customer-facing name for the profile, used on screens where the payer must choose between profiles. Falls back to the Profile Name | Set it if your Profile Name is internal jargon |
| Interface Label Description | A customer-facing description shown with the label | Optional |
| Payment Appearance (v2) | Colours and font for the v2 payment screens, as a short text in braces, for example {"brandColor":"#006B63"}. Blank: the screens follow your Salesforce or site theme | Optional — see Brand the payment screen |
Three more fields are filled by REDA Pay and should not be edited: Profile Id (the encrypted Payload organisation identifier, set by Sync Processing Accounts), Last Sync Datetime [Payload] and Webhook Setup Datetime [Payload].
When you need more than one Pay Profile
Create one Pay Profile per Payload account. Each has its own API key, its own processing accounts, its own webhooks and its own Pay Customers. A payment screen can be limited to one profile by its code, so a leasing team's page can use one profile and an owner-services page another. Two profiles can point at the same Payload account — one on v1 and one on v2, for example, while you test v2 — but on v1 only the profile that last ran Setup Webhooks receives Payload's messages for that key.
If several profiles are active and a payment screen is not limited to one, staff are asked to choose a profile each time they take a payment, under the heading "Select Pay Profile".
Mistakes to avoid
| Mistake | What happens | Fix |
|---|---|---|
| Typing the key into the API Token field with Edit | The value is stored unencrypted and REDA Pay cannot use it; every call to Payload fails | Use Update API Token |
| Ticking Is Active on a new profile | "Please provide API Key and Profile Id prior activating the profile." | Store the key, sync the processing accounts, then activate |
| Using a live key while testing | Test payments charge real cards and bank accounts | Use Payload's test environment key until you go live, then replace it |
| A Pay Profile Code with spaces or one already used | The save is refused — codes are unique | Choose a short code without spaces |
| Changing the key but not re-syncing | Processing accounts and webhooks still refer to the old key | After Update API Token, run Sync Processing Accounts and Setup Webhooks |
| Choosing v2 while the portal or public site still holds the classic components | Customers see "This page needs a Pay Profile on Payload API v2." | Place the v2 components first — Choose the Payload API version |
FAQ
In the Payload dashboard, under the API or developer settings for your account. Payload issues separate keys for its test and live environments. If you are unsure which key you have, ask your Payload contact; REDA Pay cannot tell the difference until a payment is attempted.
No. The field shows only the encrypted value. Keep the key somewhere safe outside Salesforce if you may need it again.
Yes. A Pay Profile is an org-wide connection, not a per-user setting. Access to it is controlled by the REDA Pay permission sets — see Who can do what.
Payload's identifier for your organisation. REDA Pay fills it in, encrypted, when you run Sync Processing Accounts. You never enter it by hand.
No. The same key serves both versions; REDA Pay adds the version to each request.
Where to go next
- Sync processing accounts and activate the profile — pull in your merchant accounts and switch the profile on.
- Choose the Payload API version — what v2 changes and how to switch.
- Set up webhooks — once the profile is active, let Payload report status changes to Salesforce.