3.5 Fetch Details of a Specific Transaction
This service enables you to retrieve the details of a specific transaction.
Command Format
entt_{Customer ID}|insr_{Product Category}-{Product Type}-{Product Package}-{Cover ID}: dump
- Customer ID should be the ID of the entity/profile in question.
- Product Category should be the category of the product/transaction. E.g. gtrn.
- Product Type should be the type of the product/transaction. E.g. stnd.
- Product Package should be the package of the product/transaction. E.g. 1111.
- Cover ID should be the cover/insurance/transaction id.
Request Sample
{
"srvcVrsn": "2",
"userInfo": {
"id" : "us0123456789abcdefghij0123456789",
"athrzt" : {
"id" : "id1234567890abcdefghij1234567890",
"key": "ky1234567890abcdefghij1234567890"
}
},
"cmmnd": {
"cmmnd": "entt_1234567890abcdefghij1234567890aa|insr_gtrn-stnd-1111-1234567890abcdefghij1234567890aa: dump"
}
}
Response Sample
{
"exctnFdbck": {
"id": "75"
},
"cstm": "1234567890abcdefghij1234567890aa",
"prdc": "gtrn-stnd-1111",
"cixx": "1234567890abcdefghij1234567890xx",
"afxx": {...},
"cpxx": "12m",
"tstm": "2022-11-30 14:50:15 +0000",
"prmm": "NGN 500",
"stts": "p",
"stxx": "2022-11-30 14:50:15 +0000",
"snxx": ".",
"crtf": "/9j/4AA/2BUP/EA4SDx/BAQ=="
}
Data | Note |
---|---|
trns.x.cstm | This data stands for the consumer/customer/entity/profile ID. |
trns.x.prdc | This data stands for the product ID. |
trns.x.cixx | This data stands for the cover ID/insurance ID/transaction reference. |
trns.x.afxx | This data stands for the additional facts used to purchase the cover. |
trns.x.cpxx | This data stands for the cover period. |
trns.x.tstm | This data stands for the time Octamile received the request. |
trns.x.prmm | This data stands the appropriate premium for the cover. |
trns.x.stts | This data stands for the status of the transaction. Possible values are: p (processing), d (declined), and a (approved). |
trns.x.stxx | This data is only provided when the status of the transaction is either declined or approved. This data stands for the time the transaction was declined or approved. |
trns.x.snxx | This data is only provided when the status of the transaction is declined. This data stands for the reason why the transaction was declined. |
trns.x.crtf | This data is only provided when the status of the transaction is approved and the if the cover comes with a certificate. This data stands for the certificate of the cover. It is a PNG, JPG, or PDF in the base 64 format. |
Updated about 2 years ago