Confirm Order
  • 04 Jun 2025
  • 1 Minute to read
  • Dark
    Light

Confirm Order

  • Dark
    Light

Article summary

Put
/v1/orders/{orderId}/confirmation

Used to confirm the order to Flex Pay, including their confirmation number.
The order is confirmed in their system and they provide us with their confirmation number. 

Security
HTTP
Type bearer
Path parameters
orderId
stringRequired

Order ID

Body parameters
object

Request confirmation.

confirmationId
string Required

Confirmation ID

Responses
204

No Content

400

Bad Request

object
codeName
string
ExampleINVALID_REQUEST_ERROR
message
string
Examplefield required
statusCode
integer
Example400
param
string
Examplebody.integrationId
401

Unauthorized

object
codeName
string
ExampleINVALID_REQUEST_ERROR
message
string
ExampleUnauthorized
statusCode
integer
Example401
403

Access Denied

object
codeName
string
ExampleINVALID_REQUEST_ERROR
message
string
ExampleAccess Denied
statusCode
integer
Example403
404

Order Not Found

object
codeName
string
ExampleINVALID_REQUEST_ERROR
message
string
ExampleOrder with ID: 123 not found
statusCode
integer
Example404
405

Method Not Allowed

object
codeName
string
ExampleINVALID_REQUEST_ERROR
message
string
ExampleMethod Not Allowed
statusCode
integer
Example405
408

Request Timeout

object
codeName
string
ExampleAPI_TIMEOUT
message
string
ExampleRequest Timeout
statusCode
integer
Example408
428

Precondition Required

object
codeName
string
ExampleORDER_NOT_COMPLETE
message
string
ExampleOrder not complete
statusCode
integer
Example428
500

Internal Server Error

object
codeName
string
ExampleAPI_ERROR
message
string
ExampleInternal Server Error
statusCode
integer
Example500

Was this article helpful?

What's Next