Cashier

Cashier operations

Operations

Redirect to cashier

Request

Accepts form data from a browser form post and redirects to the cashier with a 303 See Other redirect. Use this endpoint to open an iframe in the browser. After the player has completed the payment or exits the cashier, they are redirected to the returnUrl.

Bodyapplication/x-www-form-urlencodedrequired
bankingPublicUrlstring, (uri)required

Public banking API URL.

returnUrlstring, (uri)required

URL to redirect to after processing.

userSessionTokenstringrequired

Bearer access token for authentication to the public banking API.

curl -i -X POST \
  https://www.rebilly.com/_mock/mgs-api-definitions/mgs-api/cashier \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode bankingPublicUrl=http://example.com \
  --data-urlencode returnUrl=http://example.com \
  --data-urlencode userSessionToken=string

Responses

Redirect to the specified returnUrl after the player has completed the payment.

Headers
Locationstring, (uri)

Location, or returnUrl, where the player is redirected after the payment is completed.

Response
No content