Download OpenAPI specification:Download
Our API (Application Programming Interface) provides a streamlined method for developers to integrate our services into their applications seamlessly. By leveraging our API, developers can access a wide range of functionalities, empowering them to create innovative solutions and enhance user experiences.
APIs to obtain token; when calling Actiup's public API, token MUST be supplied to authenticate with server via header Authorization.
This API provides functionality for exchanging client_id + client_secret to temporary token
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| client_id required | string Client id generated for each Actiup's partner, contact Actiup to get id + secret key pair |
| client_secret required | string Client secret corresponding to client_id generated for each Actiup's partner, contact Actiup to get id + secret key pair |
{- "client_id": "string",
- "client_secret": "string"
}{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "token": "string"
}, - "error": { }
}This API provides pagination functionality for accessing events content within a system. It allows users to navigate through a large set of events by retrieving specific pages of data, enhancing efficiency and manageability when dealing with extensive event datasets.
| event_category_id | string Filters results based on the category of the event. |
| event_type | string Enum: "attractions" "sports" Filters results based on the type of event. |
| limit | integer Default: 10 Specifies the maximum number of items to return in a single response. |
| offset | integer Default: 0 Indicates the starting point from which to retrieve data, useful for pagination. |
| selling_type | string Enum: "selling" "sold_out" "view" Filters results based on the selling type of the event (e.g., ticketed, free). |
| sort_by | string Default: "created_at.desc" Enum: "close_registration_date.desc" "created_at.asc" "created_at.desc" "event_date.desc" "homepage_position_number.asc" "min_price.asc" "min_price.desc" "open_registration_date.desc" "position_number.asc" "price.asc" "price.desc" "start_date.asc" "start_date.desc" Specifies the criteria for sorting the returned results. |
| type | string Default: "normal" Enum: "homepage_normal" "normal" Filters results for homepage position. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "paging": {
- "total_item": 0,
- "total_page": 0,
- "current_page": 0
}, - "data": [
- {
- "id": "string",
- "event_slug": "string",
- "min_price": 0,
- "square_url": "string",
- "banner_url": "string",
- "selling_type": "string",
- "special_type": "string",
- "is_ignore_participant_step": true,
- "event_type": "string",
- "frequency_of_sell": "string",
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "start_date": "string",
- "end_date": "string",
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "merchant_public_name_vi": "string"
}
]
}, - "error": { }
}This API will provide events related to the passed event_id.
| event_id required | string ID of event selected. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "id": "string",
- "list_date": "string",
- "event_time": "string",
- "banner_url": "string",
- "poster_url": "string",
- "square_url": "string",
- "event_slug": "string",
- "special_type": "string",
- "selling_type": "string",
- "is_show_library_button": true,
- "is_show_result_button": true,
- "is_payment_group": true,
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "total_participants": 0,
- "total_women": 0,
- "total_men": 0,
- "event_term_url_en": "string",
- "event_term_url_vi": "string",
- "merchant": {
- "id": "string",
- "name_vi": "string",
- "name_en": "string"
}, - "price_desc_en": null,
- "price_desc_vi": null,
- "banner_desktop": "string",
- "banner_mobile": "string",
- "banner_note_vi": "string",
- "banner_note_en": "string",
- "is_hide_vat": true,
- "seat_map_url": "string",
- "hold_ticket_time": 0,
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "start_date": "string",
- "end_date": "string",
- "is_ignore_participant_step": true
}, - "error": { }
}This API provides pagination functionality for accessing events content within a system. It allows users to navigate through a large set of events by retrieving specific pages of data, enhancing efficiency and manageability when dealing with extensive event datasets.
| merchant_id required | string ID of the merchant. |
| page required | integer Specifies the starting point for retrieving data, particularly useful for pagination purposes. |
| limit | integer Default: 10 Specifies the maximum number of items to return in a single response. |
| selling_type | string Enum: "selling" "sold_out" "view" Filters results based on the selling type of the event (e.g., ticketed, free). |
| sort_by | string Default: "created_at.desc" Enum: "close_registration_date.desc" "created_at.asc" "created_at.desc" "event_date.desc" "homepage_position_number.asc" "min_price.asc" "min_price.desc" "open_registration_date.desc" "position_number.asc" "price.asc" "price.desc" "start_date.asc" "start_date.desc" Specifies the criteria for sorting the returned results. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "paging": {
- "total_item": 0,
- "total_page": 0,
- "current_page": 0
}, - "data": [
- {
- "id": "string",
- "event_slug": "string",
- "min_price": 0,
- "square_url": "string",
- "banner_url": "string",
- "selling_type": "string",
- "special_type": "string",
- "is_ignore_participant_step": true,
- "event_type": "string",
- "frequency_of_sell": "string",
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "start_date": "string",
- "end_date": "string",
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "merchant_public_name_vi": "string"
}
]
}, - "error": { }
}This API will provide events information for homepage.
| event_type required | string Enum: "attractions" "sports" This type of event. |
| limit required | integer Specifies the maximum number of items to return in a single response. |
| type required | string Enum: "homepage_hot" "homepage_normal" This type for homepage. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": [
- {
- "id": "string",
- "event_slug": "string",
- "min_price": 0,
- "square_url": "string",
- "banner_url": "string",
- "selling_type": "string",
- "special_type": "string",
- "is_ignore_participant_step": true,
- "event_type": "string",
- "frequency_of_sell": "string",
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "start_date": "string",
- "end_date": "string",
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "merchant_public_name_vi": "string"
}
], - "error": { }
}The Event Retrieval API fetches detailed information about individual events using their unique IDs.
| event_id required | string ID of the events. |
| includes | string Lists which event fields are excluded. Example includes=club |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "id": "string",
- "event_slug": "string",
- "min_price": 0,
- "square_url": "string",
- "banner_url": "string",
- "selling_type": "string",
- "special_type": "string",
- "is_ignore_participant_step": true,
- "event_type": "string",
- "frequency_of_sell": "string",
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "start_date": "string",
- "end_date": "string",
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "merchant_public_name_vi": "string",
- "open_registration_date": "string",
- "close_registration_date": "string",
- "poster_url": "string",
- "is_show_library_button": true,
- "is_show_result_button": true,
- "is_payment_group": true,
- "is_have_participant_list": true,
- "place_vi": "string",
- "description_vi": "string",
- "authorization_form_url": "string",
- "disclaimer_form_url": "string",
- "details": [
- {
- "order_number": 0,
- "title_vi": "string",
- "title_en": "string",
- "description_vi": "string",
- "description_en": "string"
}
], - "merchant": {
- "id": "string",
- "slug": "string",
- "logo": "string",
- "cover_banner": "string",
- "thumbnail": "string",
- "position_number": 0,
- "is_active": true,
- "number_of_events": 0,
- "name_vi": "string"
}
}, - "error": { }
}The Event Retrieval API fetches detailed information about individual events using their unique slug.
| event_id required | string ID of the events. |
| includes | string Lists which event fields are excluded. Example includes=club |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "id": "string",
- "list_date": "string",
- "event_time": "string",
- "banner_url": "string",
- "poster_url": "string",
- "square_url": "string",
- "event_slug": "string",
- "special_type": "string",
- "selling_type": "string",
- "is_show_library_button": true,
- "is_show_result_button": true,
- "is_payment_group": true,
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "total_participants": 0,
- "total_women": 0,
- "total_men": 0,
- "event_term_url_en": "string",
- "event_term_url_vi": "string",
- "merchant": {
- "id": "string",
- "name_vi": "string",
- "name_en": "string"
}, - "price_desc_en": null,
- "price_desc_vi": null,
- "banner_desktop": "string",
- "banner_mobile": "string",
- "banner_note_vi": "string",
- "banner_note_en": "string",
- "is_hide_vat": true,
- "seat_map_url": "string",
- "hold_ticket_time": 0,
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "start_date": "string",
- "end_date": "string",
- "is_ignore_participant_step": true
}, - "error": { }
}The Event Retrieval API fetches detailed information about individual events using their unique slug.
| event_slug required | string Slug of the events. |
| includes | string Lists which event fields are excluded. Example includes=club |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "id": "string",
- "event_slug": "string",
- "min_price": 0,
- "square_url": "string",
- "banner_url": "string",
- "selling_type": "string",
- "special_type": "string",
- "is_ignore_participant_step": true,
- "event_type": "string",
- "frequency_of_sell": "string",
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "start_date": "string",
- "end_date": "string",
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "merchant_public_name_vi": "string",
- "open_registration_date": "string",
- "close_registration_date": "string",
- "poster_url": "string",
- "is_show_library_button": true,
- "is_show_result_button": true,
- "is_payment_group": true,
- "is_have_participant_list": true,
- "place_vi": "string",
- "description_vi": "string",
- "authorization_form_url": "string",
- "disclaimer_form_url": "string",
- "details": [
- {
- "order_number": 0,
- "title_vi": "string",
- "title_en": "string",
- "description_vi": "string",
- "description_en": "string"
}
], - "merchant": {
- "id": "string",
- "slug": "string",
- "logo": "string",
- "cover_banner": "string",
- "thumbnail": "string",
- "position_number": 0,
- "is_active": true,
- "number_of_events": 0,
- "name_vi": "string"
}
}, - "error": { }
}The Event Retrieval API fetches detailed information about individual events using their unique slug.
| event_slug required | string Slug of the events. |
| includes | string Lists which event fields are excluded. Example includes=club |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "id": "string",
- "list_date": "string",
- "event_time": "string",
- "banner_url": "string",
- "poster_url": "string",
- "square_url": "string",
- "event_slug": "string",
- "special_type": "string",
- "selling_type": "string",
- "is_show_library_button": true,
- "is_show_result_button": true,
- "is_payment_group": true,
- "categories": [
- {
- "id": "string",
- "cat_id": 0,
- "name_en": "string"
}
], - "total_participants": 0,
- "total_women": 0,
- "total_men": 0,
- "event_term_url_en": "string",
- "event_term_url_vi": "string",
- "merchant": {
- "id": "string",
- "name_vi": "string",
- "name_en": "string"
}, - "price_desc_en": null,
- "price_desc_vi": null,
- "banner_desktop": "string",
- "banner_mobile": "string",
- "banner_note_vi": "string",
- "banner_note_en": "string",
- "is_hide_vat": true,
- "seat_map_url": "string",
- "hold_ticket_time": 0,
- "name_vi": "string",
- "short_place_vi": "string",
- "short_description_vi": "string",
- "start_date": "string",
- "end_date": "string",
- "is_ignore_participant_step": true
}, - "error": { }
}The API will provide information about products by event_id.
| event_id required | string ID of the events. |
| excludes | string Exclude sth information of api. Example: excludes=attendant_template |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": [
- {
- "ticket_phase": {
- "id": "string",
- "key": "string",
- "name_vi": "string",
- "name_en": "string",
- "sell_from": "string",
- "sell_to": "string",
- "default": true
}, - "ticket_data": [
- {
- "id": "string",
- "is_active": true,
- "sku": "string",
- "price": 0,
- "original_price": 0,
- "name_en": "string",
- "name_vi": "string",
- "description_en": "string",
- "description_vi": "string",
- "product_type": "string",
- "merchant_id": "string",
- "event_id": "string",
- "is_taxable": true,
- "category_vi": "string",
- "category_en": "string",
- "attendant_template_id": "string",
- "attendant_template": {
- "personal_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": { }
}
}
]
}, - "additional_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": { }
}
}
]
}, - "medical_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": { }
}
}
]
}
}, - "short_description_en": "string",
- "short_description_vi": "string",
- "selling_type": "string",
- "selling_min_qty": 0,
- "selling_max_qty": 0,
- "attendant_qty": 0,
- "ticket_status": "string",
- "package_info": "string",
- "ticket_phase_name_en": "string",
- "ticket_phase_name_vi": "string",
- "total_for_sell": 0,
- "sell_from": "string",
- "sell_to": "string",
- "is_soldout": true,
- "is_auto_seating": true
}
]
}
], - "error": { }
}The API will provide information about attraction products by event_id.
| attraction_id required | string ID of the events. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": [
- {
- "id": "string",
- "is_active": true,
- "sku": "string",
- "price": 0,
- "original_price": 0,
- "name_en": "string",
- "name_vi": "string",
- "description_en": "string",
- "description_vi": "string",
- "product_type": "string",
- "merchant_id": "string",
- "event_id": "string",
- "is_taxable": true,
- "category_vi": "string",
- "category_en": "string",
- "attendant_template_id": "string",
- "attendant_template": {
- "personal_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": {
- "label_en": "string",
- "label_vi": "string"
}
}
}
]
}, - "additional_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": {
- "label_en": "string",
- "label_vi": "string"
}
}
}
]
}, - "medical_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": {
- "label_en": "string",
- "label_vi": "string"
}
}
}
]
}
}, - "short_description_en": "string",
- "short_description_vi": "string",
- "selling_type": "string",
- "selling_min_qty": 0,
- "selling_max_qty": 0,
- "attendant_qty": 0,
- "ticket_status": "string",
- "package_info": "string",
- "ticket_phase_name_en": null,
- "ticket_phase_name_vi": null,
- "total_for_sell": 0,
- "sell_from": "string",
- "sell_to": "string",
- "is_soldout": true,
- "is_auto_seating": true
}
], - "error": { }
}The Attendant Template Retrieval API fetches detailed information about individual attendant template using their unique IDs.
| template_id required | string ID of the attendant template. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "personal_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": {
- "label_en": "string",
- "label_vi": "string"
}
}
}
]
}, - "additional_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": {
- "label_en": "string",
- "label_vi": "string"
}
}
}
]
}, - "medical_information": {
- "group_key": "string",
- "label_vi": "string",
- "label_en": "string",
- "fields": [
- {
- "label_en": "string",
- "label_vi": "string",
- "number": "string",
- "validation": "string",
- "key": "string",
- "type": "string",
- "size": 0,
- "require": true,
- "is_lock_update_data": true,
- "sub_label_en": "string",
- "sub_label_vi": "string",
- "sub_label_url": "string",
- "option": {
- "key": {
- "label_en": "string",
- "label_vi": "string"
}
}
}
]
}
}, - "error": { }
}This will be the api that returns attendee data in an event with pagination. Supports searching by category and searching by name or bib.
| event_id required | string |
| page required | integer |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "paging": {
- "total_item": 0,
- "total_page": 0,
- "current_page": 0
}, - "data": [
- {
- "bib": "string",
- "first_name": "string",
- "last_name": "string",
- "full_name": "string",
- "gender": "string",
- "category_name_vi": "string",
- "category_name_en": "string",
- "name_on_bib": "string",
- "name": "string",
- "extra": { }
}
]
}
}This API will create an order, including information about the buyer and the ticket chosen by the user. In response, an ID is provided, which can be used to list all payment methods and proceed with the checkout.
| event_id required | string ID of event selected. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
required | object Buyer information |
required | Array of objects (Ticket) List of tickets |
{- "customer": {
- "buyer": {
- "full_name": "string",
- "email": "string",
- "phone": "string",
- "phone_area_code": "string"
}
}, - "tickets": [
- {
- "ticket_id": "string",
- "quantity": 0,
- "attendants": [
- {
- "property1": null,
- "property2": null
}
]
}
]
}{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "id": "string",
- "created_at": "string",
- "sub_total": 0,
- "grand_total": 0,
- "discount_coupon": 0,
- "discount_promotion": 0,
- "coupons": [
- "string"
], - "promotions": [
- "string"
], - "is_required_address": true
}
}This API provides a list of payment methods after creating an order.
| cart_id required | string ID of cart created. |
| event_id required | string ID of event selected. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": [
- {
- "key": "string",
- "parent_method": "string",
- "name_vi": "string",
- "name_en": "string",
- "description_vi": "string",
- "description_en": "string",
- "icon_url": "string",
- "extra_data": { }
}
]
}This API will be used when the user checks out with their payment method.
| cart_id required | string ID of cart created. |
| event_id required | string ID of event selected. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
| payment_method required | string Payment method |
required | object Payment option |
{- "payment_method": "string",
- "payment_option": {
- "card_type": "string",
- "bank_id": "string"
}
}{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "order_code": "string",
- "parent_payment_method": "string",
- "payment_method": "string",
- "payment_status": 0,
- "order_status": "string",
- "payment_data": {
- "url": "string",
- "qr_code_link": "string",
- "grand_total": 0,
- "transaction_id": "string",
- "expired_payment_at": "string",
- "supported_apps": "string"
}
}
}This API will be used when you don't use the Actiup payment gateway. Use this API to update the status of the order.
| order_code required | string Order code of your order. |
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "is_success": true
}
}This API will be used to list all orders of user by their email.
| Accept-Language | string Default: en Enum: "en" "vi" This value will return the message according to the language you input. |
| Authorization required | string Default: Bearer {} This is the field that determines the authentication of the api. Format: Authorization {token}, read more |
| email required | string Email address of user |
{- "email": "string"
}{- "result": true,
- "message": "string",
- "code_status": 0,
- "data": {
- "paging": {
- "total_item": 0,
- "total_page": 0,
- "current_page": 0
}, - "orders": [
- {
- "id": "string",
- "code": "string",
- "parent_code": "string",
- "cart_id": "string",
- "customer_code": "string",
- "buyer_name": "string",
- "buyer_email": "string",
- "buyer_phone": "string",
- "total_item": "string",
- "subtotal": "string",
- "discount_coupon": "string",
- "discount_promotion": "string",
- "total_fee": "string",
- "grand_total": "string",
- "ref_code": "string",
- "order_status": "string",
- "order_sub_status": "string",
- "payment_status": "string",
- "cancel_reason_code": "string",
- "cancel_reason_vi": "string",
- "cancel_reason_en": "string",
- "order_type": "string",
- "payment_method": "string",
- "selected_payment_method": "string",
- "coupon_codes": "string",
- "applied_promotion_ids": "string",
- "extra": "string",
- "item_description_vi": "string",
- "item_description_en": "string",
- "created_at": "string",
- "updated_at": "string",
- "canceled_at": "string",
- "purchased_at": "string",
- "event_id": "string",
- "merchant_id": "string",
- "is_sent_email_success": "string",
- "is_sent_sms_success": "string",
- "expired_payment_at": "string",
- "is_vat": "string",
- "total_attendant": "string",
- "bib": "string",
- "challenge_id": "string",
- "buyer_phone_area_code": "string",
- "is_have_limited_product": "string"
}
]
}
}