Skip to main content
Version: Next

Get List Services

GET /openapi/v1/services

This API acts as a "service configuration directory", listing all payment gateways and services (e.g. BIDV QR, VCCB QR) currently activated for the Merchant.

Query the list of licensed services and payment gateways. Returns the service_code values needed for use in other APIs (such as creating a VA).

No encryption required — Unlike other APIs, this API does not require payload encryption. Parameters are passed directly in the URL.


curl --location '<base_url>/openapi/v1/services?service_type=finance' \
--header 'Partner-Code: 1111111' \
--header 'Authorization: Bearer eyJhbGciOiJ...'

Request

Headers

NameRequiredDescription
Partner-CodeCustomer code (provided by TCONNECT)
AuthorizationBearer <access_token>

Query Parameters

NameTypeRequiredDescription
service_typestringService type (e.g. finance)
payment_methodstringPayment method (qr, card...)
codestringSpecific service code to filter by
limitnumberMaximum number of records
pagenumberPage number (starting from 1)

Response

200 — Service list

FieldTypeDescription
dataarrayList of services
data[].codestringservice_code used in other APIs
data[].namestringDisplay name of the service
data[].payment_methodstringSupported payment method
data[].allowed_va_creationbooleanFlag indicating whether VA creation is allowed
data[].provider.provider_codestringProvider code
data[].provider.provider_namestringProvider name
pagination.pageintegerCurrent page
pagination.limitintegerRecords per page
pagination.total_itemsintegerTotal number of records
pagination.total_pagesintegerTotal number of pages

Response Example

{
"data": [
{
"id": 28,
"code": "bidv-qr",
"name": "QR Payment Service - BIDV",
"service_type": "finance",
"payment_method": "qr",
"allowed_va_creation": false,
"provider": {
"provider_code": "bidv",
"provider_name": "BIDV"
}
}
],
"pagination": {
"page": 1,
"limit": 10,
"total_items": 1,
"total_pages": 1
}
}