Transaction Status
Transaction Status API Method
This method returns the latest transaction status for a given claim code. Partner can optionally select to implement this method.
Request
URI: /programs/PROGRAMCODE/cashout/claimcode/CLAIMCODE/status
URI: /programs/PROGRAMCODE/cashout/reference/GDREFERENCE/status
HTTP Method: GET
Sample Request
POST https\://<<partnerUrl>>/programs/<<programCode>>/cashout/claimcode/<<claimcode>>/status
Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjEiLCJwaS5hdG0iOiJnbXNoIn0.eyJzY29wZSI6IiIsImF1dGhvcml6YXRpb25fZGV0YWlscyI6W10sImNsaWVudF9pZCI6IlVBSUQxMDYzN01OTWljcm9TZXJ2aWNlcyIsImV4cCI6MTcwNzQ3MjcwNX0.d0ohO825c2GaXlBsK_eFx8cyntDzL6f5n-xBfICzGlWpgs1Sop93e36PAiQEse2uScC9QjZoxmg9X312FbJMfipMqbhE5NTZWnL_ofme9gMXDP4OBUwCWnLIgxn5xQS_6JV7z21CEfTtOFi4IHGyaQltxNIE55w-IfQ5npe0S433Np7PC-PGr-7gbB0ouaI-mtti2wGmUXNjb5RqJfpYZXM4nLWhf_O3nIQUSkClIYjjdVSr7bQP2m96OQ8J88-tRdnKy5894UjNYI3yrC6L8r_IfsqhzKjqeAbvongaQiqsNPwEHIHFcU_1FWG70xJYTntIu6HPqGB4CQvjWxHz0VMLku0ygwIH4lG62AEZNHFmSFiUxVNOLAfX-JEIdONbP537MJ5jkx4LuSss6gARbJmdNmO64hK3BgiwKzaatva0FNxzQ4F5J13GHTmMOZcWbEw44ANUPymVtC77mfQmC_LoaboMLei-9Ta1FRSijSoNM0p1m4c8RXina0ptRfz56jpeQ7okaba_dGPvQ0SSbxbiN503P0CJ7TD3UR2DgQdHECb3DRzK-Cbo-k9UNCITbbko3kYKOb9VuXo3JhBs7d6Tf3Cp4ds_9pPyrfIDqGR-ECY4ubcilMtQRblQRMI3qg7zvnjdWjPSK3hSpKunJ7nWCiIQ9lePgo5VLcH2_Lw
X-GD-AuthenticationType: OAuth
X-GD-RequestId: b7b22dc0-6640-11eb-ae93-0242ac130002
Content-Type: application/json
Host: localhost:44362
Response
Field | Type | Format | Description |
---|---|---|---|
claimCode | String | 10-30 digit | 30-digit barcode number |
transactionStatus | String | Max 25 chars | Possible values: completed, declined, failed, cancelled (void) |
transactionDateTime | String | UTC | UTC timestamp of the transaction of the latest transaction |
claimCodeStatus | String | Max 25 chars | Possible values: new, pending, consumed, expired |
responseDetails | Object | N/A | Response Details object |
Sample Response
{
"responseDetails":
{
"code": 0,
"subCode": 0,
"codeDescription": "Success",
"subCodeDescription": "Success
},
"claimCode": "ECW2382323",
"transactionDateTime": "2021-02-19T17:13:14.7078249Z",
"transactionStatus": "Voided",
"claimCodeStatus": "New"
}
Updated 9 months ago