Get a session
A session can be fetched server side using the user’srewardsAccessToken, customerId and deviceId.
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.capture_succeeded or authorization_failed/authorization_declined.