REDA One Help Center
EN
Language
English EN Español ES Português PT Italiano coming soon Français FR Deutsch coming soon العربية coming soon
reda.one ↗
Home / REDA Pay / Taking Payments / URL parameters reference

URL parameters reference

The payment entry (NewPayOrder) and the save-a-method entry (NewPayMethod) read instructions from the address they are opened with. That is how a Pay button fixes the amount of an application fee, how a vendor's bank-details link knows which Account it belongs to, and how a portal page can pre-select a profile. A value in the address wins over the same setting on the component — see Component settings reference.

Before you start — parameters are added after ? and separated with &. Values with spaces or punctuation must be URL-encoded (a space becomes %20). Record Ids are the 15- or 18-character Salesforce Ids.

The internal payment address is /lightning/cmp/rpay__NewPayOrder; on a site it is the page that holds the entry component, for example https://yourcompany.my.site.com/portal/s/new-pay-order. The same address and the same parameters serve a Pay Profile on Payload API v2: the v2 components read every parameter listed here, and inside Salesforce the classic address opens the v2 screen by itself when the profile is on v2.

Parameters for the payment entry (NewPayOrder)

Who and where

ParameterValueMeaning
rpay__ridRecord IdThe parent record — an Account, Contact or Lead. On a record page the PayButton adds it for you. Required unless the page is a portal page that resolves the logged-in user, or rpay__oid is present
rpay__custidPay Customer IdUse this Pay Customer instead of looking one up from the parent record
rpay__ppidPay Profile IdUse this profile without asking
rpay__pidProcessing Account IdUse this account without asking
rpay__pfidProcessing Account IdRoute the convenience fee to this account
rpay__lid, rpay__cid, rpay__aid, rpay__oppidLead, Contact, Account, Opportunity IdLink the order to these records in addition to the parent record
rpay__oidEncrypted order IdOpens an existing payment link. REDA Pay builds this into every Link URL; never construct it yourself

What kind of payment

ParameterValueMeaning
rpay__ttypercpt or disbFix the direction: receipt or disbursement
rpay__otypeimm, schd or lnkFix the order type: pay now, schedule, or payment link
rpay__card1 or 0Allow or hide cards
rpay__bank1 or 0Allow or hide bank accounts
rpay__noimm1Hide the Pay button
rpay__nosch1Hide the Schedule button
rpay__nolnk1Hide the Create Link button
rpay__noemd1Hide the Earnest Money Deposit switch

Amount, fees and notes

ParameterValueMeaning
rpay__amountA number, e.g. 250 or 1250.50Pre-fill the amount. A value that is not a number is ignored
rpay__fixamt1The amount cannot be changed (shown as text). Use with rpay__amount
rpay__nofee1No convenience fee on this order
rpay__cfeeA numberReplace the calculated convenience fee with this amount
rpay__cnotesTextCustomer Notes, shown to the payer and stored on the order
rpay__att1 … rpay__att4TextAttribute 1–4 on the order, for your own automation and reports
rpay__geoskip1Do not ask the browser for location

Parameters for the save-a-method entry (NewPayMethod)

ParameterValueMeaning
rpay__ridRecord IdThe parent record (Account, Contact or Lead). Required together with, or instead of, rpay__custid
rpay__custidPay Customer IdThe customer the method belongs to
rpay__ppidPay Profile IdUse this profile without asking
rpay__ttypercpt or disbWhat the method may be used for
rpay__default1 or 0Make the saved method the customer's default
rpay__card, rpay__bank1 or 0Allow or hide each type
rpay__currUSD or CADPre-fill the bank account currency
rpay__cnotesTextA note shown on the screen
rpay__lid, rpay__cid, rpay__aidIdsLink the method to these records

Worked examples

GoalAddress
Application-fee button on a Lead: $75, cannot be changed, card or bank, pay now only/lightning/cmp/rpay__NewPayOrder?rpay__amount=75&rpay__fixamt=1&rpay__ttype=rcpt&rpay__nosch=1&rpay__nolnk=1&rpay__cnotes=Application%20fee (the PayButton adds rpay__rid)
Payout button on an Account, fixed to one account/lightning/cmp/rpay__NewPayOrder?rpay__ttype=disb&rpay__ppid=a00…&rpay__pid=a01…
Link to create a payment link only, no fee, bank only/lightning/cmp/rpay__NewPayOrder?rpay__rid=003…&rpay__otype=lnk&rpay__nofee=1&rpay__card=0
Vendor bank-details link on your public sitehttps://yourcompany.my.site.com/public/s/process-method-link?rpay__rid=001…&rpay__ttype=disb&rpay__default=1&rpay__card=0
Portal page that pre-selects a profile for every residentPut rpay__ppid=a00… in the address the portal navigation uses, or set Limit Profile Selection on the component

A custom button formula on Lead reads, for example:

/lightning/cmp/rpay__NewPayOrder?rpay__rid={!Lead.Id}&rpay__amount=75&rpay__fixamt=1&rpay__ttype=rcpt

Rules of precedence

  1. A URL value overrides the component setting for the same option.
  2. Neither can offer more than the Processing Account and the Pay Customer allow; they only remove options.
  3. A profile or account passed by Id must be active and belong together; otherwise the screen cannot use them.
  4. rpay__oid (a payment link) takes over: the order's own amount, fee choice and method restrictions apply and only Pay is available.

Mistakes to avoid

MistakeWhat happensFix
Forgetting rpay__rid on a method link"Bad Request. Parent record not found."Add the Account, Contact or Lead Id
rpay__amount=100e or $100The amount is ignored and left editableDigits and a decimal point only
rpay__fixamt=1 without an amountNothing to fix; the payer types the amountAdd rpay__amount
Passing a Pay Profile Code in rpay__ppidNot foundrpay__ppid takes the record Id; codes go in the component's Limit Profile Selection

Where to go next