Usage Guidelines
Description
- The Following API are required to provide to JDB.
- These API call is unlimited, which can be used for betting, winning payout and other transaction functions.
- Please ensure that the setting for timeout is within 3 seconds, 3 seconds will be considered as timeout.
Call Methods
- The HTTP URI provided by the platform operator (Operator) to JDB.
- Example of JDB calling the Operator:
POST /jdb HTTP/1.1 Host: your.provide.to Content-Type: application/x-www-form-urlencoded x=jdb_encrypted_parameter
- In this example, JDB sends a POST request to the specified Operator's URI, where
x
is an encrypted parameter.
- In this example, JDB sends a POST request to the specified Operator's URI, where
- HTTP Body, processing explanation for the parameter
x
:- The received
x
parameter must first be decoded using Base64 URL, and then decrypted using the AES-CBC-128 bit encryption algorithm. - If an independent
iv
andkey
are set, they should be used for decryption. - The decryption steps can be referred to in the example program.
- The execution result is sent back to JDB, encryption is not required.
- The received
Connection Description
- For the information about API address and encryption keys, please refer to "JDB API Environment Setting.pdf".