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: Transaction
  • card.load: Reload
event_codestring20NoEvent code
  • 165801: Transaction
  • 165802: Reload
ascendingbooleanNoSort order, default is descending (true/false)

Event Subscription

ParameterTypeLengthRequiredDescriptionExample
event_typestring50YesEvent type
  • card.transaction: Transaction
  • card.load: Reload

Event Unsubscription

ParameterTypeLengthRequiredDescriptionExample
event_typestring50YesEvent type
  • card.transaction: Transaction
  • card.load: Reload