Mapping TID and RID
Each transaction is assigned a TID (transaction ID) which represents the whole transaction, from the authorization stage to presentment and chargebacks.
The RID (record ID) is a unique identifier allocated to a message, and can vary per message type. Message types are distinguished by a message type identifier (MTID), where 0100 is an authorization, 0120 is an advice, 0420 is a reversal/reversal retry, and so on.
Each message type has its own unique RID , but all the message types share the same TID.
| Message type | MTID | TID | RID_auth | RID_Settlement | Description |
|---|---|---|---|---|---|
| Authorisation | 0100 | T1 | R1 | N/A | New TID and new RID will be generated |
| Advice | 0120 | T1 | R2 | N/A | Same TID from auth will be used but new RID will be generated |
| Advice Retry | 0120 | T1 | R2 | N/A | Same TID from auth will be used and same RID will be used from original message |
| Reversal | 0400/0420 | T1 | R3 | N/A | Same TID from auth will be used, but new RID will be generated |
| Reversal Retry | 0400/0420 | T1 | R3 | N/A | Same TID from auth will be used and same RID will be used from original message |
| Authorisation Refund | 0100 | T2 | R4 | N/A | Different TID then Debit auth and a new RID will be generated |
| Presentment | 1240 | T1 | R1 | R5 | Same TID. Same RID auth but new RID Settlement |
| Presentment Retry | 1240 | T1 | R1 | R5 | Same TID from auth will be used and same RID will be used from original message |
| Second presentment | 1240 | T1 | R1 | R6 | Same TID. Same RID _auth but new RID Settlement |
| Chargeback | 1442 | T1 | R1 | R7 | Same TID. Same RID _auth but new RID Settlement |
| Presentment Refund | 1240 | T2 | R4 | R8 | Same TID and RID_auth as Refund Auth ( if any) but new RID Settlement |
| PreAuth | 0100 | T3 | R9 | N/A | New TID and new RID will be generated |
| PreAuth Increment | 0100 | T3 | R10 | N/A | Same TID but new RID will be generated |
| PreAuth Increment 2 | 0100 | T3 | R11 | N/A | Same TID, but new RID will be generated |
| Pre Auth Completion | 0120 | T3 | R12 | N/A | Same TID, but new RID will be generated |
These are explained further in TID and RID.
Note on unique RIDsIf the same
RIDis received twice, Banking.live avoids processing the same message again.
- For settlement messages,
rid_setis a unique number.- For authorization messages,
ridis a unique number.
Updated 7 months ago
