Create intent for widget redirect
Forte Payments
Create Redirect Intent
Create a payment intent for the customer to be redirected on hosted UI and make a purchase there.
POST
Create intent for widget redirect
Authorizations
access_token returned by the /auth/v1/oauth2/tokens API call.
Body
application/json
Payment intent request payload
Request payload for BUY_VDA transaction type
Details of the customer purchasing the item. Either email or wallet or both must be present.
- Option 1
- Option 2
- Option 3
Currency of the item.
Available options:
USD, EUR Example:
"USD"
A unique value provided to ensure the operation is idempotent.
Maximum string length:
1000Example:
"idempotency-key-1"
Required array length:
1 elementTransaction type for buying Virtual Digital Assets, e.g. game currency.
Available options:
BUY_VDA Optional merchant-provided reference.
Maximum string length:
100Example:
"44cda1bb-2625-4acf-9d84-0cb78589e9a6"
Response
Create intent redirect response