Ecommerce provider sends a transaction request.

Use this endpoint to create a payment request. The service returns a unique url to be used for redirection. Status updates are posted to webHookUrl, see the PaymentUpdate webhook.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

E-commerce Transaction Request

number
required
string | null
string
required
string | null

Customer's legal given name, used to pre-fill the identity step

string | null

Customer's legal family name, used to pre-fill the identity step

string | null

Customer's date of birth as ISO yyyy-MM-dd. Rejected with 400 if it is not a valid date

string | null

Customer's residential street address. Note this is the address for the identity check, not necessarily the shipping address

string | null

Customer's suburb / town

string | null

Customer's state / territory

string | null

Customer's postcode

string | null

Customer's country of residence as an ISO 3166-1 alpha-2 code. Absent means AU. Outside Australia the identity document must be a PASSPORT, and the customer photographs it at our checkout instead of a database check. Rejected with 400 if it is not a known country code

string | null
enum

Identity document the customer's identity check is run against: PASSPORT or DRIVERS (DRIVERS only for a customer in Australia, i.e. customerCountry absent or AU). Must be sent together with customerDocumentNumber

Allowed:
string | null

Number of that document, 4-15 letters and digits. Never returned by any endpoint

string | null

State or territory that issued the driver's licence. Required for DRIVERS, ignored for PASSPORT

string | null
enum

Whether your store has already verified the customer's email address. GUEST_SHOPPER (default): RelayPay emails the customer a one-time code at the checkout and the payment continues only after they enter it. REGISTERED_SHOPPER: the customer is logged in to your store with a verified email (customerEmail), so the code step is skipped. Any other value is rejected with 400

Allowed:
string
required
string
required
string
required
string

Where to redirect once the payment is pending or cancelled. If this value is provided it'll override the general settings.

string | null

Where to redirect once the payment is cancelled. If this value is not provided callbackUrlRedirect will be used

string | null

Where to post updates about a payment. These will be posted with every payment change. This callback is guaranteed to happen before we redirect the user back. If this value is provided it'll override the general settings. If not provide at all - webhook will not send

string | null

This token will be sent back with the callback in Authorization header. (Authorization: [type] [credentials] (e.x Basic Rjc1234567890jdGMS67890U78...)) When creating the token, both 'type' and 'credentials' are required.

Headers
string
required
string
required
string
required
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*