Banks
Merchants
Maximum Value
TDNSYS Global Settings
Banks
Merchants
Maximum Value
| Client | Server |
| Begin Transaction | |
API Calls Syntax
The API calls are not exactly define because at this time an implementation of TDNSYS server site
does not exist. The exact calls field lengths and values will be defined during the development of TDNSYS.
The calls are documented in a table with two columns. The left column is the Client side and the right is the
Server (CB TDNSYS) side. The request called is highlighted and has a Call ID as the first field.
and the right for the server response.
Each API call is defined as a transactions. If a step of the transaction fails the transaction is rolled back.
| Keywords | |
| Begin Transaction , End Transaction | |
| If Success, If Failed, Goto End, Roll Back | |
|
|
If If PKI parameter sent: Server encrypts a string using the public key Client sends back the decrypted string. |
| CERT Challenge |
All Banks and Investigators must always set a PKI
for a TDN as the private key of a
certificate issued by the Central Bank. Client sends back the decrypted string. |
| Parameter Values | |
| 009 | Call ID - Always the first field zero padded numerical values |
| ( param ) | Optional parameter |
| | | Field Separator |
| -- | Call step ends |
| TDN |
![]() |
| | |
| CERT | TDN belonging to Banks must always be signed with a Digital Certificate | | Status : 0 = canceled, 1 = active, 2 = blocked |
| Value | TDN associated value in the form $dollars.cents. The Central Bank sets a maximum value for a publicly used TDN. All TDNs with values larger must be signed with a digital certificate issued by the Central Bank. |
| TDN |
![]() |
| XML | Field value stored in XML format |
| 0, 1 | Failed and Success values |
Public API Calls
These calls can be executed by any software system on the Internet.
The caller must have a valid TDN and the
| Client | Server |
| Begin Transaction | |
| 001 | TDN |
If Success TDN | If Failed 0 -- |
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
API Calls available only to the Member Banks
Banks systems can use these calls to request withdraw or deposit TDNs in their
reserve accounts with the Central Bank.
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |
API Calls available only to the Investigative authorities
In case of fraud or complaints an investigation may be authorized by the Central Bank.
In these situations the TDN in question has to be blocked for the duration of the investigation.
These calls are implemented in the Case Management system part of TDNSYS.
| Client | Server |
| Begin Transaction | |
|
201 | TDN | |
|
|
If Success TDN | Value | XML-- If Failed 0 -- |
|
| End Transaction | |