Run in Apidog
📘 Get Parameters — API Explanation# The Get Parameters endpoint provides essential metadata required to correctly perform a prepaid recharge transaction for a specific terminal and operator. It helps clients dynamically discover which fields must be included in a purchase request , and whether the product is dynamic or not. 🔗 Endpoint# GET /pre-paid/recharge/parameters/{terminalId}/{operatorId}terminalId (path, integer): The ID of the terminal initiating the transaction.
operatorId (path, integer): The ID of the mobile or prepaid operator.
U: User identifier (usually an authentication token).
SH: Session hash or signature.
ST: Session timestamp or token.
✅ Purpose# Whether the operator uses dynamic products (dynamic: true)
What fields (like receiverEmail, documentNumber, etc.) must be included in the purchase.
Which field acts as the identifier for dynamic products (dynamicField).
📌 Example Use Case# Before calling the Recharge Purchase API, you must: 1.
Call Get Parameters using your terminalId and operatorId.
2.
Check if the product is dynamic (dynamic: true). If so, use Get Products to fetch product list. 3.
Review parameters[] to determine which fields must be sent (e.g., documentNumber, receiverEmail, etc.).
Request Code Samples
curl --location --request GET 'https://evsb.csqworld.com/pre-paid/recharge/parameters//' \
--header 'U: {{U}}' \
--header 'SH: {{SH}}' \
--header 'ST: {{ST}}' Responses
{
"rc" : 0 ,
"message" : "string" ,
"dynamic" : true ,
"dynamicField" : "string" ,
"parameters" : [
{
"field" : "string" ,
"labels" : {
"property1" : "string" ,
"property2" : "string"
}
}
]
} Modified at 2025-07-02 15:11:11