Gets the current order redirect payment for the order

The payment considered current is the most recently created order redirect payment for the order.

This endpoint may be polled to determine the status of the payment after the redirect payment process has completed on the client. This is required currently due to limitations in the current Web Payment Module payment process around returning payment status as part of the UI interaction requiring the client to make this extra call before leaving the payment UI.

Licenses Required

  • Vista.Ocapi
Request
path Parameters
orderId
required
string

The unique identifier of the in progress order base

header Parameters
Connect-Region-Code
string

Region Code

Responses
200

Success

404

Order does not exist, or redirect payment has not been created.

get/ocapi/v1/orders/{orderId}/payments/redirect/current
Request samples
Response samples
application/json
{
  • "id": "string",
  • "type": "CinemaProcessed",
  • "value": 0.1,
  • "status": "NotStarted"
}