Skip to main content

Overview​

This document provides detailed descriptions of the common and business parameters required when calling all Order Management API interfaces. Please read carefully before making a request.

Common Request Headers (Required for all endpoints)​

This section defines the access token that must be included in requests for all APIs.

ParameterTypeRequiredDescriptionExample
Content-TypestringYesData typeapplication/json
AuthorizationstringYesAPI access token

Webhook List​

ParameterTypeLengthRequiredDescriptionExample
cursorint10NoCursor for pagination
limitint5NoNumber of records to query
webhook_namestring20NoName of the webhook
webhook_urlstring100NoNotification URL
ascendingbooleanNoSort order, default is descending (true/false)

Create Webhook​

ParameterTypeLengthRequiredDescriptionExample
webhook_namestring20YesName of the webhook
webhook_urlstring100NoNotification URL

Update Webhook​

ParameterTypeLengthRequiredDescriptionExample
webhook_namestring20YesName of the webhook
webhook_urlstring100NoNotification URL

Event List​

ParameterTypeLengthRequiredDescriptionExample
cursorint10NoCursor for pagination, returned from previous call; leave empty for first call
limitint10NoNumber of records to query
event_typestring50NoEvent type
  • card.transaction.success: Transaction success
  • card.load: Reload
  • card.transaction.failure: Transaction failure
  • card.authorization.success: Authorization success
  • card.authorization.failure: Authorization failure
event_codestring20NoEvent code
  • 165801: Transaction success
  • 165802: Reload
  • 165803: Transaction failure
  • 165804: Authorization success
  • 165805: Authorization failure
ascendingbooleanNoSort order, default is descending (true/false)

Event Subscription​

ParameterTypeLengthRequiredDescriptionExample
event_typestring50YesEvent type
  • card.transaction.success: Transaction success
  • card.load: Reload
  • card.transaction.failure: Transaction failure
  • card.authorization.success: Authorization success
  • card.authorization.failure: Authorization failure

Event Unsubscription​

ParameterTypeLengthRequiredDescriptionExample
event_typestring50YesEvent type
  • card.transaction.success: Transaction success
  • card.load: Reload
  • card.transaction.failure: Transaction failure
  • card.authorization.success: Authorization success
  • card.authorization.failure: Authorization failure