Skip to main content

Get a session

A session can be fetched server side using the user’s rewardsAccessToken, customerId and deviceId.
This will return the session for the user

Create a transaction

Next, a transaction can be created using the same identifiers.
Please note that the intent needs to be capture and that a buyer needs to be present with both a billing address and a shipping address.For the addresses, the line1, city, country, postal_code and state fields need to be set.
This will return a response with an approval URL.
The user can then be redirected to this URL to complete the payment. After completion, the status of the transaction will be either capture_succeeded or authorization_failed/authorization_declined.

Embed integration

Everyday Pay can be added to Embed using the same connection options.
Please note that Embed is not able to collect all the required billing and shipping address fields. We recommend creating a buyer with the required fields before loading Embed.For the addresses, the line1, city, country, postal_code and state fields need to be set.