API-Based Settlement Examples
Batch Inquiry by Terminal ID - Input File and Output File Example
note
In the following example, the input file selects all transactions available to the terminal “TERM1.” The output shows two transactions for terminal “TERM1” under the “LOCATION1” location within “CHAIN1” chain code hierarchy.
Request | Response |
---|---|
1,14 109,TERM1 8002,LOCATION1 8006,CHAIN1 | 0001,14 0109,TERM1 1003,0000 1004,ACKNOWLEDGED 1010,COMPLETE 1012,1 1013,2000 1014,2 1016,2000 1017,2 1018,2000 1019,2 8002, LOCATION1 8006, CHAIN1 |
Batch Inquiry by Location Name - Input File and Output File Example
note
In this example, the input file selects all transactions available to the location “LOCATION1”. The output shows two transactions for the “LOCATION1” location within “CHAIN1” chain code hierarchy.
Request | Response |
---|---|
1,14 8002,LOCATION1 8006,CHAIN1 | 0001,14 1003,0000 1004,ACKNOWLEDGED 1010,COMPLETE 1012,1 1013,2000 1014,2 1016,2000 1017,2 1018,2000 1019,2 8002, LOCATION1 8006, CHAIN1 |
Batch Inquiry by Chain Code - Input File and Output File Example
note
In the following example, the input file selects all transactions available to the chain “CHAIN1.” The output shows two transactions for the “CHAIN1” chain code hierarchy.
Request | Response |
---|---|
1,14 8006,CHAIN1 | 0001,14 1003,0000 1004,ACKNOWLEDGED 1010,COMPLETE 1012,1 1013,2000 1014,2 1016,2000 1017,2 1018,2000 1019,2 8006, CHAIN1 |
Batch Close by Terminal ID - Input File and Output File Example
note
In this example, the input file settles all transactions available to the terminal “TERM1”. The output shows two transactions for terminal “TERM1” under the “LOCATION1” location within “CHAIN1” chain code hierarchy.
Request | Response |
---|---|
1,13 109,TERM1 8002, LOCATION1 8006,CHAIN1 | 0001,13 0025, 0109,TERM1 1003,0000 1004, ACKNOWLEDGED 1010, COMPLETE 1012,1 1013,2000 1014,2 1016,2000 1017,2 1018,2000 1019,2 8002,LOCATION1 8006,CHAIN1 |
Batch Close by Location Name - Input File and Output Example
note
In this example, the input file settles all transactions available to the location “LOCATION1”. The output shows two transactions for the “LOCATION1” location within “CHAIN1” chain code hierarchy.
Request | Response |
---|---|
1,13 8002,LOCATION1 8006,CHAIN1 | 0001,13 1003,0000 1004,ACKNOWLEDGED 1010,COMPLETE 1012,1 1013,2000 1014,2 1016,2000 1017,2 1018,2000 1019,2 8002, LOCATION1 8006, CHAIN1 |
Batch Close by Chain Code - Input File and Output File Example
note
In this example, the input file settles all transactions available to the chain “CHAIN1”. The output shows two transactions for the “CHAIN1” chain code hierarchy.
Request | Response |
---|---|
1,13 8006,CHAIN1 | 0001,13 1003,0000 1004,ACKNOWLEDGED 1010,COMPLETE 1012,1 1013,2000 1014,2 1016,2000 1017,2 1018,2000 1019,2 8006, CHAIN1 |