SWP-Card Authorization Access Token
Card Authorization Access Token API
Card Authorization Access Token POST- /cardAuth/oauth2/token/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping ,Field Indicator
CardAuth_001,Customer enrollment Activation for Shop With Points CardAuth for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 183
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=4b71524b647a6e594b6d2b4b47525565706855525471366a6737556a2b576b2b7866317945356b373179493d&linkageConfirmationCode=567351&scope=Card_Purchase","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
X-Global-Transaction-ID: c3937fc65dfc7fc8c626fd8f
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
X-Akamai-CONFIG-LOG-DETAIL: true
Akamai-Origin-Hop: 1
X-Forwarded-For: 199.67.131.148
X-Akamai-True-Client-IP: 199.67.131.148
Pragma: no-cache
Cache-Control: no-cache, max-age=0
X-DataStream-Session-Id: f317f6243-5dfc7fc8-96501547
X_AK_SHAPE_AGGREGATOR_IP: FALSE
dmz-global-txn-id: c3937fc65dfc7fc8c626fd8f
citiUUID:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST,GET,POST,PUT,DELETE
Content-Type: application/json
Access-Control-Allow-Headers: Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 20 Dec 2019 08:01:13 GMT
Content-Length: 675
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:21:13 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""token_type"":""Bearer"",""access_token"":""AAIkMjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4TiL7bD8AVlkofUnN9kWHxZ-tF3yOcW26R3kOSkiyKc8Gtj63-xM6MOyHrcJxjIQ_plPtxzPA1JVzjR4-3LOjPXbIj8NVYAplcQQzhvYZTslnCOQZtTDwrK0K73_AgWe6_1uwVG8ANxDd1KuJXqGR5n6osrGoVWMGqM50R4fXmFel4zFP__CRbISzseBuUcCnPzZ2qVFWDO3nhFBFLDtXE-vOUQy231A1ZeysW6FhZL1A0Vg9aM02vpUvl9okdwwg"",""expires_in"":2678400,""consented_on"":1576828872,""scope"":""Card_Purchase"",""refresh_token"":""AAJBrnqEBjfqrZIV-Zlnmcm2dDglfO1dGjHAsp2mjAAU_bOMtnHu9WRNyqreTPJlV68dmA6vHEj0KMgr3diXrxnCIslOYtzMOcLfMsrGnVMS287CSA8yOjGRl4XX78BgEMniwX4U-wkapo48i4ZT6eak_AsDTbYVtz0uYuOLCASD-G_gCxE6eGgFgsXG2c6lUo4ycc5mpypwLGZuH7Qm5AMHf_-ug4vcD1P2os4QcIqgIa3tCRtJ9Y2x06OcmvdEPY6Pzo_GiaQWRPDt3u4VjpsS"",""refresh_token_expires_in"":32140800,""cardId"":""306f73654264676b6c3968666d4d555642346e32726f546c556b4e62794750576771746d59312b496653513d""}",Applicable,codeActivationStatus:A,
CardAuth_002,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with invalid Confirmation Code(OTP) _Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with invalid Confirmation Code(OTP) .,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 6bc62b4b-3375-478c-a063-bd4132ab0c2f
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 183
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=44447570346b4b7539324e563373327a77446b743332494545504d49426d784579465273654f6b6c3832383d&linkageConfirmationCode=*12123&scope=Card_Purchase
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65dfc80712d062a3d
X-Akamai-CITISITE: GTDC
Date: Fri, 20 Dec 2019 08:04:01 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:24:01 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,otpFailureCount:WL,
CardAuth_003,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with expired Confirmation Code(OTP)_Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with Expired Confirmation Code(OTP) .,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 5bef4688-5e0e-4076-b3d3-195ba6c19fb7
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 181
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=7739534f736b6e642f46597033384f5975674e51623952686c49396a383742765566796c597139756e66733d&linkageConfirmationCode=294698&scope=epp_booking","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65e01c19e4395faed
X-Akamai-CITISITE: GTDC
Content-Length: 148
Date: Tue, 24 Dec 2019 07:43:27 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Dec-2019 08:03:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""linkageConfirmationCodeExpired"",""details"":""The linkage confirmation Code is expired . Link credit card to a merchant again""}",Applicable,otpFailureCount:EX,
CardAuth_004,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with invalid Grant Type _Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with invalid Grant Type .,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 62758e3d-ae91-4fce-b4ef-76d09c2aabe8
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 172
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=invalid&controlFlowId=49574542476c684c6f39374e4143304d4e687677647232562f306d617a6c6a49756771665a793371744d493d&linkageConfirmationCode=494664&scope=Card_Purchase","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65dfc82ae2d10978d
X-Akamai-CITISITE: GTDC
Date: Fri, 20 Dec 2019 08:13:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:33:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Not Applicable,grant_type,
CardAuth_005,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with invalid Scope _Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with invalid Scope.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 087267f6-9b17-43cf-b245-946382bd4117
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=59343370676644416866662f49364e6c4d6a7732756f6c354b4b48583261597a6c62306b616863494336773d&linkageConfirmationCode=632759&scope=invalid","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65dfc82bf2d0ee2ed
X-Akamai-CITISITE: GTDC
Date: Fri, 20 Dec 2019 08:13:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:33:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Not Applicable,scope,
CardAuth_006,Customer enrollment Activation for Shop With Points CardAuth for an active primary card for more than the maximum attempt _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with exceeds Maximum Attempts Error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: cb91d575-7d66-495f-a3f4-d75898abc34c
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 181
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=5458546c6b754f34763675753659786a2f30754e326476743777685031466c35454a3431636d7a594e6d633d&linkageConfirmationCode=155555&scope=epp_booking","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65e01bc34f75bc73f
X-Akamai-CITISITE: GTDC
Date: Tue, 24 Dec 2019 07:20:20 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Dec-2019 07:40:20 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""exceedsMaximumAttempts"",""details"":""Maximum attempts exceeded for activation. Link credit card to a merchant again""}",Applicable,otpFailureCount:LE,
CardAuth_007,Customer enrollment Activation for Shop With Points CardAuth for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 183
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=4b71524b647a6e594b6d2b4b47525565706855525471366a6737556a2b576b2b7866317945356b373179493d&linkageConfirmationCode=567351&scope=Card_Purchase","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
X-Global-Transaction-ID: c3937fc65dfc7fc8c626fd8f
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
X-Akamai-CONFIG-LOG-DETAIL: true
Akamai-Origin-Hop: 1
X-Forwarded-For: 199.67.131.148
X-Akamai-True-Client-IP: 199.67.131.148
Pragma: no-cache
Cache-Control: no-cache, max-age=0
X-DataStream-Session-Id: f317f6243-5dfc7fc8-96501547
X_AK_SHAPE_AGGREGATOR_IP: FALSE
dmz-global-txn-id: c3937fc65dfc7fc8c626fd8f
citiUUID:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST,GET,POST,PUT,DELETE
Content-Type: application/json
Access-Control-Allow-Headers: Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 20 Dec 2019 08:01:13 GMT
Content-Length: 675
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:21:13 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""token_type"":""Bearer"",""access_token"":""AAIkMjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4TiL7bD8AVlkofUnN9kWHxZ-tF3yOcW26R3kOSkiyKc8Gtj63-xM6MOyHrcJxjIQ_plPtxzPA1JVzjR4-3LOjPXbIj8NVYAplcQQzhvYZTslnCOQZtTDwrK0K73_AgWe6_1uwVG8ANxDd1KuJXqGR5n6osrGoVWMGqM50R4fXmFel4zFP__CRbISzseBuUcCnPzZ2qVFWDO3nhFBFLDtXE-vOUQy231A1ZeysW6FhZL1A0Vg9aM02vpUvl9okdwwg"",""expires_in"":2678400,""consented_on"":1576828872,""scope"":""Card_Purchase"",""refresh_token"":""AAJBrnqEBjfqrZIV-Zlnmcm2dDglfO1dGjHAsp2mjAAU_bOMtnHu9WRNyqreTPJlV68dmA6vHEj0KMgr3diXrxnCIslOYtzMOcLfMsrGnVMS287CSA8yOjGRl4XX78BgEMniwX4U-wkapo48i4ZT6eak_AsDTbYVtz0uYuOLCASD-G_gCxE6eGgFgsXG2c6lUo4ycc5mpypwLGZuH7Qm5AMHf_-ug4vcD1P2os4QcIqgIa3tCRtJ9Y2x06OcmvdEPY6Pzo_GiaQWRPDt3u4VjpsS"",""refresh_token_expires_in"":32140800,""cardId"":""306f73654264676b6c3968666d4d555642346e32726f546c556b4e62794750576771746d59312b496653513d""}",Not Applicable,,
SWP-Card Authorization
SWP-Card Authorization API
SWP Card Authorization POST /cardAuth/oauth2/authorize/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Field Indicator,Host Mapping
CardAuth_001,Customer enrollmentfor Shop With Points for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Applicable,,
CardAuth_002,Customer enrollmentfor Shop With Points for an active Supplementary card _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/vn/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkOk83bksybE8zb0g3ZU00cFIxZE80bVA3bEswcEIwaFExYVgzeUIyakExeEw4cUg4cVUz
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: c0838d87-2f77-465f-8bfa-cedd0e1ed2d2
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Content-Length: 167
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""8355"",
""citiCardHolderPhoneNumber"":""840265454545"",
""merchantCustomerReferenceId"": ""1532468""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: c0838d87-2f77-465f-8bfa-cedd0e1ed2d2
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d89ba4458fe2e9f
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 84
Date: Tue, 24 Sep 2019 06:40:05 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Sep-2019 07:00:05 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,,
CardAuth_003,Customer enrollmentfor Shop With Points for an active primary card with invalid card number_Negative,Step 1,Trigger Card Auth Service with Customer invalid last 4 digit card number and valid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,Card Number,
CardAuth_004,Customer enrollmentfor Shop With Points for an active primary card with invalid mobile number_Negative,Step 1,Trigger Card Auth Service with Customer valid last 4 digit card number and invalid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,Mobile Number,
CardAuth_005,Customer enrollmentfor Shop With Points for a primary card with account level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,Status: Account Blocked
CardAuth_006,Customer enrollmentfor Shop With Points for a primary card with card level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,Status: Card Blocked
CardAuth_007,Customer enrollmentfor Shop With Points for a primary card with account in Dormant state_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Not Applicable,,Status: Account Dormant
CardAuth_008,Customer enrollmentfor Shop With Points for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
Sample Alert : We have received your request to register your ""Merchant name"" Credit Card. Your One Time PIN code is 228379 Enter this One Time PIN to activate your account. ","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Not Applicable,,
SWP-Card Authorization
SWP-Card Authorization API
SWP Card Authorization POST /cardAuth/oauth2/authorize/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Field Indicator,Host Mapping
CardAuth_001,Customer enrollmentfor Shop With Points for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Applicable,,
CardAuth_002,Customer enrollmentfor Shop With Points for an active Supplementary card _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/vn/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkOk83bksybE8zb0g3ZU00cFIxZE80bVA3bEswcEIwaFExYVgzeUIyakExeEw4cUg4cVUz
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: c0838d87-2f77-465f-8bfa-cedd0e1ed2d2
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Content-Length: 167
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""8355"",
""citiCardHolderPhoneNumber"":""840265454545"",
""merchantCustomerReferenceId"": ""1532468""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: c0838d87-2f77-465f-8bfa-cedd0e1ed2d2
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d89ba4458fe2e9f
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 84
Date: Tue, 24 Sep 2019 06:40:05 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Sep-2019 07:00:05 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,,
CardAuth_003,Customer enrollmentfor Shop With Points for an active primary card with invalid card number_Negative,Step 1,Trigger Card Auth Service with Customer invalid last 4 digit card number and valid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,Card Number,
CardAuth_004,Customer enrollmentfor Shop With Points for an active primary card with invalid mobile number_Negative,Step 1,Trigger Card Auth Service with Customer valid last 4 digit card number and invalid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,Mobile Number,
CardAuth_005,Customer enrollmentfor Shop With Points for a primary card with account level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,Status: Account Blocked
CardAuth_006,Customer enrollmentfor Shop With Points for a primary card with card level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,Status: Card Blocked
CardAuth_007,Customer enrollmentfor Shop With Points for a primary card with account in Dormant state_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Not Applicable,,Status: Account Dormant
CardAuth_008,Customer enrollmentfor Shop With Points for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
Sample Alert : We have received your request to register your ""Merchant name"" Credit Card. Your One Time PIN code is 228379 Enter this One Time PIN to activate your account. ","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Not Applicable,,
Shop With Points - Redemption API
Shop With Points - Redemption API
Shop With Points - Redemption API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer Redemption for shop with points for an active primary card _Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Applicable,,
SWP_002,Customer Redemption for shop with points for a card with redeemable Block Code at Account level_Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,,
SWP_003,Customer Redemption for shop with points for a card with irredeemable Block Code at Account level_Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,
SWP_004,Customer Redemption for shop with points for a Closed primary card _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Applicable,,
SWP_005,Customer Redemption for shop with points for an active primary card with Invalid Reward Link code _Negative,Step 1,"Customer redemption for shop with points with invalid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Reward link code is invalid""
}",Applicable,,
SWP_006,Customer Redemption for shop with points for an active primary card with Inactive Reward Link code _Negative,Step 1,"Customer redemption for shop with points with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inactiveRewardLinkCode"",
""details"":""Reward link code is inactive""
}",Applicable,,
SWP_007,Customer Redemption for shop with points for an active primary card more than available points _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem more than available balance & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""135000000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b20f93c1-efee-4e23-af4d-54fbc6cd18bd
citiUUID: 78000990-f636-4407-ac03-c67f93c32014
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f015c95439f
X-Akamai-CITISITE: GTDC
Content-Length: 141
Date: Wed, 10 Apr 2019 06:36:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:56:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inSufficientPointBalance"",
""details"":""The order points cannot be more than available balance of the member""
}",Applicable,,
SWP_008,Customer Redemption for shop with points for an active primary card with invalid amount and point combination _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, invalid transactionAmount, currencyCode, invalid pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 1bc6276a-d3c4-4581-ae01-1f7d7b7a2487
citiUUID: 78000990-57b3-41b3-89ea-c67f93c3e807
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8ecf08f60651
X-Akamai-CITISITE: GTDC
Content-Length: 123
Date: Wed, 10 Apr 2019 06:35:59 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:55:59 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""InvalidPointsAndAmountCombination"",
""details"":""Points and amount combination are invalid""
}",Applicable,,
SWP_009,Customer Redemption for shop with points for an active primary card with amount and points exceeding maximum limit set in merchant upload file _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount exceeding limit set in merchant upload file, currencyCode, pointsToRedeem exceeding limit set in merchant upload file& transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""5000000000000000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500000000000000000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 94812688-398a-41d9-a783-0f5255727a91
citiUUID: 78000990-3688-46f1-9883-c67f93c37249
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad908c08fa0e11
X-Akamai-CITISITE: GTDC
Content-Length: 142
Date: Wed, 10 Apr 2019 06:43:25 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:03:25 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumPointsAllowed"",
""details"":""Requested amount or points are more than allowed equivalent points""
}",Applicable,,
SWP_010,Customer Redemption for shop with points for an active primary card with invalid Currency Code _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, invalid currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""INR"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 3235218d-2c30-4c04-ba6a-f6d49a7689b8
citiUUID: 78000990-59fa-42e4-bff3-c67f93c3ecdb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad90d608fa62b1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:44:39 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:04:39 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""currencyNotSupported"",
""details"":""Currency is not supported""
}",Applicable,,
SWP_011,Customer Redemption for shop with points for an active primary card and verify alert_Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
Verify Redemption Alert.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
Redemption Alert should be send to Primary Mobile number.
Sample - Your shop with Points redemption with <Merchant name>is successful. We will deduct <points> Points and credit <amount> to your Citi Card account within 7 days. This will be reflected in your account statement.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,,
SWP_012,Customer Redemption for shop with points for an active primary card with already redeemed transactionReferenceNumber_Negative,Step 1,"Customer redemption for shop with points with invalid Reward Link Code, already redeemed transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: baf9ff7c-2b62-418b-a8ee-05660d5f5b8b
citiUUID: 78000990-5a60-46a0-a4a7-c67f93c398c3
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8e0308f32261
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:32:36 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:52:36 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""transactionAlreadyRedeemed"",
""details"":""Transaction is already redeemed""
}",Applicable,,
SWP_013,Customer Redemption for shop with points for a card with redeemable Block Code at Card level_Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,,
SWP_014,Customer Redemption for shop with points for a card with irredeemable Block Code at Card level_Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,
SWP_015,Customer Redemption for shop with points for an active primary card with amount and points below minimum limit set in merchant upload file _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount below minimum limit set in merchant upload file, currencyCode, pointsToRedeem below minimum limit set in merchant upload file & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""0.5"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""130"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: f5070250-f4c6-495b-87a2-f5286815d8f1
citiUUID: 78000990-23f2-4e93-9ee0-c67f93c34aca
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad91315cbf69bf
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:46:10 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:06:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""belowMinimumPointsAllowed"",
""details"":""Requested amount or points are less than allowed equivalent points""
}",Applicable,,
SWP_016,Customer Redemption for shop with points for an active primary card with pointsToRedeem in decimal _Negative,Step 1,"Customer redemption for shop with points with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem in decimal & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500.01"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 101ed48f-7303-4ec3-9dcb-4a2adfe2becb
citiUUID: 78000990-622f-47f1-8492-c67f93c3fdfb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad91a82bf442fd
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:48:08 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:08:08 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters"",
""moreInfo"":{
""fieldLevelErrors"":[
{
""fieldName"":""/*/redemptionOrder/pointsToRedeem"",
""reasonCode"":""invalidPattern"",
""errorMessage"":""Enter Valid Data""
}
]
}
}
",Applicable,,
Pay With Points - Redemption API
Pay With Points - Redemption API
Pay With Points - Redemption API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator,Comment
PWP_001,Customer Redemption for pay with points for an active primary card _Positive,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Applicable,status:ACTIVE,,
PWP_002,Customer Redemption for pay with points for a card with redeemable Block Code at Account level_Positive,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,accountStatus:BLOCKED,,
PWP_003,Customer Redemption for pay with points for a card with irredeemable Block Code at Account level_Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,,
PWP_004,Customer Redemption for pay with points for a Closed primary card _Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,,
PWP_005,Customer Redemption for pay with points for an active primary card with Invalid Reward Link code _Negative,Step 1,"Customer redemption for pay with points with invalid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Reward link code is invalid""
}",Applicable,,,
PWP_006,Customer Redemption for pay with points for an active primary card with Inactive Reward Link code _Negative,Step 1,"Customer redemption for pay with points with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inactiveRewardLinkCode"",
""details"":""Reward link code is inactive""
}",Applicable,,,
PWP_007,Customer Redemption for pay with points for an active primary card more than available points _Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem more than available balance & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""135000000"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b20f93c1-efee-4e23-af4d-54fbc6cd18bd
citiUUID: 78000990-f636-4407-ac03-c67f93c32014
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f015c95439f
X-Akamai-CITISITE: GTDC
Content-Length: 141
Date: Wed, 10 Apr 2019 06:36:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:56:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inSufficientPointBalance"",
""details"":""The order points cannot be more than available balance of the member""
}",Applicable,,,
PWP_008,Customer Redemption for pay with points for an active primary card with invalid amount and point combination _Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, invalid transactionAmount, currencyCode, invalid pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 1bc6276a-d3c4-4581-ae01-1f7d7b7a2487
citiUUID: 78000990-57b3-41b3-89ea-c67f93c3e807
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8ecf08f60651
X-Akamai-CITISITE: GTDC
Content-Length: 123
Date: Wed, 10 Apr 2019 06:35:59 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:55:59 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""InvalidPointsAndAmountCombination"",
""details"":""Points and amount combination are invalid""
}",Applicable,,,
PWP_009,Customer Redemption for pay with points for an active primary card with amount and points exceeding maximum limit set in merchant upload file _Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount exceeding limit set in merchant upload file, currencyCode, pointsToRedeem exceeding limit set in merchant upload file& transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""5000000000000000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500000000000000000"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 94812688-398a-41d9-a783-0f5255727a91
citiUUID: 78000990-3688-46f1-9883-c67f93c37249
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad908c08fa0e11
X-Akamai-CITISITE: GTDC
Content-Length: 142
Date: Wed, 10 Apr 2019 06:43:25 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:03:25 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumPointsAllowed"",
""details"":""Requested amount or points are more than allowed equivalent points""
}",Applicable,,,
PWP_010,Customer Redemption for pay with points for an active primary card with invalid Currency Code _Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, invalid currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""INR"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 3235218d-2c30-4c04-ba6a-f6d49a7689b8
citiUUID: 78000990-59fa-42e4-bff3-c67f93c3ecdb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad90d608fa62b1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:44:39 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:04:39 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""currencyNotSupported"",
""details"":""Currency is not supported""
}",Applicable,,,
PWP_011,Customer Redemption for pay with points for an active primary card and verify alert_Positive,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
Verify Redemption Alert.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
Redemption Alert should be send to Primary Mobile number.
Sample - Your Pay with Points redemption with <Merchant name>is successful. We will deduct <points> Points and credit <amount> to your Citi Card account within 7 days. This will be reflected in your account statement.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,,,
PWP_012,Customer Redemption for pay with points for an active primary card with already redeemed transactionReferenceNumber_Negative,Step 1,"Customer redemption for pay with points with invalid Reward Link Code, already redeemed transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: baf9ff7c-2b62-418b-a8ee-05660d5f5b8b
citiUUID: 78000990-5a60-46a0-a4a7-c67f93c398c3
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8e0308f32261
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:32:36 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:52:36 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""transactionAlreadyRedeemed"",
""details"":""Transaction is already redeemed""
}",Applicable,,,
PWP_013,Customer Redemption for pay with points for a card with redeemable Block Code at Card level_Positive,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,status:BLOCKED,,
PWP_014,Customer Redemption for pay with points for a card with irredeemable Block Code at Card level_Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,,
PWP_015,Customer Redemption for pay with points for an active primary card with amount and points below minimum limit set in merchant upload file _Negative,Step 1,"Customer redemption for pay with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount below minimum limit set in merchant upload file, currencyCode, pointsToRedeem below minimum limit set in merchant upload file & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""0.5"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""130"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: f5070250-f4c6-495b-87a2-f5286815d8f1
citiUUID: 78000990-23f2-4e93-9ee0-c67f93c34aca
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad91315cbf69bf
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:46:10 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:06:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""belowMinimumPointsAllowed"",
""details"":""Requested amount or points are less than allowed equivalent points""
}",Applicable,,,
PWP_016,Customer Redemption for pay with points for an active primary card with pointsToRedeem in decimal _Negative,Step 1,"Customer redemption for pay with points with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem in decimal & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500.01"",
""transactionDescription"":""PWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 101ed48f-7303-4ec3-9dcb-4a2adfe2becb
citiUUID: 78000990-622f-47f1-8492-c67f93c3fdfb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad91a82bf442fd
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:48:08 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:08:08 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}
",Not Applicable,,,
EPP Booking
EPP Booking
EPP Booking - /v1/creditCards/{cardId}/easyPaymentPlans/bookings
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
EPP_001,EPP Booking for Primary credit card for Pending Transaction_Positive,Step 1,"Trigger EPP Booking with Auth Code for Pending Transaction, tenor and epp Loan Booking Type as ""PENDING_TRANSACTION"".","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/752b5932686f394353787153447a303771376368347158624b4930624a4e593349416d485577617a7234493d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJj07UeSNz_rh-83orHydUKzrAManL3ZQytMkSbNtgz3vDPx_18C15xdnzgbIYjRTvCvHONQHER4xc1iFFGCCnmSdRcMjrc0FdrjIWEVMNLBYMQ63pPETS9Lkaw__gLC6YgpPh-Rqbf0Z3JE0kU8arkwMt2QtMe9wQbWkrSAaNZlfWQJrWSbxEQHdAAOwS8HFG4E1ss-7d4i4sPmEWQwWNSlJ71ZO6NcYshxrGcbzO6wfHHyMVJW3phZQQRlsIVowJo
uuid: a94c633d-b578-4ffe-b937-1285762f9068
Accept: application/json
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Type: application/json
Content-Length: 159
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""PENDING_TRANSACTION"",
""tenor"": ""12"",
""eppLoanBooking"": [
{
""transactionAuthorizationCode"": ""049152""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-0c68-428c-a76a-c67f93c3540e
Expires: -1
Pragma: no-cache
Uuid: a94c633d-b578-4ffe-b937-1285762f9068
X-Vcap-Request-Id: e8148d56-4308-4ffc-461b-42b8bc0bddc4,11efe9de-6b1e-4957-567a-df51096b959e
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d4a681a4b39bd5f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Wed, 07 Aug 2019 05:56:43 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 07-Aug-2019 06:16:43 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
EPP_004,EPP Booking for Primary credit card with Invalid Card ID_Negative,Step 1,Trigger EPP Booking with Invalid Card ID.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""TRANSACTION"",
""tenor"": 12,
""eppLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
citiUUID: 78000990-8af4-4585-b69c-c67f93c3b16c
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544543920552*btid=13817*guid=d431b2c0-70a6-4e37-a0bd-2865e2e72969*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdeaf00e9a6fd
X-Akamai-CITISITE: GTDC
Content-Length: 80
Date: Tue, 11 Dec 2018 15:58:40 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:18:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidCardId"",
""details"":""Card ID is invalid""
}",Applicable,,cardId
EPP_005,EPP Booking for Primary credit card with Invalid eppLoanBookingType_Negative,Step 1,Trigger EPP Booking with Invalid eppLoanBookingType.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""TRANSACTIONS"",
""tenor"": 12,
""eppLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4f3ffccb-254f-46a6-845b-7b93ef78772a
citiUUID: 78000990-7c84-4b85-a398-c67f93c3cee9
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544544202777*btid=13817*guid=7d1af8f5-7f55-4b21-9c52-22d2ef8cb08a*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdfc90041d4d1
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 11 Dec 2018 16:03:22 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:23:22 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,eppLoanBookingType
EPP_006,EPP Booking for Primary credit card with Invalid Tenor_Negative,Step 1,Trigger EPP Booking with Invalid Tenor.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""TRANSACTION"",
""tenor"": 11,
""eppLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4f3ffccb-254f-46a6-845b-7b93ef78772a
citiUUID: 78000990-7c84-4b85-a398-c67f93c3cee9
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544544202777*btid=13817*guid=7d1af8f5-7f55-4b21-9c52-22d2ef8cb08a*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdfc90041d4d1
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 11 Dec 2018 16:03:22 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:23:22 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,tenor
EPP Repayment Schedules
EPP Repayment Schedules
EPP Repayment Schedules - /v1/creditCards/{cardId}/easyPaymentPlans/repaymentSchedules
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
EPP_001,EPP Repayment Schedules for Primary credit card for Pending Transaction_Positive,Step 1,Trigger EPP Repayment Schedules with tenor and loanAmount.,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/752b5932686f394353787153447a303771376368347158624b4930624a4e593349416d485577617a7234493d/easyPaymentPlans/repaymentSchedules?tenor=12&loanAmount=800 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJj07UeSNz_rh-83orHydUKzrAManL3ZQytMkSbNtgz3vDPx_18C15xdnzgbIYjRTvCvHONQHER4xc1iFFGCCnmSdRcMjrc0FdrjIWEVMNLBYMQ63pPETS9Lkaw__gLC6YgpPh-Rqbf0Z3JE0kU8arkwMt2QtMe9wQbWkrSAaNZlfWQJrWSbxEQHdAAOwS8HFG4E1ss-7d4i4sPmEWQwWNSlJ71ZO6NcYshxrGcbzO6wfHHyMVJW3phZQQRlsIVowJo
uuid: 318dc8cb-6a3b-44b7-9ac4-bb66754a95db
Accept: application/json
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-af0b-4e75-b21b-c67f93c3d817
Expires: -1
Pragma: no-cache
Uuid: 318dc8cb-6a3b-44b7-9ac4-bb66754a95db
X-Vcap-Request-Id: a3b514cd-3add-4efd-70c2-ded79c6aacd1,ec727e8b-e661-4b27-76ed-5702cb9a8a8a
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d4a67fb2292895d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 07 Aug 2019 05:56:12 GMT
Content-Length: 168
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 07-Aug-2019 06:16:12 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""eppAmortizationSchedule"":[{""installmentNumber"":""1"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""2"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""3"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""4"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""5"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""6"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""7"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""8"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""9"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""10"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""11"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""12"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""}]}",Applicable,status:ACTIVE,
EPP_002,EPP Repayment Schedules for Primary credit card for Unbilled Transaction_Positive,Step 1,Trigger EPP Repayment Schedules with eppLoanBookingType as TRANSACTION.,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/752b5932686f394353787153447a303771376368347158624b4930624a4e593349416d485577617a7234493d/easyPaymentPlans/repaymentSchedules?tenor=12&loanAmount=800 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJj07UeSNz_rh-83orHydUKzrAManL3ZQytMkSbNtgz3vDPx_18C15xdnzgbIYjRTvCvHONQHER4xc1iFFGCCnmSdRcMjrc0FdrjIWEVMNLBYMQ63pPETS9Lkaw__gLC6YgpPh-Rqbf0Z3JE0kU8arkwMt2QtMe9wQbWkrSAaNZlfWQJrWSbxEQHdAAOwS8HFG4E1ss-7d4i4sPmEWQwWNSlJ71ZO6NcYshxrGcbzO6wfHHyMVJW3phZQQRlsIVowJo
uuid: 318dc8cb-6a3b-44b7-9ac4-bb66754a95db
Accept: application/json
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-af0b-4e75-b21b-c67f93c3d817
Expires: -1
Pragma: no-cache
Uuid: 318dc8cb-6a3b-44b7-9ac4-bb66754a95db
X-Vcap-Request-Id: a3b514cd-3add-4efd-70c2-ded79c6aacd1,ec727e8b-e661-4b27-76ed-5702cb9a8a8a
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d4a67fb2292895d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 07 Aug 2019 05:56:12 GMT
Content-Length: 168
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 07-Aug-2019 06:16:12 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""eppAmortizationSchedule"":[{""installmentNumber"":""1"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""2"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""3"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""4"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""5"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""6"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""7"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""8"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""9"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""10"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""11"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""12"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""}]}",Not Applicable,,
EPP_003,EPP Repayment Schedules for Primary credit card for Statement_Positive,Step 1,Trigger EPP Repayment Schedules with eppLoanBookingType as STATEMENT.,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/752b5932686f394353787153447a303771376368347158624b4930624a4e593349416d485577617a7234493d/easyPaymentPlans/repaymentSchedules?tenor=12&loanAmount=800 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJj07UeSNz_rh-83orHydUKzrAManL3ZQytMkSbNtgz3vDPx_18C15xdnzgbIYjRTvCvHONQHER4xc1iFFGCCnmSdRcMjrc0FdrjIWEVMNLBYMQ63pPETS9Lkaw__gLC6YgpPh-Rqbf0Z3JE0kU8arkwMt2QtMe9wQbWkrSAaNZlfWQJrWSbxEQHdAAOwS8HFG4E1ss-7d4i4sPmEWQwWNSlJ71ZO6NcYshxrGcbzO6wfHHyMVJW3phZQQRlsIVowJo
uuid: 318dc8cb-6a3b-44b7-9ac4-bb66754a95db
Accept: application/json
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-af0b-4e75-b21b-c67f93c3d817
Expires: -1
Pragma: no-cache
Uuid: 318dc8cb-6a3b-44b7-9ac4-bb66754a95db
X-Vcap-Request-Id: a3b514cd-3add-4efd-70c2-ded79c6aacd1,ec727e8b-e661-4b27-76ed-5702cb9a8a8a
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d4a67fb2292895d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 07 Aug 2019 05:56:12 GMT
Content-Length: 168
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 07-Aug-2019 06:16:12 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""eppAmortizationSchedule"":[{""installmentNumber"":""1"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""2"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""3"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""4"",""installmentAmount"":66.66,""principalAmount"":66.66,""installmentInterestAmount"":""0""},{""installmentNumber"":""5"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""6"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""7"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""8"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""9"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""10"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""11"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""},{""installmentNumber"":""12"",""installmentAmount"":66.67,""principalAmount"":66.67,""installmentInterestAmount"":""0""}]}",Not Applicable,,
EPP_004,EPP Repayment Schedules for Primary credit card for Invalid Card ID_Negative,Step 1,Trigger EPP Repayment Schedules with Invalid Card ID.,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/123/easyPaymentPlans/repaymentSchedules?tenor=48&loanAmount=1000 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzi0a5zwSZHoGIcmzjawwOssXlM9x0ANYPchyxqMKeiG1sRT44hqeCW15qr4l4bvKscKPvTMCM00-XmmPyBvo9JqdvaQY1vh4ByRZpEJ2sByfDfNkIIBiiK1HHNhlUSybs3lZQkW1ESGW7SlZY-sM4xl7h3uQkRBeLVkCuDuWvwGRsVtTnS613n1eZ3Jv7JXzi-QYbKh9lRLyLbniYtkeEr-ZR84wNWSNtizJ0Szu-yDijAnK3aqzE22lsPcRRm528
uuid: fe4be5ca-c281-4a4a-a527-79e608ecb4e4
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 08ad09cb-a8c7-4347-9aab-26a604664a98
citiUUID: 78000990-3aec-4975-9efd-c67f93c379c8
singularityheader: appId=241*ctrlguid=1558264035*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162424*ts=1559298867833*btid=20538*guid=3af2f6af-7b06-46ec-ae9d-f16484a88615*exitguid=2|1*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65cf103332155ea7d
X-Akamai-CITISITE: GTDC
Content-Length: 75
Date: Fri, 31 May 2019 10:34:27 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 31-May-2019 10:54:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidCardId"",
""details"":""Card is invalid""
}",Applicable,,cardId
EPP_005,EPP Repayment Schedules for Primary credit card for Invalid Loan Amount _Negative,Step 1,Trigger EPP Repayment Schedules with Invalid Loan Amount.,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/765a704f34665952394a364f626b595657473764674f49593536446f6a52424c4d387a65797837595577383d/easyPaymentPlans/repaymentSchedules?tenor=48&loanAmount=abcd HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzi0a5zwSZHoGIcmzjawwOssXlM9x0ANYPchyxqMKeiG1sRT44hqeCW15qr4l4bvKscKPvTMCM00-XmmPyBvo9JqdvaQY1vh4ByRZpEJ2sByfDfNkIIBiiK1HHNhlUSybs3lZQkW1ESGW7SlZY-sM4xl7h3uQkRBeLVkCuDuWvwGRsVtTnS613n1eZ3Jv7JXzi-QYbKh9lRLyLbniYtkeEr-ZR84wNWSNtizJ0Szu-yDijAnK3aqzE22lsPcRRm528
uuid: fe4be5ca-c281-4a4a-a527-79e608ecb4e4
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: fe4be5ca-c281-4a4a-a527-79e608ecb4e4
citiUUID: 78000990-48a5-4d20-adf0-c67f93c32711
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d0a338f2d84efbd
X-Akamai-CITISITE: GTDC
Content-Length: 108
Date: Wed, 19 Jun 2019 13:07:28 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 19-Jun-2019 13:27:28 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidTransactionAmount"",
""details"":""Easy payment plan amount is invalid""
}",Applicable,,loanAmount
EPP_006,EPP Repayment Schedules for Primary credit card for Invalid Tenor _Negative,Step 1,Trigger EPP Repayment Schedules with Invalid Tenor.,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/765a704f34665952394a364f626b595657473764674f49593536446f6a52424c4d387a65797837595577383d/easyPaymentPlans/repaymentSchedules?tenor=ad&loanAmount=1000 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzi0a5zwSZHoGIcmzjawwOssXlM9x0ANYPchyxqMKeiG1sRT44hqeCW15qr4l4bvKscKPvTMCM00-XmmPyBvo9JqdvaQY1vh4ByRZpEJ2sByfDfNkIIBiiK1HHNhlUSybs3lZQkW1ESGW7SlZY-sM4xl7h3uQkRBeLVkCuDuWvwGRsVtTnS613n1eZ3Jv7JXzi-QYbKh9lRLyLbniYtkeEr-ZR84wNWSNtizJ0Szu-yDijAnK3aqzE22lsPcRRm528
uuid: fe4be5ca-c281-4a4a-a527-79e608ecb4e4
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: fe4be5ca-c281-4a4a-a527-79e608ecb4e4
citiUUID: 78000990-d1b2-4995-99d6-c67f93c31374
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d0a34176aba7c9f
X-Akamai-CITISITE: GTDC
Date: Wed, 19 Jun 2019 13:09:43 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 19-Jun-2019 13:29:43 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidTenor"",
""details"":""Tenor is invalid""
}",Applicable,,tenor
SWP-Card Auth-Redemption Reversal
SWP-Card Auth-Redemption Reversal API
SWP-Card Auth-Redemption Reversal API-POST /v1/rewards/shopWithPoints/redemption/reversals
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SW_001,SWP Redemption Reversal_Trigger Reversal for a Redemption for an active card_Positive,Step 1,Trigger Reversal for a Redemption for an active card,"Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY42yj17Ss-tl2I927cfltmfA4oDE6nso82XSamS8sy-4WES4361cdGmco_7kfmfXOCrqolxBZItJ-Kn26QCWEnGWfeeg8EJHoRM3yDCcXS6Tr2CziaObSroOsdYSZovQD_XYSVTwf_fokQlJ7SE4bXgNNq9a5jwcSefXNsCsLKoCsfOLdkqidocHgSU9fJC1tCWpp5GlKPJGnWUZAR9IXDvM5p-U0S632VngZiq7VyJhYfzoOSlEBLvtpKWrxTX0aOcSE2hujGeoaRrK16iQ7Tbw
uuid: 955d40ab-8626-4672-ad9f-2125cd33bffd
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""665946697061434b2f72673564546d53344638697a664976767a723434395735385a7951505876583047343d"",
""orderId"": 2007571078,
""transactionReferenceNumber"": ""10001301""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: 955d40ab-8626-4672-ad9f-2125cd33bffd
citiUUID: 78000990-9338-4b18-ac61-c67f93c32d06
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d97015e1c806131
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 04 Oct 2019 08:22:56 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 08:42:56 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
SW_002,SWP Redemption Reversal_Trigger Reversal for a Redemption for a card with Block code_Positive,Step 1,Trigger Reversal for a Redemption for a card with Block code,"Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY48kOGoE8jZP8vZv-YcQpHkuWfghW5z5fCmKbodThDtjHHbnzL9005pDQALa5Fr8AWWzoV-fgBaRJChgdijS5ysm2NMD8fG-Ix3uVNiGxnys1q8kujbImuaZpHD9x7dootCMfPKw1Iqg9Sk5T6UE-JkWjqCt7qo_mP2iBXrabjXOUESFgx1Ch3oTTxYBxHXAQKnyPk9WeAfidD7bqDktZ7RqE0q-jJgNUfLMQEdujUpECoZBXAafwPA3tMvxGZZ4-pImQ_bYj1S2gvpn2IWpn8MQ
uuid: 6cf1ce81-28e3-41ac-b7b9-b1037183b177
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""665946697061434b2f72673564546d53344638697a664976767a723434395735385a7951505876583047343d"",
""orderId"": 2007571096,
""transactionReferenceNumber"": ""10001311""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: 6cf1ce81-28e3-41ac-b7b9-b1037183b177
citiUUID: 78000990-34aa-465c-824c-c67f93c3f437
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d97166aec5a26cf
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Fri, 04 Oct 2019 09:52:43 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 10:12:43 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status: Blocked,
SW_003,SWP Redemption Reversal_Trigger Reversal for an already Reversed Order ID_Negative,Step 1,Trigger Reversal for an already Reversed Order ID,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY48kOGoE8jZP8vZv-YcQpHkuWfghW5z5fCmKbodThDtjHHbnzL9005pDQALa5Fr8AWWzoV-fgBaRJChgdijS5ysm2NMD8fG-Ix3uVNiGxnys1q8kujbImuaZpHD9x7dootCMfPKw1Iqg9Sk5T6UE-JkWjqCt7qo_mP2iBXrabjXOUESFgx1Ch3oTTxYBxHXAQKnyPk9WeAfidD7bqDktZ7RqE0q-jJgNUfLMQEdujUpECoZBXAafwPA3tMvxGZZ4-pImQ_bYj1S2gvpn2IWpn8MQ
uuid: b4883227-e47c-46a5-b2a0-f1c65cf18734
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""665946697061434b2f72673564546d53344638697a664976767a723434395735385a7951505876583047343d"",
""orderId"": 2007571096,
""transactionReferenceNumber"": ""10001311""
}","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: b4883227-e47c-46a5-b2a0-f1c65cf18734
citiUUID: 78000990-4f4c-4215-9b54-c67f93c32fc9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d971718ec681bff
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 111
Date: Fri, 04 Oct 2019 09:55:40 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 10:15:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""transactionAlreadyReversed"",
""details"":""Transaction has already been redeemed""
}",Applicable,,transactionReferenceId
SW_004,SWP Redemption Reversal_Trigger Reversal for an Invalid Card ID_Negative,Step 1,Trigger Reversal for an Invalid Card ID,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY48kOGoE8jZP8vZv-YcQpHkuWfghW5z5fCmKbodThDtjHHbnzL9005pDQALa5Fr8AWWzoV-fgBaRJChgdijS5ysm2NMD8fG-Ix3uVNiGxnys1q8kujbImuaZpHD9x7dootCMfPKw1Iqg9Sk5T6UE-JkWjqCt7qo_mP2iBXrabjXOUESFgx1Ch3oTTxYBxHXAQKnyPk9WeAfidD7bqDktZ7RqE0q-jJgNUfLMQEdujUpECoZBXAafwPA3tMvxGZZ4-pImQ_bYj1S2gvpn2IWpn8MQ
uuid: 0c2d8b6d-181e-4287-9e6c-1b81a023788c
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""48663843484b356b7470783678442b5969664130494e69505245574f38472b785a794941454a6c6332484d3d"",
""orderId"": 2007571096,
""transactionReferenceNumber"": ""10001304""
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: 0c2d8b6d-181e-4287-9e6c-1b81a023788c
citiUUID: 78000990-2cf1-4bf7-9fb6-c67f93c39b28
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d9718eeec801fff
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Fri, 04 Oct 2019 10:03:27 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 10:23:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,cardId
SWP-Card Auth-Redemption Reversal
SWP-Card Auth-Redemption Reversal API
SWP-Card Auth-Redemption Reversal API-POST /v1/rewards/shopWithPoints/redemption/reversals
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SW_001,SWP Redemption Reversal_Trigger Reversal for a Redemption for an active card_Positive,Step 1,Trigger Reversal for a Redemption for an active card,"Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY42yj17Ss-tl2I927cfltmfA4oDE6nso82XSamS8sy-4WES4361cdGmco_7kfmfXOCrqolxBZItJ-Kn26QCWEnGWfeeg8EJHoRM3yDCcXS6Tr2CziaObSroOsdYSZovQD_XYSVTwf_fokQlJ7SE4bXgNNq9a5jwcSefXNsCsLKoCsfOLdkqidocHgSU9fJC1tCWpp5GlKPJGnWUZAR9IXDvM5p-U0S632VngZiq7VyJhYfzoOSlEBLvtpKWrxTX0aOcSE2hujGeoaRrK16iQ7Tbw
uuid: 955d40ab-8626-4672-ad9f-2125cd33bffd
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""665946697061434b2f72673564546d53344638697a664976767a723434395735385a7951505876583047343d"",
""orderId"": 2007571078,
""transactionReferenceNumber"": ""10001301""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: 955d40ab-8626-4672-ad9f-2125cd33bffd
citiUUID: 78000990-9338-4b18-ac61-c67f93c32d06
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d97015e1c806131
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 04 Oct 2019 08:22:56 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 08:42:56 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
SW_002,SWP Redemption Reversal_Trigger Reversal for a Redemption for a card with Block code_Positive,Step 1,Trigger Reversal for a Redemption for a card with Block code,"Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY48kOGoE8jZP8vZv-YcQpHkuWfghW5z5fCmKbodThDtjHHbnzL9005pDQALa5Fr8AWWzoV-fgBaRJChgdijS5ysm2NMD8fG-Ix3uVNiGxnys1q8kujbImuaZpHD9x7dootCMfPKw1Iqg9Sk5T6UE-JkWjqCt7qo_mP2iBXrabjXOUESFgx1Ch3oTTxYBxHXAQKnyPk9WeAfidD7bqDktZ7RqE0q-jJgNUfLMQEdujUpECoZBXAafwPA3tMvxGZZ4-pImQ_bYj1S2gvpn2IWpn8MQ
uuid: 6cf1ce81-28e3-41ac-b7b9-b1037183b177
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""665946697061434b2f72673564546d53344638697a664976767a723434395735385a7951505876583047343d"",
""orderId"": 2007571096,
""transactionReferenceNumber"": ""10001311""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: 6cf1ce81-28e3-41ac-b7b9-b1037183b177
citiUUID: 78000990-34aa-465c-824c-c67f93c3f437
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d97166aec5a26cf
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Fri, 04 Oct 2019 09:52:43 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 10:12:43 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status: Blocked,
SW_003,SWP Redemption Reversal_Trigger Reversal for an already Reversed Order ID_Negative,Step 1,Trigger Reversal for an already Reversed Order ID,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY48kOGoE8jZP8vZv-YcQpHkuWfghW5z5fCmKbodThDtjHHbnzL9005pDQALa5Fr8AWWzoV-fgBaRJChgdijS5ysm2NMD8fG-Ix3uVNiGxnys1q8kujbImuaZpHD9x7dootCMfPKw1Iqg9Sk5T6UE-JkWjqCt7qo_mP2iBXrabjXOUESFgx1Ch3oTTxYBxHXAQKnyPk9WeAfidD7bqDktZ7RqE0q-jJgNUfLMQEdujUpECoZBXAafwPA3tMvxGZZ4-pImQ_bYj1S2gvpn2IWpn8MQ
uuid: b4883227-e47c-46a5-b2a0-f1c65cf18734
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""665946697061434b2f72673564546d53344638697a664976767a723434395735385a7951505876583047343d"",
""orderId"": 2007571096,
""transactionReferenceNumber"": ""10001311""
}","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: b4883227-e47c-46a5-b2a0-f1c65cf18734
citiUUID: 78000990-4f4c-4215-9b54-c67f93c32fc9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d971718ec681bff
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 111
Date: Fri, 04 Oct 2019 09:55:40 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 10:15:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""transactionAlreadyReversed"",
""details"":""Transaction has already been redeemed""
}",Applicable,,transactionReferenceId
SW_004,SWP Redemption Reversal_Trigger Reversal for an Invalid Card ID_Negative,Step 1,Trigger Reversal for an Invalid Card ID,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption/reversals HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYTU4MzU5OGQtOTU1Ni00NjU1LWEzZTQtMjRiYTAwZDU5YTY48kOGoE8jZP8vZv-YcQpHkuWfghW5z5fCmKbodThDtjHHbnzL9005pDQALa5Fr8AWWzoV-fgBaRJChgdijS5ysm2NMD8fG-Ix3uVNiGxnys1q8kujbImuaZpHD9x7dootCMfPKw1Iqg9Sk5T6UE-JkWjqCt7qo_mP2iBXrabjXOUESFgx1Ch3oTTxYBxHXAQKnyPk9WeAfidD7bqDktZ7RqE0q-jJgNUfLMQEdujUpECoZBXAafwPA3tMvxGZZ4-pImQ_bYj1S2gvpn2IWpn8MQ
uuid: 0c2d8b6d-181e-4287-9e6c-1b81a023788c
Accept: application/json
client_id: a583598d-9556-4655-a3e4-24ba00d59a68
Content-Type: application/json
Content-Length: 175
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""48663843484b356b7470783678442b5969664130494e69505245574f38472b785a794941454a6c6332484d3d"",
""orderId"": 2007571096,
""transactionReferenceNumber"": ""10001304""
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: 0c2d8b6d-181e-4287-9e6c-1b81a023788c
citiUUID: 78000990-2cf1-4bf7-9fb6-c67f93c39b28
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d9718eeec801fff
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Fri, 04 Oct 2019 10:03:27 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 04-Oct-2019 10:23:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,cardId
Select and Credit Redemption
Card Auth - Select and Credit Redemption API - POST /v1/rewards/selectAndCredit/redemption
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Booking option to pay with points in the equivalent amount for an active card_Positive,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ","Success response of 200 should be received with available balance, transaction reference Id & Order ID.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzhVbchqMY0VMXyFrnBGdro91se9uow4-9lJxouc6YBaHauFSnpQ15V3FLjdB5105esvAakqaDy_sBvCxfQrWOQBLolN0Mf2ndROY9oyIdDpD4zPCE1XEmgMqrSusrCqXIe_FYZmamDUNNMpYfTMfP6AJOKOYmKjRjd7QvARQC7TpniCUoxMtzNvUwqLi8t3QdjmTJuJAttEhr8WltxIHk70Y_I91xEyrfEzvjZ2x3K1AR2ePStgiXmkftxcanfnGH
uuid: 6b8a411d-e9c1-4b09-bd0b-59a6fdac6ded
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""100"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 6b8a411d-e9c1-4b09-bd0b-59a6fdac6ded
citiUUID: 78000990-549c-4e67-9e74-c67f93c3e2dd
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce66c31033dbc71
X-Akamai-CITISITE: GTDC
Content-Length: 150
Date: Thu, 23 May 2019 09:47:33 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 10:07:33 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":1.947E4,
""redemptionDetails"":[
{
""transactionReferenceId"":""10001278"",
""orderId"":""2007527844""
}
]
}",Applicable,status:ACTIVE,
SWP_002,Verify card statement post batch and in the statement Credit posting should happen for PWP & not for SWP,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. Verify card statement post batch ","Success response of 200 should be received with available balance, transaction reference Id & Order ID.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQz2XINOlODEDcpDDlg6stKJqivvddiBJW570bPZXwgUQA_UIj_zJhV1N0SfsX97x9lglXeWaGEH6czBobbSK2CLyK14bWIStbVVXStLVnWa62o2NCvRDPVeZg3Ok7OQ0grFWqtR6Diut5eiZk_VQMxQbWHDvla3_zakx2oGFoDdqkjr_9zt3i-7KP55h5ZrTxcXvQ1d89NV67a3i1LZJoBZh0qobyfQX8oCGGmLXmTcB5QU7qWMnL6tlo5jywxg8Kx
uuid: 58cc0cf1-c5aa-4e57-9603-6a212b0b9e8e
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 329
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""4b716674787133684b56475843513275697479654f30615954433930305a555461366e667758765841746b3d"",
""transactions"": [
{
""transactionReferenceId"": ""18199"",
""transactionAmount"": ""50.08"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""12520"",
""transactionDescription"": ""Completed""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 58cc0cf1-c5aa-4e57-9603-6a212b0b9e8e
citiUUID: 78000990-d2de-49d8-be5d-c67f93c36772
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d121d36024f7475
X-Akamai-CITISITE: GTDC
Content-Length: 147
Date: Tue, 25 Jun 2019 13:10:18 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 25-Jun-2019 13:30:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":3.453E3,
""redemptionDetails"":[
{
""transactionReferenceId"":""18199"",
""orderId"":""2007531940""
}
]
}",Not Applicable,,
SWP_003,Booking option to pay with points in the equivalent amount for an Account leve With redeemable Block Code_Positive,Step 1,"Triggers redemption for with Account Level redeemable Blocked Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ","Success response of 200 should be received with available balance, transaction reference Id & Order ID.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzvW9FQC9pMZAeb2_9C9EnPaaq4_pGU5r1lKYWNz3uTYQYmkM1XrVFlRi0vz-3IsioBmE7iMfwrL1L-MX31_9A-AhBmy-m_qpJSYARolpuJMspGtpV7s7RoQQvn0FY_RwRgWBccuEgn1uwVgUlqBU1r_FAFd-SUl5HHpkybvCvH94vd2AMa5VZRQZxQ1Qb0kQ68NJfcE4fL_CkkW6GeDzlRAZaTiqIsnCv7iNVo1VCQ7htGqI0gxt7rBChdvGigUmD
uuid: 1fe7263c-5826-4575-b14d-3b7990f1f789
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""615a653345384b4b6754634f457644706e3163384e69524e77773646472f7975726979453130626861456b3d"",
""transactions"": [
{
""transactionReferenceId"": ""10001281"",
""transactionAmount"": ""100"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 1fe7263c-5826-4575-b14d-3b7990f1f789
citiUUID: 78000990-66e7-4fd6-a76c-c67f93c3878f
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cee8548327a44df
X-Akamai-CITISITE: GTDC
Content-Length: 148
Date: Wed, 29 May 2019 13:12:44 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 29-May-2019 13:32:44 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":2.5E4,
""redemptionDetails"":[
{
""transactionReferenceId"":""10001281"",
""orderId"":""2007529264""
}
]
}",Not Applicable,accountStatus:BLOCKED,
SWP_004,Booking option to pay with points in equivalent amount for an Account level With irredeemable Block Code_Negative,Step 1,"Triggers redemption for with Account Level irredeemable Blocked Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with notEligibleToRedeem error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzrhoFn0JLoqRGQQ0G0zuhbWhWuHyASBYe9Gj8prJjNkUeNlwibZRLgtSEs86rBsPcAIJiZ9Yhfx5zTsa2ZTmBK8Said_WWopcgZF2km-fXtm4TtNmC6woYy8ULDhqHe3VxWozlkKTiBmBff8eHqhcfjoedbZO43vfS0e2lHegQ7WghChMSVm9QkQNw5fF3veGi7moQIMSwe8A1tJVREMQpfGazJagPTTezogD5ZC2RkfBPWG58jgqVHbVfe3RYEvt
uuid: 57461ccf-a549-41be-a0b3-e309ccc553fc
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""615a653345384b4b6754634f457644706e3163384e69524e77773646472f7975726979453130626861456b3d"",
""transactions"": [
{
""transactionReferenceId"": ""10001281"",
""transactionAmount"": ""100"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 57461ccf-a549-41be-a0b3-e309ccc553fc
citiUUID: 78000990-45b6-40e8-ad1c-c67f93c3455b
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cee876701700da5
X-Akamai-CITISITE: GTDC
Date: Wed, 29 May 2019 13:21:44 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 29-May-2019 13:41:44 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,accountStatus:BLOCKED,
SWP_005,Booking option to pay with points in the equivalent amount for a closed Account_Negative,Step 1,Triggers redemption for with closed account.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQz97lm24K5prGz4Lxn6Bga7pZgx_Y5WdJv_4qSYjDpUZjybXcWBxYF5rAILzhdVr7EB_H440TPqvvm0mOIhU3HaBNpg2zefVNMzAJFKNn1QJ_e7iN8xsOktLpP7gIG5Ubij-EVeE3lOc1VWNlRvIFAO98NZMw3qqa-9dGvx6NXIKDU5BIK0rMDDt_z1gP63B-74SipppaIIS5_AiAuIQV0vpF2aAOp0k47Md3s8CCXN6CalQBSRjR7S0Br78skGSUp
uuid: f27383d6-1ce3-4f27-9cd4-c28b939e259b
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""615a653345384b4b6754634f457644706e3163384e69524e77773646472f7975726979453130626861456b3d"",
""transactions"": [
{
""transactionReferenceId"": ""10001284"",
""transactionAmount"": ""120"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""30000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: f27383d6-1ce3-4f27-9cd4-c28b939e259b
citiUUID: 78000990-d402-41f5-ae48-c67f93c38c60
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65cf60039383ea80d
X-Akamai-CITISITE: GTDC
Content-Length: 106
Date: Tue, 04 Jun 2019 05:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 04-Jun-2019 05:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,status:CLOSED,
SWP_006,Booking order triggered with invalid Card ID_Negative,Step 1,"Triggers redemption for with invalid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: b85fd5eb-2225-4c75-a2e0-b6717edce0dd
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 250
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""1234"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""10000"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""2500000"",
""transactionDescription"": ""Completed""
}
]
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b85fd5eb-2225-4c75-a2e0-b6717edce0dd
citiUUID: 78000990-708c-404d-9ffc-c67f93c3871f
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce634100a7523ed
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Thu, 23 May 2019 05:48:01 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 06:08:01 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,cardId
SWP_007,Booking order triggered with the insufficient point balance_Negative,Step 1,"Triggers redemption with Valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription For the more than card Point balance .",Response of 400 should be received with inSufficientPointBalance error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: 07d434ad-4469-4e7b-a184-3e07ecfa4b8a
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 332
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""1000"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""250000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 07d434ad-4469-4e7b-a184-3e07ecfa4b8a
citiUUID: 78000990-a4e0-4795-bc76-c67f93c32b6e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce62fcd0a64dd7d
X-Akamai-CITISITE: GTDC
Content-Length: 141
Date: Thu, 23 May 2019 05:29:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 05:49:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inSufficientPointBalance"",
""details"":""The order points cannot be more than available balance of the member""
}",Applicable,,availablePointBalance
SWP_008,Booking order trigerred with invalid points & amount combination_Negative,Step 1,Triggers redemption for with Valid Details along with with invalid points & amount combination,Response of 400 should be received with invalidPointsAndAmountCombination error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: 4b312517-c9d3-450d-bafe-5bc12d790bbe
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 332
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""60000"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""10000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 4b312517-c9d3-450d-bafe-5bc12d790bbe
citiUUID: 78000990-42b0-4a7b-b46d-c67f93c32e54
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce62efe0a60a05d
X-Akamai-CITISITE: GTDC
Date: Thu, 23 May 2019 05:26:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 05:46:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""InvalidPointsAndAmountCombination"",
""details"":""Points and amount combination are invalid""
}",Applicable,,transactionAmount
SWP_009,Booking order triggered with the point exceeding maximum amount_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount which is more than maximum amount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with exceedsMaximumPointsAllowed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: 0fc86a07-94ad-4d28-8f0b-e7f1dafd8443
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 334
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""10000"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""2500000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 0fc86a07-94ad-4d28-8f0b-e7f1dafd8443
citiUUID: 78000990-bf3e-4710-aaff-c67f93c3e9cb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce630510a66d4cd
X-Akamai-CITISITE: GTDC
Content-Length: 142
Date: Thu, 23 May 2019 05:32:01 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 05:52:01 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumPointsAllowed"",
""details"":""Requested amount or points are more than allowed equivalent points""
}
",Applicable,,maximumPointsToRedeem
SWP_010,Booking order triggered with invalid currency code_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, pointsToRedeem & transactionDescription and invalid currency code.",Response of 400 should be received with currencyNotSupported error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: 034e4dfe-51b7-4efe-8bc2-310e033eadbf
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 334
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""10000"",
""currencyCode"": ""IDR"",
""pointsToRedeem"": ""2500000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 034e4dfe-51b7-4efe-8bc2-310e033eadbf
citiUUID: 78000990-b0e5-4411-b9ce-c67f93c33778
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce630af0a68377d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Thu, 23 May 2019 05:33:36 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 05:53:36 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""currencyNotSupported"",
""details"":""Currency is not supported""
}
",Applicable,,currencyCode
SWP_011,Verify alerts post Redemption Alert should be send & Captured in MWS,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ","Success response of 200 should be received with available balance, transaction reference Id & Order ID.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzhMt9vFB8fW9nudh7r_hFd2VgT4tntTNx-JppGjG5tb7prztdCQVRH8LOZUg1tv10Sk0VCFMed_ceQe8XXZxGYEqwBm1vdECVjtlSMTRIpLz1JDJJ1lHmnOli6qpl87xjkDKa7rH1QIORX5Z0feKLRO2m5mDiHCKcsmkWZo_zbBTaA8yIuVFVYwbZyclojU8tO6qaS-eFsiK21Qo0n-NhxZmQGp_LkgHEaop4t-5mmUuc_UwIxRd2hwwutUXvYKr7
uuid: 08766ec5-bf9f-4808-82cf-c01801af1cf5
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""615a653345384b4b6754634f457644706e3163384e69524e77773646472f7975726979453130626861456b3d"",
""transactions"": [
{
""transactionReferenceId"": ""10001291"",
""transactionAmount"": ""100"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 08766ec5-bf9f-4808-82cf-c01801af1cf5
citiUUID: 78000990-07e9-4e20-9650-c67f93c3ba07
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d037c180f1364df
X-Akamai-CITISITE: GTDC
Content-Length: 148
Date: Fri, 14 Jun 2019 10:51:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 14-Jun-2019 11:11:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":0.0E0,
""redemptionDetails"":[
{
""transactionReferenceId"":""10001291"",
""orderId"":""2007530558""
}
]
}
",Not Applicable,,
SWP_012,Booking option to pay with points in the equivalent amount for a Card With Card Level redeemable Block Code_Positive,Step 1,"Triggers redemption for with Card Level redeemable Blocked Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ","Success response of 200 should be received with available balance, transaction reference Id & Order ID.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzNQBD4IggdJL4kYzAG1P5OUN9rUFXrEUgn142lBWyNVZbsW8BbKTp_ZLxcCk6cNqp1NINCMasPrdWaixJNJ-Tshygf43Hz_CEAR1KgKcdSILSDUx3cPM1utG7K1JnksJMdwYgw9MX_WCdNAkSl_C0sSJc5rXkojb1bf1scoYeIKbj9NPTSfE0pa85bEA2PwehMXBBi_ESqY7wrRrGP9zzpwpvdmP2KTsX0O-6WuQKh-DD229PGFOevRZ0DQXkZV_E
uuid: ce5493b1-8977-41b4-9e3b-2469ae182d14
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""615a653345384b4b6754634f457644706e3163384e69524e77773646472f7975726979453130626861456b3d"",
""transactions"": [
{
""transactionReferenceId"": ""10001280"",
""transactionAmount"": ""100"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: ce5493b1-8977-41b4-9e3b-2469ae182d14
citiUUID: 78000990-294c-4f96-b1e6-c67f93c32d80
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cee806d01699015
X-Akamai-CITISITE: GTDC
Content-Length: 148
Date: Wed, 29 May 2019 12:52:02 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 29-May-2019 13:12:02 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":5.0E4,
""redemptionDetails"":[
{
""transactionReferenceId"":""10001280"",
""orderId"":""2007529260""
}
]
}
",Not Applicable,accountStatus:BLOCKED,
SWP_013,Booking option to pay with points in equivalent amount for a Card with Card Level irredeemable Block Code_Negative,Step 1,"Triggers redemption for with Card Level irredeemable Blocked Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with notEligibleToRedeem error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQz3nWuoXQDILW6mCkMRsNnAE75vwO1q6BKl0gnUMBvI2psKyQuTF1z7o2Il1OGE1OfGf99PeFPvBig9GrlVOLQCqgiY7HyUa0hvVsjI6nNuCyYRq5X3OdJOktxqzNSIc7aGsmA18--pq58V0DAcAhPZ7pjzH5mJ96hbAYyh1bIBbTuN7EPouzLnRPFosOy3qW9bd3fvjtQbNlNzWStQ9txxWo8lN3ndN4CNP8M-2rATDC53XCZ5c_WGJseB1aP47wd
uuid: a9e7c253-261f-4831-b8c9-910651b8928f
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 330
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""615a653345384b4b6754634f457644706e3163384e69524e77773646472f7975726979453130626861456b3d"",
""transactions"": [
{
""transactionReferenceId"": ""10001280"",
""transactionAmount"": ""100"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a9e7c253-261f-4831-b8c9-910651b8928f
citiUUID: 78000990-1d04-4f0e-b2fc-c67f93c3d5e6
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cee827c32512b4f
X-Akamai-CITISITE: GTDC
Content-Length: 106
Date: Wed, 29 May 2019 13:00:46 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 29-May-2019 13:20:46 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}
",Not Applicable,accountStatus:BLOCKED,
SWP_014,Booking order triggered with the below minimum amount_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount which is more thanMinimum amount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with belowMinimumPointsAllowed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: bc9ca78e-3aa8-4243-b17c-b380847f21d2
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 328
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": ""10"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""2500"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: bc9ca78e-3aa8-4243-b17c-b380847f21d2
citiUUID: 78000990-82ad-49a3-b3b6-c67f93c32574
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce635e10a7bda9d
X-Akamai-CITISITE: GTDC
Content-Length: 140
Date: Thu, 23 May 2019 05:55:45 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 06:15:45 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""belowMinimumPointsAllowed"",
""details"":""Requested amount or points are less than allowed equivalent points""
}",Applicable,,minimumPointsToRedeem
SWP_015,Booking order triggered with the decimal point balance_Negative,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, transactionDescription along with invalid pointsToRedeem",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: 2acca361-5c9f-4d76-a6af-5199251ad856
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 328
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": "".01"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""2.5"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 2acca361-5c9f-4d76-a6af-5199251ad856
citiUUID: 78000990-de50-48cc-997a-c67f93c307e6
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce6368a0a7e4b5d
X-Akamai-CITISITE: GTDC
Content-Length: 296
Date: Thu, 23 May 2019 05:58:35 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 06:18:35 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,pointsToRedeem
SWP_016,Booking order triggered with already redeemed transactionReferenceNumber_Negative,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, transactionDescription along with invalid pointsToRedeem",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/selectAndCredit/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQzHITa1ffiZaxHnMrh43VhsXmOHoRjtd3a3DA3cC2mJ2Vx0BslWVebgT0y5mp4CB70dR0AmpGSHHLBRdK-yr-UxGV254_CxAWuV83CwnS4pmfzK8oVrccA7HX_kgXbA4f3sth23vCfN1hgl5bQd-q43tHPRDrNBPH0QY3FBChri4VL8b-VJDtFC9xqfJHSTSk8prh8S2nDmlxMQ07HsSais2uPWqH5GPVFr5S364NvagEsum_IKxFq5qKH0Y5Yv4Tl
uuid: 2acca361-5c9f-4d76-a6af-5199251ad856
Accept: application/json
client_id: 2a7db593-6f56-4545-8657-50ac80541843
Content-Type: application/json
Content-Length: 328
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""6678614c624331396d37484c674a4a6c2b68794354357177634c56596e5a724b4c786479447352494c4e773d"",
""transactions"": [
{
""transactionReferenceId"": ""10001278"",
""transactionAmount"": "".01"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""25"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 2acca361-5c9f-4d76-a6af-5199251ad856
citiUUID: 78000990-de50-48cc-997a-c67f93c307e6
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce6368a0a7e4b5d
X-Akamai-CITISITE: GTDC
Content-Length: 296
Date: Thu, 23 May 2019 05:58:35 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 06:18:35 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"": ""error"",
""code"": ""transactionAlreadyRedeemed"",
""details"": ""Transaction is already redeemed.""
}
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 2acca361-5c9f-4d76-a6af-5199251ad856
citiUUID: 78000990-de50-48cc-997a-c67f93c307e6
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ce6368a0a7e4b5d
X-Akamai-CITISITE: GTDC
Content-Length: 296
Date: Thu, 23 May 2019 05:58:35 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 23-May-2019 06:18:35 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"": ""error"",
""code"": ""transactionAlreadyRedeemed"",
""details"": ""Transaction is already redeemed.""
}",Applicable,,transactionReferenceNumber
Card Auth - Point Balance
PWP - Card Auth - Point Balance API
Card Auth - Point Balance API - POST /v1/creditCards/rewards/pointBalance/search
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
PointBalance_001,Customer Point Balance Inquiry for Shop With Points for an active primary card _Positive,Step 1,Triggers Point Balance Inquiry with valid Card Id.,"Success response of 200 should be received with Card id, displayCardNumber, availablePointBalance, programConversionRate, currencyCode, maximumPointsToRedeem & minimumPointsToRedeem.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/rewards/pointBalance/search HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkODAzMDNhNTItMzkxNC00NGU0LWJhYTAtOTliZDY1NzI3ZjkzaV7-CvCMqzC0EKD0d34S0t9lzGKcAFqeB7NSXrohyH6XFrNp2p2BVKrLLy-I-YNhiLJ7GgI0X6kSYlTlOwXLFao4RsWwi0mESOvpJRRL-71ylETYcjLDKyGduFOspK7AO_15Aq4ZqLmrXZkQJvOVUoNGHLgveQg7-xoVr54w3v_csbxe0bTzV3keM0m89-f0vzdvODaOpuWNB9fyovhvJ6f-0RrSh1plhNFss3T1gb-KLNkXW0f09Nul0-zOqR_q146LT7C6bCqY4rDsWRVg0g
uuid: 5fa65b6d-1834-4b95-92ae-d54e0593986f
Accept: application/json
client_id: 80303a52-3914-44e4-baa0-99bd65727f93
Content-Type: application/json
Content-Length: 145
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardDetails"": [
{
""cardId"": ""3974374153663058714c677743642f45645277547554764b6c4c426e49694b4e31537137504d6842512f343d""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 5fa65b6d-1834-4b95-92ae-d54e0593986f
citiUUID: 78000990-39fc-4346-9e74-c67f93c338c0
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c932c3506f93e8f
X-Akamai-CITISITE: GTDC
Content-Length: 383
Date: Thu, 21 Mar 2019 06:16:27 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 06:36:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardAccounts"":[
{
""cardId"":""3974374153663058714c677743642f45645277547554764b6c4c426e49694b4e31537137504d6842512f343d"",
""displayCardNumber"":""XXXXXXXXXXXX5764"",
""availablePointBalance"":8.0E4,
""programConversionRate"":2.5E-3,
""currencyCode"":""AUD"",
""maximumPointsToRedeem"":9.99999999999999E10,
""minimumPointsToRedeem"":1.0E0
}
]
}
",Applicable,codeActivationStatus:A,
PointBalance_002,Customer Point Balance Inquiry for Shop With Points for an active primary card with invalid card id _Positive,Step 1,Triggers Point Balance Inquiry with invalid Card Id.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/rewards/pointBalance/search HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkODAzMDNhNTItMzkxNC00NGU0LWJhYTAtOTliZDY1NzI3ZjkzaV7-CvCMqzC0EKD0d34S0t9lzGKcAFqeB7NSXrohyH6XFrNp2p2BVKrLLy-I-YNhiLJ7GgI0X6kSYlTlOwXLFao4RsWwi0mESOvpJRRL-71ylETYcjLDKyGduFOspK7AO_15Aq4ZqLmrXZkQJvOVUoNGHLgveQg7-xoVr54w3v_csbxe0bTzV3keM0m89-f0vzdvODaOpuWNB9fyovhvJ6f-0RrSh1plhNFss3T1gb-KLNkXW0f09Nul0-zOqR_q146LT7C6bCqY4rDsWRVg0g
uuid: 5fa65b6d-1834-4b95-92ae-d54e0593986f
Accept: application/json
client_id: 80303a52-3914-44e4-baa0-99bd65727f93
Content-Type: application/json
Content-Length: 145
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardDetails"": [
{
""cardId"": ""3974374153663058714c677743642f45645277547554764b6c4c426e49694b4e31537137504d6842512f343dqqqqqqqqqq""
}
]
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 156ed119-023a-4b17-a174-fc6a648a8123
citiUUID: 78000990-a79a-4a76-9a0b-c67f93c3e2cf
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c93398c0871b46f
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 07:13:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 07:33:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,cardId
SWP-Card Auth-Redemption
SWP-Card Auth-Redemption API
SWP-Card Auth-Redemption API - /v1/rewards/shopWithPoints/redemption
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer Redemption for Shop With Points for an active primary card _Positive,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ","Success response of 200 should be received with available balance, transaction reference Id & Order ID.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303d"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e66b28be-1615-4f19-bf16-48b21241209a
citiUUID: 78000990-ef05-42fd-993b-c67f93c37f98
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d07baeb4872a26f
X-Akamai-CITISITE: GTDC
Content-Length: 156
Date: Mon, 17 Jun 2019 16:08:17 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Mon, 17-Jun-2019 16:28:17 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":2.05E4,
""redemptionDetails"":[
{
""transactionReferenceId"":""190012078789036"",
""orderId"":""2007530776""
}
]
}",Applicable,status:ACTIVE,
SWP_002,Customer Redemption for Shop With Points for a primary card with account level block code_Negative,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with notEligibleToRedeem error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303d"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 07544b05-ab61-46ce-be55-fbe436e71174
citiUUID: 78000990-6e97-4df9-b657-c67f93c35476
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d07bd2f1f13372d
X-Akamai-CITISITE: GTDC
Content-Length: 106
Date: Mon, 17 Jun 2019 16:17:52 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Mon, 17-Jun-2019 16:37:52 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,accountStatus:BLOCKED,
SWP_003,Customer Redemption for Shop With Points for a primary card with card level block code_Negative,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with notEligibleToRedeem error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303d"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 07544b05-ab61-46ce-be55-fbe436e71174
citiUUID: 78000990-6e97-4df9-b657-c67f93c35476
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d07bd2f1f13372d
X-Akamai-CITISITE: GTDC
Content-Length: 106
Date: Mon, 17 Jun 2019 16:17:52 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Mon, 17-Jun-2019 16:37:52 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,cardStatus:BLOCKED,
SWP_004,Customer Redemption for Shop With Points for a primary card with closed card _Negative,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with notEligibleToRedeem error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303d"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 07544b05-ab61-46ce-be55-fbe436e71174
citiUUID: 78000990-6e97-4df9-b657-c67f93c35476
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d07bd2f1f13372d
X-Akamai-CITISITE: GTDC
Content-Length: 106
Date: Mon, 17 Jun 2019 16:17:52 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Mon, 17-Jun-2019 16:37:52 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,status:CLOSED,
SWP_005,Customer Redemption for Shop With Points for a primary card with invalid card Id_Negative,Step 1,"Triggers redemption for with invalid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 65d2ebe6-b3d0-4559-a3b8-744221440e93
citiUUID: 78000990-190a-4aec-b411-c67f93c3e8cb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c934bd37d6846cd
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Thu, 21 Mar 2019 08:31:16 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 08:51:16 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,cardId
SWP_006,Customer Redemption for Shop With Points for a primary card with insufficient Points _Negative,Step 1,"Triggers redemption for with invalid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with inSufficientPointBalance error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 3965b9d9-6c95-4fea-9eda-514bde7c2c4b
citiUUID: 78000990-1b42-4253-afa3-c67f93c3e200
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c934d251d5c2481
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 08:36:56 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 08:56:56 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inSufficientPointBalance"",
""details"":""The order points cannot be more than available balance of the member""
}",Applicable,,availablePointBalance
SWP_007,Customer Redemption for Shop With Points for a primary card with invalid Points & Amount combination _Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with invalidPointsAndAmountCombination error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""1"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 0d0bfe5b-8538-4be5-abaa-9923c2fb4569
citiUUID: 78000990-c6a4-4ed9-a233-c67f93c3d70b
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c9490a089a5142d
X-Akamai-CITISITE: GTDC
Content-Length: 123
Date: Fri, 22 Mar 2019 07:37:07 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 22-Mar-2019 07:57:07 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidPointsAndAmountCombination"",
""details"":""Points and amount combination are invalid""
}",Applicable,,transactionAmount
SWP_008,Customer Redemption for Shop With Points for a primary card with exceeding maximum point set in CPP_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with exceedsMaximumPointsAllowed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1000000"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""1000000000000000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: bf7b760c-cf85-4414-bc5c-b415bd6e062a
citiUUID: 78000990-6ebe-4c55-816d-c67f93c31e92
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c935b297dcb3b4d
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 09:36:42 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 09:56:42 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumPointsAllowed"",
""details"":""Requested amount or points are more than allowed equivalent points""
}",Applicable,,maximumPointsToRedeem
SWP_009,Customer Redemption for Shop With Points for a primary card with below minimum point set in CPP_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with belowMinimumPointsAllowed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""0.5"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""10"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: ed624a07-edec-4fd6-949f-11cb7a87f021
citiUUID: 78000990-c0f7-421e-8a46-c67f93c3591a
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c93604f7deb270d
X-Akamai-CITISITE: GTDC
Content-Length: 140
Date: Thu, 21 Mar 2019 09:58:40 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 10:18:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""belowMinimumPointsAllowed"",
""details"":""Requested amount or points are less than allowed equivalent points""
}",Applicable,,minimumPointsToRedeem
SWP_010,Customer Redemption for Shop With Points for a primary card with invalid Currency Code_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with currencyNotSupported error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""10"",
""currencyCode"": ""ABC"",
""pointsToRedeem"": ""1000"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 6ea7370c-0d97-42e6-ab75-a04619028bcf
citiUUID: 78000990-ec5f-4c1e-97dc-c67f93c3b12a
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c935c557dd1e99d
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 09:41:42 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 10:01:42 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""currencyNotSupported"",
""details"":""Currency is not supported""
}",Applicable,,currencyCode
SWP_011,Customer Redemption for Shop With Points for a primary card with pointsToRedeem in Decimal_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""10"",
""currencyCode"": ""ABC"",
""pointsToRedeem"": ""1000.01"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 590c0c97-9e4f-43af-8c6b-c3f225898817
citiUUID: 78000990-6aae-4e5b-8100-c67f93c3b139
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c9366e37e181e5d
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 10:26:44 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 10:46:44 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters"",
""moreInfo"":{
""fieldLevelErrors"":[
{
""fieldName"":""/*/transactions/pointsToRedeem"",
""reasonCode"":""invalidPattern"",
""errorMessage"":""Enter Valid Data""
}
]
}
}
",Applicable,,pointsToRedeem
SWP_012,Customer Redemption for Shop With Points for an active primary card and verify alerts_Positive,Step 1,"Triggers redemption for with valid Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ","Success response of 200 should be received with available balance, transaction reference Id & Order ID. Redemption Alert should to triggered to the registered primary mobile number.
Sample Alert - You have successfully redeemed 100 points, at a value of $1, towards your purchase at ""Merchant Name""","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303d"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""1"",
""currencyCode"": ""HKD"",
""pointsToRedeem"": ""100"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e66b28be-1615-4f19-bf16-48b21241209a
citiUUID: 78000990-ef05-42fd-993b-c67f93c37f98
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d07baeb4872a26f
X-Akamai-CITISITE: GTDC
Content-Length: 156
Date: Mon, 17 Jun 2019 16:08:17 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Mon, 17-Jun-2019 16:28:17 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":2.05E4,
""redemptionDetails"":[
{
""transactionReferenceId"":""190012078789036"",
""orderId"":""2007530776""
}
]
}",Not Applicable,,
SWP_013,Customer Redemption for Shop With Points for a primary card with already redeemed transactionReferenceNumber_Negative,Step 1,"Triggers redemption for with Card Id, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription. ",Response of 422 should be received with transaction already redeeemed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3acPCq-pOWowPGJesUeAiR-GXkRlQEA5lIcCFFQMo7rlOV69ZliwOwL_BH1YvNtzJgTPqxRNucEgf4oPqN5rYu7MRrtLw4B7lrPbGJOyyWyXYGlC0sLcMYXBHOFHSxxqTnzCVn8kMqEfyN24-Zw83ZCj_Wu7N3sGFNm_WTNz6Qrnh8wC_ZJOkqJ0kN52-RxIRp1L6qqUUuEb5Z1JjrPiO2XKH_RMkPjzPgCS92xIaJ9cK2-ZdrxxVEMkPa2u3LK_gatRf9M8wbnXSC8RCjMdmqw
uuid: e66b28be-1615-4f19-bf16-48b21241209a
Accept: application/json
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Type: application/json
Content-Length: 333
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardId"": ""2f72452b63314d776469483743632f6c45556e542f4f71536878464a534a486478314161553135687363303daaaaaa"",
""transactions"": [
{
""transactionReferenceId"": ""190012078789036"",
""transactionAmount"": ""10"",
""currencyCode"": ""ABC"",
""pointsToRedeem"": ""1000.01"",
""transactionDescription"": ""Completed""
}
]
}
","HTTP/1.1 422 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 590c0c97-9e4f-43af-8c6b-c3f225898817
citiUUID: 78000990-6aae-4e5b-8100-c67f93c3b139
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c9366e37e181e5d
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 10:26:44 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 10:46:44 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"": ""error"",
""code"": ""transactionAlreadyRedeemed"",
""details"": ""Transaction is already redeemed.""
}",Applicable,,transactionReferenceNumber
EPP Booking
EPP Booking
EPP Booking - /v1/creditCards/{cardId}/easyPaymentPlans/bookings
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
EPP_001,EPP Booking for Primary credit card for Pending Transaction_Positive,Step 1,"Trigger EPP Booking with Auth Code for Pending Transaction, tenor and epp Loan Booking Type as ""PENDING_TRANSACTION"".","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/752b5932686f394353787153447a303771376368347158624b4930624a4e593349416d485577617a7234493d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJj07UeSNz_rh-83orHydUKzrAManL3ZQytMkSbNtgz3vDPx_18C15xdnzgbIYjRTvCvHONQHER4xc1iFFGCCnmSdRcMjrc0FdrjIWEVMNLBYMQ63pPETS9Lkaw__gLC6YgpPh-Rqbf0Z3JE0kU8arkwMt2QtMe9wQbWkrSAaNZlfWQJrWSbxEQHdAAOwS8HFG4E1ss-7d4i4sPmEWQwWNSlJ71ZO6NcYshxrGcbzO6wfHHyMVJW3phZQQRlsIVowJo
uuid: a94c633d-b578-4ffe-b937-1285762f9068
Accept: application/json
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Type: application/json
Content-Length: 159
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""PENDING_TRANSACTION"",
""tenor"": ""12"",
""eppLoanBooking"": [
{
""transactionAuthorizationCode"": ""049152""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-0c68-428c-a76a-c67f93c3540e
Expires: -1
Pragma: no-cache
Uuid: a94c633d-b578-4ffe-b937-1285762f9068
X-Vcap-Request-Id: e8148d56-4308-4ffc-461b-42b8bc0bddc4,11efe9de-6b1e-4957-567a-df51096b959e
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d4a681a4b39bd5f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Wed, 07 Aug 2019 05:56:43 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 07-Aug-2019 06:16:43 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
EPP_004,EPP Booking for Primary credit card with Invalid Card ID_Negative,Step 1,Trigger EPP Booking with Invalid Card ID.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""TRANSACTION"",
""tenor"": 12,
""eppLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
citiUUID: 78000990-8af4-4585-b69c-c67f93c3b16c
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544543920552*btid=13817*guid=d431b2c0-70a6-4e37-a0bd-2865e2e72969*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdeaf00e9a6fd
X-Akamai-CITISITE: GTDC
Content-Length: 80
Date: Tue, 11 Dec 2018 15:58:40 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:18:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidCardId"",
""details"":""Card ID is invalid""
}",Applicable,,cardId
EPP_005,EPP Booking for Primary credit card with Invalid eppLoanBookingType_Negative,Step 1,Trigger EPP Booking with Invalid eppLoanBookingType.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""TRANSACTIONS"",
""tenor"": 12,
""eppLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4f3ffccb-254f-46a6-845b-7b93ef78772a
citiUUID: 78000990-7c84-4b85-a398-c67f93c3cee9
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544544202777*btid=13817*guid=7d1af8f5-7f55-4b21-9c52-22d2ef8cb08a*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdfc90041d4d1
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 11 Dec 2018 16:03:22 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:23:22 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,eppLoanBookingType
EPP_006,EPP Booking for Primary credit card with Invalid Tenor_Negative,Step 1,Trigger EPP Booking with Invalid Tenor.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""eppLoanBookingType"": ""TRANSACTION"",
""tenor"": 11,
""eppLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4f3ffccb-254f-46a6-845b-7b93ef78772a
citiUUID: 78000990-7c84-4b85-a398-c67f93c3cee9
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544544202777*btid=13817*guid=7d1af8f5-7f55-4b21-9c52-22d2ef8cb08a*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdfc90041d4d1
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 11 Dec 2018 16:03:22 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:23:22 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,tenor
Transaction Eligibility and Easy Payment Plans
EPP Eligibility
EPP Eligibility - /v1/creditCards/{cardId}/transactions/eligibility/easyPaymentPlan
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Validator
EPP_001,EPP Eligiblity for Primary credit card for the valid Request_Positive,Step 1,Trigger EPP Eligiblity with eligbleLoanAmount.,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/51706d6c5476756f44396158643867345879513367376846694775496934446d687a2b43336e44345845593d/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=1000000 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkZO52S32FZ_CJEl_o0_oHqqFD7iWS_kDJuvf0RiuYkqjmA1U_Xd74UK_t_jX5gl03k8hdnEwtOZJdsvwA1me9IAAzPjpiklkSMeumQhS5lV7YxXFRTERYTntt226NcAZBdKdbegzYMzIBQcw_37QW7337oMHvBJfeecFjnaqxOTW8chkr4WrgtegF7FZie6Xz1N1EpkBPQqiOzI6FRQ7IUqCp60uHSwvJ7StjX9bL0wlice9sXUOLJVcL5gS8JMXt
uuid: 35fa0c6b-b3af-4547-9bee-40729f754ec0
Accept: application/json
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 35fa0c6b-b3af-4547-9bee-40729f754ec0
citiUUID: 78000990-87ba-4898-865b-c67f93c37ea9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d80a6d26a360fdf
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 17 Sep 2019 09:26:44 GMT
Content-Length: 155
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 17-Sep-2019 09:46:44 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""easyPaymentPlan"":[
{
""tenor"":""3"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""6"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""9"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""12"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
},
{
""tenor"":""0"",
""oneTimeProcessingFeeAmount"":0.0E0,
""offerIndicator"":""FEE_BASED""
}
]
}",Applicable,status:ACTIVE,
EPP_002,EPP Eligiblity for Primary credit card for Invalid Card ID_Negative,Step 1,Trigger EPP Eligiblity with Invalid Card ID.,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/564dfssa/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=1000000 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkYvUw-bSTnSsctKyyVUt_dSv7wtAk3pQ-_1-sIPo9dJF_DBjwb-kwYU3kiPQQW5ECn1VrQ7wFqdhcxhgUY1W38z-qxOWEkGHxulxeZkT3seXCZ1LJG83DuUSBdvIY-8dI7kLOzdl5WE9pjNFrKkAeyN3bnN-8NYfD-E7VSu-CMCbWy-XPkkFs83nHyuW3ctzpvx6QvYQHjgkmQ_kvyiKAOUjK24FeqHUerAEambhK5bbzMJSLWoik_kAfSIuLPm8B
uuid: 553c242e-9e49-499b-a08a-a521e9460dbc
Accept: application/json
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 422 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 553c242e-9e49-499b-a08a-a521e9460dbc
citiUUID: 78000990-1d15-4fb9-87ec-c67f93c3b7dd
singularityheader: appId=241*ctrlguid=1568545673*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162424*ts=1568716137710*btid=20538*snapenable=true*guid=5bbc1e9b-a1b4-40f7-9729-2573f31e1bed*exitguid=1|12|0*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d80b5696b009bcf
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 75
Date: Tue, 17 Sep 2019 10:28:57 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 17-Sep-2019 10:48:57 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidCard"",
""details"":""Card is invalid""
}",Applicable,,cardID
EPP_003,EPP Eligiblity for Primary credit card and for Invalid eligbleLoanAmount_Negative,Step 1,Trigger EPP Eligiblity with invalid eligble Loan Amount.,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/51706d6c5476756f44396158643867345879513367376846694775496934446d687a2b43336e44345845593d/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=hjkisu HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkYvUw-bSTnSsctKyyVUt_dSv7wtAk3pQ-_1-sIPo9dJF_DBjwb-kwYU3kiPQQW5ECn1VrQ7wFqdhcxhgUY1W38z-qxOWEkGHxulxeZkT3seXCZ1LJG83DuUSBdvIY-8dI7kLOzdl5WE9pjNFrKkAeyN3bnN-8NYfD-E7VSu-CMCbWy-XPkkFs83nHyuW3ctzpvx6QvYQHjgkmQ_kvyiKAOUjK24FeqHUerAEambhK5bbzMJSLWoik_kAfSIuLPm8B
uuid: ac670c0c-a1a0-4f8c-8944-b287d27c412a
Accept: application/json
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 422 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: ac670c0c-a1a0-4f8c-8944-b287d27c412a
citiUUID: 78000990-e0e2-4539-9d4a-c67f93c3e932
singularityheader: appId=241*ctrlguid=1568545673*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162424*ts=1568714973892*btid=20538*guid=5783c4e0-7030-41af-a135-06942fb0fa52*exitguid=1|14|0*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d80b0dc6ad3e94f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Tue, 17 Sep 2019 10:09:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 17-Sep-2019 10:29:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidTransactionAmount"",
""details"":""Transaction amount is invalid""
}",Applicable,,loanAmount
EPP_004,EPP Eligiblity for Primary credit card and for Loan Amount less than the eligble Loan Amount_Negative,Step 1,Trigger EPP Eligiblity for Primary credit card and for Loan Amount less than the eligble Loan Amount,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/51706d6c5476756f44396158643867345879513367376846694775496934446d687a2b43336e44345845593d/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkXlXFTOms-8FLo0W51NRX9NhSD98ZTocQTwla_CFxsfuJ1miD8wvwl-H_heQcFg5rEW5D20H5NdRmBlHG0jWZoGUd0s97DpHDWYsPVT33asJK8h1puUsLppH5mhkJzJqc37M8IySUhyYfn_CzTXYT2Nl3cg9iYBr0jDqi-RylO0psIM2zNFH1sDlXJLgnNPgPQdihvZX3oAF7mREqzpb0GIyn1cGTK_u5Wm2xrm9WbRGt_GZXYtJUDZFcLsOZ9fZ3
uuid: 4881ccca-fe1e-4a67-a0cc-8a4ed959c5b7
Accept: application/json
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 4881ccca-fe1e-4a67-a0cc-8a4ed959c5b7
citiUUID: 78000990-2b24-4703-9331-c67f93c365de
singularityheader: appId=241*ctrlguid=1568545673*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162424*ts=1568724036723*btid=20538*guid=7082ca69-eb35-45f5-a086-c6b30e2e5216*exitguid=1|7|0*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d80d4446cc195ff
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 17 Sep 2019 12:40:37 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 17-Sep-2019 13:00:37 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid parameters""
}",Applicable,,loanAmountle
EPP_005,EPP Eligiblity for Primary credit card and for Loan Amount more than the eligble Loan Amount_Negative,Step 2,Trigger EPP Eligiblity for Primary credit card and for Loan Amount more than the eligble Loan Amount,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/594e7a707355415536704e70394a42764d735a376a64345a766e57683466395568794b364f2b2b762f39513d/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=1000000000 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNk-ambhuOcryvRIXjVLbK67-wkndL1Ze6bRJAKHL8muLIshIaPMkjepzBWGM85OE0lRITWdZn3s1qv8EGJJEziJzxCfYANfmu-kynJLMlrN18gQgF72aKNiBywCKTOARUzqAffa1EJwPD_oxbTUfkS_Ni-NwzYiz_83lN8AZz783SyVW6FLGB0SP5ZHMJzetA6ggrQf13jTudtVR4cwSP7wgg6VK--XPgjv23O9DYNnW4iCpxyZ-AVUj7S08PaElxu
uuid: aa5de644-204a-473c-9120-c001b45cec3b
Accept: application/json
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: aa5de644-204a-473c-9120-c001b45cec3b
citiUUID: 78000990-4f50-4093-a14a-c67f93c3a667
singularityheader: appId=241*ctrlguid=1568545673*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162424*ts=1569311824674*btid=20538*guid=58d8eec4-095f-40d0-b3fc-b3d70604b7f0*exitguid=1|3|0*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d89cc505a506e7f
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 24 Sep 2019 07:57:05 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Sep-2019 08:17:05 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid parameters""
}",Applicable,,loanAmountgt
EPP_Activate Card Access Token
Card Authorization Access Token API
Card Authorization Access Token POST- /cardAuth/oauth2/token/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping ,Field Indicator
CardAuth_001,Customer enrollment Activation for Shop With Points CardAuth for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 183
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=4b71524b647a6e594b6d2b4b47525565706855525471366a6737556a2b576b2b7866317945356b373179493d&linkageConfirmationCode=567351&scope=Card_Purchase","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
X-Global-Transaction-ID: c3937fc65dfc7fc8c626fd8f
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
X-Akamai-CONFIG-LOG-DETAIL: true
Akamai-Origin-Hop: 1
X-Forwarded-For: 199.67.131.148
X-Akamai-True-Client-IP: 199.67.131.148
Pragma: no-cache
Cache-Control: no-cache, max-age=0
X-DataStream-Session-Id: f317f6243-5dfc7fc8-96501547
X_AK_SHAPE_AGGREGATOR_IP: FALSE
dmz-global-txn-id: c3937fc65dfc7fc8c626fd8f
citiUUID:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST,GET,POST,PUT,DELETE
Content-Type: application/json
Access-Control-Allow-Headers: Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 20 Dec 2019 08:01:13 GMT
Content-Length: 675
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:21:13 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""token_type"":""Bearer"",""access_token"":""AAIkMjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4TiL7bD8AVlkofUnN9kWHxZ-tF3yOcW26R3kOSkiyKc8Gtj63-xM6MOyHrcJxjIQ_plPtxzPA1JVzjR4-3LOjPXbIj8NVYAplcQQzhvYZTslnCOQZtTDwrK0K73_AgWe6_1uwVG8ANxDd1KuJXqGR5n6osrGoVWMGqM50R4fXmFel4zFP__CRbISzseBuUcCnPzZ2qVFWDO3nhFBFLDtXE-vOUQy231A1ZeysW6FhZL1A0Vg9aM02vpUvl9okdwwg"",""expires_in"":2678400,""consented_on"":1576828872,""scope"":""Card_Purchase"",""refresh_token"":""AAJBrnqEBjfqrZIV-Zlnmcm2dDglfO1dGjHAsp2mjAAU_bOMtnHu9WRNyqreTPJlV68dmA6vHEj0KMgr3diXrxnCIslOYtzMOcLfMsrGnVMS287CSA8yOjGRl4XX78BgEMniwX4U-wkapo48i4ZT6eak_AsDTbYVtz0uYuOLCASD-G_gCxE6eGgFgsXG2c6lUo4ycc5mpypwLGZuH7Qm5AMHf_-ug4vcD1P2os4QcIqgIa3tCRtJ9Y2x06OcmvdEPY6Pzo_GiaQWRPDt3u4VjpsS"",""refresh_token_expires_in"":32140800,""cardId"":""306f73654264676b6c3968666d4d555642346e32726f546c556b4e62794750576771746d59312b496653513d""}",Applicable,codeActivationStatus:A,
CardAuth_002,Customer enrollment for Shop With Points CardAuth for an active Supplementary card _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,
CardAuth_003,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with invalid Confirmation Code(OTP) _Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with invalid Confirmation Code(OTP) .,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 6bc62b4b-3375-478c-a063-bd4132ab0c2f
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 183
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=44447570346b4b7539324e563373327a77446b743332494545504d49426d784579465273654f6b6c3832383d&linkageConfirmationCode=*12123&scope=Card_Purchase
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65dfc80712d062a3d
X-Akamai-CITISITE: GTDC
Date: Fri, 20 Dec 2019 08:04:01 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:24:01 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,otpFailureCount:WL,
CardAuth_004,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with expired Confirmation Code(OTP)_Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with Expired Confirmation Code(OTP) .,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 5bef4688-5e0e-4076-b3d3-195ba6c19fb7
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 181
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=7739534f736b6e642f46597033384f5975674e51623952686c49396a383742765566796c597139756e66733d&linkageConfirmationCode=294698&scope=epp_booking","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65e01c19e4395faed
X-Akamai-CITISITE: GTDC
Content-Length: 148
Date: Tue, 24 Dec 2019 07:43:27 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Dec-2019 08:03:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""linkageConfirmationCodeExpired"",""details"":""The linkage confirmation Code is expired . Link credit card to a merchant again""}",Applicable,otpFailureCount:EX,
CardAuth_005,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with invalid Grant Type _Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with invalid Grant Type .,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 62758e3d-ae91-4fce-b4ef-76d09c2aabe8
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 172
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=invalid&controlFlowId=49574542476c684c6f39374e4143304d4e687677647232562f306d617a6c6a49756771665a793371744d493d&linkageConfirmationCode=494664&scope=Card_Purchase","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65dfc82ae2d10978d
X-Akamai-CITISITE: GTDC
Date: Fri, 20 Dec 2019 08:13:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:33:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Not Applicable,grant_type,
CardAuth_006,Customer enrollment Activation for Shop With Points CardAuth for an active primary card with invalid Scope _Negative,Step 1,Trigger Card Auth Service with Valid Active Primary Card with invalid Scope.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 087267f6-9b17-43cf-b245-946382bd4117
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=59343370676644416866662f49364e6c4d6a7732756f6c354b4b48583261597a6c62306b616863494336773d&linkageConfirmationCode=632759&scope=invalid","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65dfc82bf2d0ee2ed
X-Akamai-CITISITE: GTDC
Date: Fri, 20 Dec 2019 08:13:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:33:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Not Applicable,scope,
CardAuth_007,Customer enrollment Activation for Shop With Points CardAuth for an active primary card for more than the maximum attempt _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with exceeds Maximum Attempts Error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: cb91d575-7d66-495f-a3f4-d75898abc34c
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 181
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=5458546c6b754f34763675753659786a2f30754e326476743777685031466c35454a3431636d7a594e6d633d&linkageConfirmationCode=155555&scope=epp_booking","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Global-Transaction-ID: c3937fc65e01bc34f75bc73f
X-Akamai-CITISITE: GTDC
Date: Tue, 24 Dec 2019 07:20:20 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Dec-2019 07:40:20 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""exceedsMaximumAttempts"",""details"":""Maximum attempts exceeded for activation. Link credit card to a merchant again""}",Applicable,otpFailureCount:LE,
CardAuth_008,Customer enrollment Activation for Shop With Points CardAuth for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/token/HK/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4OkgxaE02bVIxc1Y3Y0cxY0cyclk3ckoxYUE0ZE0wcVIyeU80clk3Z0Q4cUc3Yk4xYlk2
Content-Type: application/x-www-form-urlencoded
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
client_id: 291d5dab-3de5-4829-850b-5e5e317cad98
Content-Length: 183
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=card_authorization&controlFlowId=4b71524b647a6e594b6d2b4b47525565706855525471366a6737556a2b576b2b7866317945356b373179493d&linkageConfirmationCode=567351&scope=Card_Purchase","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
X-Global-Transaction-ID: c3937fc65dfc7fc8c626fd8f
Accept: application/json
uuid: 7354b979-dd17-45de-8225-6fd375b11cee
X-Akamai-CONFIG-LOG-DETAIL: true
Akamai-Origin-Hop: 1
X-Forwarded-For: 199.67.131.148
X-Akamai-True-Client-IP: 199.67.131.148
Pragma: no-cache
Cache-Control: no-cache, max-age=0
X-DataStream-Session-Id: f317f6243-5dfc7fc8-96501547
X_AK_SHAPE_AGGREGATOR_IP: FALSE
dmz-global-txn-id: c3937fc65dfc7fc8c626fd8f
citiUUID:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Accept,Accept-Language,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST,GET,POST,PUT,DELETE
Content-Type: application/json
Access-Control-Allow-Headers: Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 20 Dec 2019 08:01:13 GMT
Content-Length: 675
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 20-Dec-2019 08:21:13 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""token_type"":""Bearer"",""access_token"":""AAIkMjkxZDVkYWItM2RlNS00ODI5LTg1MGItNWU1ZTMxN2NhZDk4TiL7bD8AVlkofUnN9kWHxZ-tF3yOcW26R3kOSkiyKc8Gtj63-xM6MOyHrcJxjIQ_plPtxzPA1JVzjR4-3LOjPXbIj8NVYAplcQQzhvYZTslnCOQZtTDwrK0K73_AgWe6_1uwVG8ANxDd1KuJXqGR5n6osrGoVWMGqM50R4fXmFel4zFP__CRbISzseBuUcCnPzZ2qVFWDO3nhFBFLDtXE-vOUQy231A1ZeysW6FhZL1A0Vg9aM02vpUvl9okdwwg"",""expires_in"":2678400,""consented_on"":1576828872,""scope"":""Card_Purchase"",""refresh_token"":""AAJBrnqEBjfqrZIV-Zlnmcm2dDglfO1dGjHAsp2mjAAU_bOMtnHu9WRNyqreTPJlV68dmA6vHEj0KMgr3diXrxnCIslOYtzMOcLfMsrGnVMS287CSA8yOjGRl4XX78BgEMniwX4U-wkapo48i4ZT6eak_AsDTbYVtz0uYuOLCASD-G_gCxE6eGgFgsXG2c6lUo4ycc5mpypwLGZuH7Qm5AMHf_-ug4vcD1P2os4QcIqgIa3tCRtJ9Y2x06OcmvdEPY6Pzo_GiaQWRPDt3u4VjpsS"",""refresh_token_expires_in"":32140800,""cardId"":""306f73654264676b6c3968666d4d555642346e32726f546c556b4e62794750576771746d59312b496653513d""}",Not Applicable,,
EPP_Enroll and Generate Card Access Token
Card Authorization API
Card Authorization POST /cardAuth/oauth2/authorize/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
CardAuth_001,Customer enrollmentfor Shop With Points for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Applicable,status:ACTIVE,
CardAuth_002,Customer enrollmentfor Shop With Points for an active Supplementary card _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/vn/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YmZjYWI4ZmUtODg1ZC00ZDg3LWJjYTYtYzY2NzRhOTUyNmNkOk83bksybE8zb0g3ZU00cFIxZE80bVA3bEswcEIwaFExYVgzeUIyakExeEw4cUg4cVUz
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: c0838d87-2f77-465f-8bfa-cedd0e1ed2d2
client_id: bfcab8fe-885d-4d87-bca6-c6674a9526cd
Content-Length: 167
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""8355"",
""citiCardHolderPhoneNumber"":""840265454545"",
""merchantCustomerReferenceId"": ""1532468""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Max-Age: 2147483647
uuid: c0838d87-2f77-465f-8bfa-cedd0e1ed2d2
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d89ba4458fe2e9f
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 84
Date: Tue, 24 Sep 2019 06:40:05 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 24-Sep-2019 07:00:05 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,cardHolder:Supplimentary,
CardAuth_003,Customer enrollmentfor Shop With Points for an active primary card with invalid card number_Negative,Step 1,Trigger Card Auth Service with Customer invalid last 4 digit card number and valid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,,lastFourDigitsCardNumber
CardAuth_004,Customer enrollmentfor Shop With Points for an active primary card with invalid mobile number_Negative,Step 1,Trigger Card Auth Service with Customer valid last 4 digit card number and invalid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}",Applicable,,citiCardHolderPhoneNumber
CardAuth_005,Customer enrollmentfor Shop With Points for a primary card with account level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,Status: Account Blocked
CardAuth_006,Customer enrollmentfor Shop With Points for a primary card with card level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}",Not Applicable,,Status: Card Blocked
CardAuth_007,Customer enrollmentfor Shop With Points for a primary card with account in Dormant state_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Not Applicable,,Status: Account Dormant
CardAuth_008,Customer enrollmentfor Shop With Points for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
Sample Alert : We have received your request to register your ""Merchant name"" Credit Card. Your One Time PIN code is 228379 Enter this One Time PIN to activate your account. ","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}",Not Applicable,,
Insurance_Customer Profile
Insurance_Customer Profile
Insurance_Customer Profile API-GET /partner/v1/customers/profiles
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
IPP_CustomerProfile_001,IPP_CustomerProfile_OTP Required,step 1,Trigger CustomerProfile API,"response of 403 with details ""MFA is required""","GET https://aspac.sandbox.api.citi.com/gcbap/api/partner/v1/customers/profiles HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-1b2a-4dd2-954b-c67f93c3d875
Accept-Language: en_HK
X-Global-Transaction-ID: c3937fc65d833d8103bfdcc1
mfaCode: u0we6WdYvu9sMNfDhMSM2PyhmE5o7hlu5s%2B2wNgvVFEtufZV2P9JHdAYo68RHe3Y1eJCZhfCfaA%2BJvNOr%2FrZQm4kQRRVBrjRgB5l6vFDLOpZ8tdBgbVOtgadrepTXM%2BuQsyQvTwnT5un%2B1ETRsVSbd8hd2W3M9hdEKJBdy%2BEUkIZ%2B2irbki2cejd1tVCBxg9D1eVQ3snypPWEULOsYLNA7bvem6AT1HT5cXNVEKBJISTB4aatOaXwEzCs7q1TxzbGfyMvviQK4Cg8jQXjHnPv8SCchMOLpqp%2B6H4daA7MJtNMx91K3z1pfpkKMjWrzSTuLv8yM8cdxHwsPATptiZOBTGYScQiZFo5%2BJqNG0sNRpO8OYzM%2Bx3rWLxK4gs%2B7kWiXTb8SfoDc%2BCjeBwlj%2BMN3c4m1QjM0LRPiBQ01mCgJDqHeS1NJMtxVJuce9UqOINcEkAx90NaKKW7HmgDeUutHo65otSK%2Fv4iX2PTyz7FiiJmmiTEnZHw5usR1ePQoEq2WQeSPgM5jhq7PeEXXsuODzJmfKWCKEikCcmdQI9Wikb2sGSqpfEwb3FdSakG7hqIvs%2Ft7SIzrXBxgRzIslBdqqahMipI7OheAcHQJ0sZuFU%2BxWe50zIRNrDHEqclLt3U4eCH5goYbkK53%2BclTjfVRpZktS%2FiPrEKrzwfFsnw%2Bw%3D
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 194
Date: Thu, 19 Sep 2019 08:34:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:54:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""maskedPhoneNumber"":""XXXXXXXX1234""},""otpDeliveryOption"":[""SMS""]}}"
IPP_CustomerProfile_002,IPP_CustomerProfile_Positive,step 1,Trigger CustomerProfile API after inputting OTP,Success response of 200 should be received.,"GET https://aspac.sandbox.api.citi.com/gcbap/api/partner/v1/customers/profiles HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-0dc8-4a63-8d2e-c67f93c3e86c
singularityheader: appId=241*ctrlguid=1568545673*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162402*ts=1568882088436*btid=20538*guid=7e37b334-05f9-4950-90db-483f7e2a9985*exitguid=1|6|0*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Vary: Accept-Encoding
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833da801e4b5b5
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Encoding: gzip
Date: Thu, 19 Sep 2019 08:34:48 GMT
Content-Length: 759
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:54:48 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""customerParticulars"":{
""names"":[
{
""lastName"":null,
""nameType"":""ENGLISH_NAME""
},
{
""firstName"":""KXNXRX"",
""lastName"":""HXAXG"",
""nameType"":""LOCAL_NAME""
},
{
""firstName"":"" "",
""lastName"":"" "",
""nameType"":""SPECIAL_NAME""
}
],
""gender"":""FEMALE""
},
""demographics"":{
""dateOfBirth"":""1991-10-01"",
""nationality"":""PH"",
""maritalStatus"":""SINGLE""
},
""addressList"":[
{
""addressline1"":""FXT 2XF TXWXR 1"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""LEGAL_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
},
{
""addressline1"":""FXT 2XF TXWXR 1"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""HOME_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
},
{
""addressline1"":""FXT 2XF TXWXR 1"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""HOME_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
},
{
""addressline1"":""FXT PXCXFXC AXRXAX LXD"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""OFFICE_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
}
],
""phones"":[
{
""phoneType"":""HOME_PHONE_NUMBER"",
""phoneNumber"":""871843651234"",
""phoneCountryCode"":""123""
},
{
""phoneType"":""BUSINESS_PHONE_NUMBER"",
""phoneNumber"":""873823031234"",
""phoneCountryCode"":""123""
},
{
""phoneType"":""PRIMARY_MOBILE_NUMBER"",
""phoneNumber"":""874420041234"",
""phoneCountryCode"":""123""
}
],
""identificationDocumentDetails"":[
{
""idType"":""HONGKONG_ID"",
""primaryIdFlag"":true,
""idNumber"":""P3346831""
}
],
""educationDetails"":{
""highestEducationLevel"":""UNIVERSITY_OR_ABOVE""
},
""employmentDetails"":[
{
""employerName"":""HXUXEXIXE PXCXFXC AXRXAX LXD"",
""occupationCode"":""FLIGHT_ATTENDANT"",
""industryCode"":""MISCELLANEOUS""
}
],
""financialInformation"":{
""incomeDetails"":[
{
""incomeType"":""DECLARED_FIXED"",
""variableAmount"":0.0E0,
""frequency"":""ANNUALLY""
},
{
""incomeType"":""DEPOSIT_INCOME"",
""fixedAmount"":0.0E0,
""frequency"":""ANNUALLY""
}
]
}
}"
Card Listing
Card Listing
Card Listing API-GET /v1/cards/
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
CA_001,Card Listing_Get List of Credit cards_Primary_Postive,Step 1,Trigger Card Listing to get list of Primary credit cards,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=ALL HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 1eb2c14a-d12f-4f25-b30c-a41891102603
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-fe9c-4231-9ae5-c67f93c3ee57
Expires: -1
Pragma: no-cache
Uuid: 1eb2c14a-d12f-4f25-b30c-a41891102603
X-Vcap-Request-Id: 85a37378-e3f1-433d-4a45-7234574df2ac,d5b7c888-51cf-45b6-4f52-3c26fe481284
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca488610c956a1
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 05:52:07 GMT
Content-Length: 815
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:12:07 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""CREDIT_LIMIT_INCREASE""},{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""E_STATEMENT""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""ADD_SUPPLEMENTARY_CARD""},{""cardFunction"":""EPP_BOOKING""},{""cardFunction"":""LOP_BOOKING""},{""cardFunction"":""CARD_PAYMENT""},{""cardFunction"":""CREDIT_LIMIT_DECREASE""},{""cardFunction"":""ACCOUNT_CLOSURE""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0},{""cardId"":""4e75706a6b6e727956764e455447342b4d77676478744e5275423077584a6f6d564879347a4447537875343d"",""displayCardNumber"":""2385"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED""},{""cardId"":""3957566a35316138497165667a72524a55496269374c7756747459727266493879506132615066304d30513d"",""displayCardNumber"":""7889"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED_VOLUNTARY""},{""cardId"":""304c44556d737550626d4d374a49634a684d44432f786a7635594d5636324258547761344e6842526844593d"",""displayCardNumber"":""9091"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED_VOLUNTARY""}]}",Applicable,,
CA_002,Card Listing_Get List of Credit cards_SupplementaryCard_Postive,Step 1,Trigger Card Listing to get list of Supplementary credit cards,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=All HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0BVsH2mQO5GxK469fPfbCtDNxgJqOkSFMbBuXXbbyvpcxasXSy-h4syuhqapjENysA_-NCp3MhwJ5m7O0TFbjigvpVPX4inh2gkcdAIoRcIW_J0rJ5BtXuGDLBc1lDVH3dAidrtLxR6wNQTbmhOhRiJZbKsvZxFbatD3-KnzJwtae_lJ1c-pcUj2U8IWADBYEVwJuImLr2lASEZcoT-E-mc8lzxcobC3S37SZAoOrxmU
uuid: ea68970e-f23a-4c3a-a6b9-86b35876392b
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-e35b-4804-a2cf-c67f93c3a80c
Expires: -1
Pragma: no-cache
Uuid: ea68970e-f23a-4c3a-a6b9-86b35876392b
X-Vcap-Request-Id: 1a646306-927a-452b-6d08-a3f097cde76e,3785c0fd-73dc-4fab-72d6-5140cc002bce
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca54d22afb39dd
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 833
Date: Tue, 12 Nov 2019 06:44:35 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 07:04:35 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""556c7536426f37447873324c6b69796c47727554556474695536377148637259714d554c6b586c306b766f3d"",""displayCardNumber"":""2048"",""localCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":7900.0,""maximumPermanentCreditLimitAmount"":8058.0,""maximumTemporaryCreditLimitAmount"":15800.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""NAN LOYTEST"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_003,Card Listing_Get List of Credit cards_Primary and Supplementary_different customer_Postive,Step 1,Trigger Card Listing to get list of Primary and Supplementary credit cards under different customer,"Success response of 200 should be received.
","GET https://uat2consumerapi.apac.nsroot.net/v1/cards?cardFunction=ALL&linkedSupplementaryCardIndicator=Y HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 2d2786c3-e4f9-4d0d-adb4-00334469d98f
Accept: application/json
countryCode: AU
businessCode: QCC
channelId: SSA
sid: 59447711-fa65-4857-bd6c-bad2ffa53d63
i-cif: 312935357
consumerOrgCode: QANTAS
Host: uat2consumerapi.apac.nsroot.net
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
Server:
Date: Tue, 12 Nov 2019 06:58:03 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 974
Connection: keep-alive
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: cefaff58-8665-4433-b9e2-92a444ea1df1
Expires: -1
Pragma: no-cache
Sid: 59447711-fa65-4857-bd6c-bad2ffa53d63
Uuid: 2d2786c3-e4f9-4d0d-adb4-00334469d98f
X-Vcap-Request-Id: e5447ad5-31b3-4078-5dba-e21b01ad0b77
X-Vcap-Request-Id: 861fc013-7fcc-498a-4b77-b9a069148043
Strict-Transport-Security: max-age=31536000
{""cardDetails"":[{""cardId"":""476f2f6c4d673232596f49744776674552535747714f6847344e4c4f67716d73716c6b524a5469717a62733d"",""displayCardNumber"":""2048"",""localCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":7900.0,""maximumPermanentCreditLimitAmount"":8058.0,""maximumTemporaryCreditLimitAmount"":15800.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""NAN LOYTEST"",""organization"":""686"",""logo"":""747"",""primaryCardId"":""5035674352783355545358717738726a436e426c524e4d30455a546455796c5a47464872527270705750383d"",""displayPrimaryCardNumber"":""8185"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_004,Card Listing_Get List of Credit cards_Primary and Supplementary_ under same customer_Postive,Step 1,Trigger Card Listing to get list of Primary and Supplementary credit cards under same customer,"Success response of 200 should be received.
","GET https://uat2consumerapi.apac.nsroot.net/v1/cards?cardFunction=ALL HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: d01bb829-f092-426b-b7db-2d64704f2c0e
Accept: application/json
countryCode: AU
businessCode: CFS
channelId: MBK
sid: da602d2e-d73c-4a63-a0f9-26689319ca6e
i-cif: 320007124
consumerOrgCode: COLES
Host: uat2consumerapi.apac.nsroot.net
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
Server:
Date: Tue, 12 Nov 2019 07:09:57 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 2be541c4-0d56-431f-ac69-f940e4d07376
Expires: -1
Pragma: no-cache
Sid: da602d2e-d73c-4a63-a0f9-26689319ca6e
Uuid: d01bb829-f092-426b-b7db-2d64704f2c0e
X-Vcap-Request-Id: e4e6d81c-ee50-45cd-6ce0-70ea0fe9efc8
X-Vcap-Request-Id: 517660f5-9c2a-4161-6f91-7938077e75b2
Strict-Transport-Security: max-age=31536000
{""cardDetails"":[{""cardId"":""37437158597a5134464278717136725a69363267544d51454a776444415830497a2b6e4f4a3764684165553d"",""displayCardNumber"":""3272"",""localCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":20000.0,""minimumCreditLimitDecreaseAmount"":0.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""ED-5037 EMB NAME 1"",""organization"":""687"",""logo"":""635"",""cardPlasticType"":""PAYTAG"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0,""linkedSupplementaryCardFlag"":true},{""cardId"":""6f394c42693449596f79444747765252376b78522b4d376e79583035304b53784e70517059584b554833593d"",""displayCardNumber"":""7271"",""localCardActivationIndicator"":""LOCK"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":20000.0,""minimumCreditLimitDecreaseAmount"":0.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""ED-5037 EMB NAME 1"",""organization"":""687"",""logo"":""635"",""cardPlasticType"":""PAYTAG"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0,""linkedSupplementaryCardFlag"":true},{""cardId"":""77556e364c694e5a3836364344654272697436704658306672366e67726c7741742b677366797355764e673d"",""displayCardNumber"":""0502"",""localCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":20000.0,""minimumCreditLimitDecreaseAmount"":0.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardIssueReason"":""NEWLY_ONBOARDED_CARD"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""ED-0503 EMB NAME 1"",""organization"":""687"",""logo"":""635"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_005,Card Listing_Get List of Credit cards passing card function as ALL_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as ALL,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=ALL HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 1eb2c14a-d12f-4f25-b30c-a41891102603
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-fe9c-4231-9ae5-c67f93c3ee57
Expires: -1
Pragma: no-cache
Uuid: 1eb2c14a-d12f-4f25-b30c-a41891102603
X-Vcap-Request-Id: 85a37378-e3f1-433d-4a45-7234574df2ac,d5b7c888-51cf-45b6-4f52-3c26fe481284
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca488610c956a1
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 05:52:07 GMT
Content-Length: 815
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:12:07 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""CREDIT_LIMIT_INCREASE""},{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""E_STATEMENT""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""ADD_SUPPLEMENTARY_CARD""},{""cardFunction"":""EPP_BOOKING""},{""cardFunction"":""LOP_BOOKING""},{""cardFunction"":""CARD_PAYMENT""},{""cardFunction"":""CREDIT_LIMIT_DECREASE""},{""cardFunction"":""ACCOUNT_CLOSURE""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0},{""cardId"":""4e75706a6b6e727956764e455447342b4d77676478744e5275423077584a6f6d564879347a4447537875343d"",""displayCardNumber"":""2385"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED""},{""cardId"":""3957566a35316138497165667a72524a55496269374c7756747459727266493879506132615066304d30513d"",""displayCardNumber"":""7889"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED_VOLUNTARY""},{""cardId"":""304c44556d737550626d4d374a49634a684d44432f786a7635594d5636324258547761344e6842526844593d"",""displayCardNumber"":""9091"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED_VOLUNTARY""}]}",Applicable,,
CA_006,Card Listing_Get List of Credit cards passing card function as CREDIT_LIMIT_INCREASE_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as CREDIT_LIMIT_INCREASE,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=CREDIT_LIMIT_INCREASE HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 773a0550-7c51-407d-9953-aa65f159c173
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-f689-4826-90de-c67f93c3f913
Expires: -1
Pragma: no-cache
Uuid: 773a0550-7c51-407d-9953-aa65f159c173
X-Vcap-Request-Id: 60af7406-f02b-47a8-6ff2-50195f3b32a3,194f9a48-dcab-45b4-60fb-f9b7816774c0
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4d5d690fbe7f
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 770
Date: Tue, 12 Nov 2019 06:12:46 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:32:46 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""CREDIT_LIMIT_INCREASE""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_007,Card Listing_Get List of Credit cards passing card function as LOCAL_CARD_ACTIVATION_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as LOCAL_CARD_ACTIVATION,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=LOCAL_CARD_ACTIVATION HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 4d2ea00e-8c25-49ee-a3d6-4540126a4195
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-f61d-4f06-a3fa-c67f93c38ef1
Expires: -1
Pragma: no-cache
Uuid: 4d2ea00e-8c25-49ee-a3d6-4540126a4195
X-Vcap-Request-Id: 439422fe-d922-41cb-7406-7eb3b700729e,603ee056-4082-4122-484a-516c4e5b778c
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4dda69187fcf
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 06:14:50 GMT
Content-Length: 444
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:34:50 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_008,Card Listing_Get List of Credit cards passing card function as REPORT_LOST_STOLEN_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as REPORT_LOST_STOLEN,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=REPORT_LOST_STOLEN HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 14872ade-2844-47a4-89d5-637317b05d22
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-9e9c-407a-80c0-c67f93c306c6
Expires: -1
Pragma: no-cache
Uuid: 14872ade-2844-47a4-89d5-637317b05d22
X-Vcap-Request-Id: d445aabc-f57d-441a-58ce-941c812a403b,4ad48f0b-f446-4de7-546d-8092cfcdb0ac
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4e016924405f
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 767
Date: Tue, 12 Nov 2019 06:15:30 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:35:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""REPORT_LOST_STOLEN""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_009,Card Listing_Get List of Credit cards passing card function as E_STATEMENT_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as E_STATEMENT,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=E_STATEMENT HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 9f97cc56-8e45-4283-8b54-fc1f2d92c6d6
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-f8df-4ae2-8849-c67f93c31d8b
Expires: -1
Pragma: no-cache
Uuid: 9f97cc56-8e45-4283-8b54-fc1f2d92c6d6
X-Vcap-Request-Id: 237cb026-119f-4747-605c-65d1db2b738d,15b33031-fe90-4357-4680-b741a5c5cebb
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4e222ad1ef9d
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 06:16:03 GMT
Content-Length: 677
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:36:03 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0},{""cardId"":""4e75706a6b6e727956764e455447342b4d77676478744e5275423077584a6f6d564879347a4447537875343d"",""displayCardNumber"":""2385"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED""},{""cardId"":""3957566a35316138497165667a72524a55496269374c7756747459727266493879506132615066304d30513d"",""displayCardNumber"":""7889"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED_VOLUNTARY""},{""cardId"":""304c44556d737550626d4d374a49634a684d44432f786a7635594d5636324258547761344e6842526844593d"",""displayCardNumber"":""9091"",""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""E_STATEMENT""}],""logo"":""747"",""cardPlasticType"":""WN"",""cardSubStatus"":""CLOSED_VOLUNTARY""}]}",Applicable,,
CA_010,Card Listing_Get List of Credit cards passing card function as RESET_ATM_PIN_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as RESET_ATM_PIN,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=RESET_ATM_PIN HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 429bc9a5-566f-4f84-8ca4-c88e4fcb1c0d
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-430a-413b-9326-c67f93c326e1
Expires: -1
Pragma: no-cache
Uuid: 429bc9a5-566f-4f84-8ca4-c88e4fcb1c0d
X-Vcap-Request-Id: 2bfb31d8-9499-4a74-76ac-7aa7f4f7cd5c,326ef804-3693-46d6-40cc-a4e4fba8dac1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4e53070f0155
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 762
Date: Tue, 12 Nov 2019 06:16:52 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:36:52 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""RESET_ATM_PIN""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_011,Card Listing_Get List of Credit cards passing card function as ADD_SUPPLEMENTARY_CARD_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as ADD_SUPPLEMENTARY_CARD,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=ADD_SUPPLEMENTARY_CARD HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: dda4f482-08e9-4fdc-b690-08445e3f445c
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-dced-46e7-a99e-c67f93c3cbe2
Expires: -1
Pragma: no-cache
Uuid: dda4f482-08e9-4fdc-b690-08445e3f445c
X-Vcap-Request-Id: a553e4ee-3cb5-48ab-675d-8d8f006b2b20,416edbc9-0444-4cfb-7b64-ec5fe164768a
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4e786926c7bf
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 06:17:28 GMT
Content-Length: 447
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:37:28 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""ADD_SUPPLEMENTARY_CARD""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_012,Card Listing_Get List of Credit cards passing card function as EPP_BOOKING_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as EPP_BOOKING,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=EPP_BOOKING HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: ebb20a96-75cf-4998-ad54-29d218515cc7
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-9341-47f5-a88c-c67f93c3c7ba
Expires: -1
Pragma: no-cache
Uuid: ebb20a96-75cf-4998-ad54-29d218515cc7
X-Vcap-Request-Id: f192238d-270e-4f9f-50ba-9d0ccf27a342,d6a09ed7-d208-4aa0-7749-b93ea243d3aa
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4e9f692cabaf
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 06:18:07 GMT
Content-Length: 439
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:38:07 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""EPP_BOOKING""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_013,Card Listing_Get List of Credit cards passing card function as LOP_BOOKING_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as LOP_BOOKING,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=LOP_BOOKING HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: d9855279-6812-45a3-9680-a44a5f1939c6
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-b896-4f45-b065-c67f93c3165d
Expires: -1
Pragma: no-cache
Uuid: d9855279-6812-45a3-9680-a44a5f1939c6
X-Vcap-Request-Id: fad5f109-d1ad-441d-45ea-f1316d7288d0,3b4b9f29-70ae-49c5-51d0-e7671555af9b
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca4ec210d17ca1
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 06:18:42 GMT
Content-Length: 439
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:38:42 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOP_BOOKING""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_014,Card Listing_Get List of Credit cards passing card function as CARD_PAYMENT_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as CARD_PAYMENT,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=CARD_PAYMENT HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: e14a0865-b8cd-49a0-96f6-684711a8be5a
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-449d-4a3a-a649-c67f93c3deba
Expires: -1
Pragma: no-cache
Uuid: e14a0865-b8cd-49a0-96f6-684711a8be5a
X-Vcap-Request-Id: 4df892df-1eb7-4e29-530a-42c0409eb84b,728cdc58-2e55-4735-65a3-b6bbe92613e8
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca52bf10d7b6e1
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 761
Date: Tue, 12 Nov 2019 06:35:44 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:55:44 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""CARD_PAYMENT""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_015,Card Listing_Get List of Credit cards passing card function as CREDIT_LIMIT_DECREASE_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as CREDIT_LIMIT_DECREASE,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=CREDIT_LIMIT_DECREASE HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: 02edd37d-6a43-45b9-a660-bf68277e40dc
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-2c5c-44b7-b81f-c67f93c37c1a
Expires: -1
Pragma: no-cache
Uuid: 02edd37d-6a43-45b9-a660-bf68277e40dc
X-Vcap-Request-Id: 26457156-5aef-4eec-6baf-a5658a62c313,61e1fde3-7f0f-48f3-7181-4a2cf2b772ac
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca52df2aef3e7d
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Nov 2019 06:36:16 GMT
Content-Length: 439
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:56:16 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""CREDIT_LIMIT_DECREASE""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_016,Card Listing_Get List of Credit cards passing card function as ACCOUNT_CLOSURE_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing card function as ACCOUNT_CLOSURE,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards?cardFunction=ACCOUNT_CLOSURE HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkNzM1NmJlMzctZDgyMC00NzUyLWI4OWUtMzEyOGUxNGNhZDk0GqpEQ6uHVIHZMLYL7MM_92CxR8MK_NsvI-hAptQkOYjcgObSClM486uKkvH14PkHTmCkk882FeW49grZ2cg_UnZY2Gg0xWG4cln2lH2ISPw4ROBu_ILsiMQL1MsCSvO0mCa-0V6mflqtovlSe6haoHdhf-P4Qk2MuSgHjH5ksu4SsuItPgeJFQRZDLSsfeBQoQnPKwfZx91Em2_OwrH9smJbcRFoMhBmV_Dc8UjJlEg
uuid: c7dd3a38-343c-426a-b9a0-4edd0f1dfb6d
Accept: application/json
client_id: 7356be37-d820-4752-b89e-3128e14cad94
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD,GET,POST,PUT,DELETE
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken,Accept,Accept-Language,Authorization,businessCode,client_id,content-type,countryCode,uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-f286-4e2e-9b21-c67f93c3964c
Expires: -1
Pragma: no-cache
Uuid: c7dd3a38-343c-426a-b9a0-4edd0f1dfb6d
X-Vcap-Request-Id: c46fe025-5b48-4ac4-6fc6-7a46ff49b670,15e80f54-5596-4602-4930-fa03507a553f
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65dca5305697d34df
Access-Control-Allow-Origin:
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 764
Date: Tue, 12 Nov 2019 06:36:53 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 12-Nov-2019 06:56:53 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""cardDetails"":[{""cardId"":""4c66344d71747a715444626653503963777a4b756b58376169513036345a346a7734656376592f7270754d3d"",""displayCardNumber"":""6105"",""localCardActivationIndicator"":""INACTIVE"",""overseasCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":50000.0,""maximumPermanentCreditLimitAmount"":51000.0,""maximumTemporaryCreditLimitAmount"":100000.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":10415.0,""subCardType"":""CREDIT"",""cardHolderType"":""PRIMARY"",""cardFunctionsAllowed"":[{""cardFunction"":""ACCOUNT_CLOSURE""}],""embossName"":""FORMS-KOGMJLAYTQZW"",""organization"":""686"",""logo"":""747"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_017,Card Listing_Get List of Credit cards passing linkedSupplementaryCardIndicator as Y_Positive,Step 1,Trigger Card Listing to get list of credit cards by passing linkedSupplementaryCardIndicator as Y,"Success response of 200 should be received.
","GET https://uat2consumerapi.apac.nsroot.net/v1/cards?cardFunction=ALL&linkedSupplementaryCardIndicator=Y HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 2d2786c3-e4f9-4d0d-adb4-00334469d98f
Accept: application/json
countryCode: AU
businessCode: QCC
channelId: SSA
sid: 59447711-fa65-4857-bd6c-bad2ffa53d63
i-cif: 312935357
consumerOrgCode: QANTAS
Host: uat2consumerapi.apac.nsroot.net
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
Server:
Date: Tue, 12 Nov 2019 06:58:03 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 974
Connection: keep-alive
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: cefaff58-8665-4433-b9e2-92a444ea1df1
Expires: -1
Pragma: no-cache
Sid: 59447711-fa65-4857-bd6c-bad2ffa53d63
Uuid: 2d2786c3-e4f9-4d0d-adb4-00334469d98f
X-Vcap-Request-Id: e5447ad5-31b3-4078-5dba-e21b01ad0b77
X-Vcap-Request-Id: 861fc013-7fcc-498a-4b77-b9a069148043
Strict-Transport-Security: max-age=31536000
{""cardDetails"":[{""cardId"":""476f2f6c4d673232596f49744776674552535747714f6847344e4c4f67716d73716c6b524a5469717a62733d"",""displayCardNumber"":""2048"",""localCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":7900.0,""maximumPermanentCreditLimitAmount"":8058.0,""maximumTemporaryCreditLimitAmount"":15800.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""NAN LOYTEST"",""organization"":""686"",""logo"":""747"",""primaryCardId"":""5035674352783355545358717738726a436e426c524e4d30455a546455796c5a47464872527270705750383d"",""displayPrimaryCardNumber"":""8185"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
CA_018,Card Listing_Get List of Credit cards_Paytag SupplementaryCard_Postive,Step 1,Trigger Card Listing to get list of Paytag Supplementary credit cards,"Success response of 200 should be received.
","GET https://uat2consumerapi.apac.nsroot.net/v1/cards?cardFunction=ALL&linkedSupplementaryCardIndicator=Y HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 2d2786c3-e4f9-4d0d-adb4-00334469d98f
Accept: application/json
countryCode: AU
businessCode: QCC
channelId: SSA
sid: 59447711-fa65-4857-bd6c-bad2ffa53d63
i-cif: 312935357
consumerOrgCode: QANTAS
Host: uat2consumerapi.apac.nsroot.net
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
","HTTP/1.1 200 OK
Server:
Date: Tue, 12 Nov 2019 06:58:03 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 974
Connection: keep-alive
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: cefaff58-8665-4433-b9e2-92a444ea1df1
Expires: -1
Pragma: no-cache
Sid: 59447711-fa65-4857-bd6c-bad2ffa53d63
Uuid: 2d2786c3-e4f9-4d0d-adb4-00334469d98f
X-Vcap-Request-Id: e5447ad5-31b3-4078-5dba-e21b01ad0b77
X-Vcap-Request-Id: 861fc013-7fcc-498a-4b77-b9a069148043
Strict-Transport-Security: max-age=31536000
{""cardDetails"":[{""cardId"":""476f2f6c4d673232596f49744776674552535747714f6847344e4c4f67716d73716c6b524a5469717a62733d"",""displayCardNumber"":""2048"",""localCardActivationIndicator"":""INACTIVE"",""perpetualActivationFlag"":false,""currentCreditLimitAmount"":7900.0,""maximumPermanentCreditLimitAmount"":8058.0,""maximumTemporaryCreditLimitAmount"":15800.0,""minimumCreditLimitDecreaseAmount"":6000.0,""pendingCreditLimitDecreaseFlag"":false,""currentOutstandingAmount"":0.0,""subCardType"":""CREDIT"",""cardHolderType"":""SUPPLEMENTARY"",""cardFunctionsAllowed"":[{""cardFunction"":""LOCAL_CARD_ACTIVATION""},{""cardFunction"":""REPORT_LOST_STOLEN""},{""cardFunction"":""RESET_ATM_PIN""},{""cardFunction"":""REWARDS_POINT_CONVERSION""}],""embossName"":""NAN LOYTEST"",""organization"":""686"",""logo"":""747"",""primaryCardId"":""5035674352783355545358717738726a436e426c524e4d30455a546455796c5a47464872527270705750383d"",""displayPrimaryCardNumber"":""8185"",""currentContactlessWthoutPinPmtLimit"":0.0,""maxContactlessWithoutPinPmtLimit"":0.0}]}",Applicable,,
Report Lost And Stolen Card
Report Lost And Stolen Card
Report Lost And Stolen Card API-PUT /v1/cards/{cardId}/lostStolen
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
RL_001,ReportLostStolen_Validate the ReportLostStolen with replacement indicator BLOCK ONLY request for Primary Card_Positive,Step 1,Trigger Report Lost Stolen by passing replacement indicator BLOCK ONLY request for Primary Card,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/766549383076524c2b55424b5434736a4667534867732b75645a3664772b535247685764397556536255413d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 731c9cad-aa3a-4d35-8f13-9cfb3e9fe967
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5uIJyDhqNwBbwrHX8-qvk_yjM2aK1Y4nsnJT5SEiRqKkdH9MgxWP4DdeBVr5dKfLMD0Hj5utLszNaoTCAMHPDUB5n2_beGZLKeWtWdt04iz0SOZdWu4oIjeabdwZzkTPEqE6XP5mCq6VHjbssD33VbJHiTDqRHCo-97DqXMlqonFwW1WTfLws0sT7MIe4X4R7QIU99bufIE8jYyEs4W0dK9NxMYc44s5qrUq1bupCoP0nYRzpkrj-mU9PgNZDX4zV
Content-Type: application/json
Content-Length: 42
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""BLOCK_ONLY""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 731c9cad-aa3a-4d35-8f13-9cfb3e9fe967
citiUUID: 78000990-31d5-479a-a66f-c67f93c35217
singularityheader: appId=72*ctrlguid=1537096987*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1537452842351*btid=13817*guid=6d982f35-bd7c-4b2b-a1be-6ad5ac6159ed*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ba3ab29053273fd
X-Akamai-CITISITE: GTDC
Content-Length: 40
Date: Thu, 20 Sep 2018 14:14:05 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 20-Sep-2018 14:34:05 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""210920180014038967""}",Applicable,,
RL_002,ReportLostStolen_Validate the ReportLostStolen with replacement indicator BLOCK ONLY request for Secondary Card_Positive,Step 1,Trigger Report Lost Stolen by passing replacement indicator BLOCK ONLY request for Secondary Card,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/636e6c585775314c53656e31725973346a5a61575a34716f6733676642535557597542634a5971715769673d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 9feec428-9b02-4d59-a112-532806f8f36c
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5JQiJfjVDy040o0bN8_ntvEj7MfiN-A0mARj7U_04EzFfMwrcRsxWGuuaZ482H6UaGAtjlkCcNF-VIiWGb_hN3k1bHg4B6cf0Etz4qO8-My_C7p2uSXpWLgGhtFLq_fIdaS1B74c5ERuCk6RTDHiMPZZqgB1034Uk4gVyqpb15KveI357rvw4xeWtFZY2VD4mQtIZQwgOM-AlICWWmKawD9JzLKJdBp9mrudtLziSqX64w2lau7ZuSXNXVGYfgele
Content-Type: application/json
Content-Length: 42
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""BLOCK_ONLY""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 9feec428-9b02-4d59-a112-532806f8f36c
citiUUID: 78000990-8d66-4190-8f22-c67f93c34d06
singularityheader: appId=72*ctrlguid=1537096987*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=147744*ts=1537453844730*btid=13817*guid=79840be4-5964-4b75-8ff2-1839728938d7*exitguid=2|2*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65ba3af14016ce081
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Thu, 20 Sep 2018 14:30:55 GMT
Content-Length: 60
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 20-Sep-2018 14:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""210920180030489894""}",Applicable,,
RL_003,ReportLostStolen_Validate the ReportLostStolen with replacement indicator BLOCK AND REPLACE request for Primary Card_Positive,Step 1,Trigger Report Lost Stolen by passing replacement indicator BLOCK and REPLACE request for Primary Card,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/35736e32516365526f576e4849324d773030626f513748784f376e6268305868667345476e3951556945773d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 6ccdcd74-8b5f-4b9c-a07c-c3e743a15dd4
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5VsIIlIMzbXg0tUrhUXDHmJzJ7CssWM_3KfoorzMuIrrBEV20h5bxzYlqltP5RGjXesnYbo5NxG3UZaLizZMY7P_q52TrCJEK2jZA4ae7LZ0SPxZyP00kvf4OFGSzYUVhkMV0yoPGifptaWRgRcQeUJhdeIOLrwOZ2gxEW6mE28gHYL2Zb3-wBGColeZzZmpOI07NTFUPjmWrvfHEHIfaQHIvMw1yRCcp3d8wAQVzqA3BINVQ2Ab5MB9Pg5uZDbH5
Content-Type: application/json
Content-Length: 49
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""BLOCK_AND_REPLACE""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 6ccdcd74-8b5f-4b9c-a07c-c3e743a15dd4
citiUUID: 78000990-ac04-4e71-aca4-c67f93c3b7fa
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=147744*ts=1536731239008*btid=13817*guid=8e950d8a-ca95-49f1-9c2d-1e61e8b9be5b*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b98a866018ab5e5
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 12 Sep 2018 05:47:24 GMT
Content-Length: 60
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 06:07:24 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""120920181547204097""}",Applicable,,
RL_004,ReportLostStolen_Validate the ReportLostStolen with replacement indicator BLOCK AND REPLACE request for Secondary Card_Positive,Step 1,Trigger Report Lost Stolen by passing replacement indicator BLOCK and REPLACE request for Secondary Card,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/536f6e4f5476756536434f52645a455267386b4e4a6344655a442f712b586c56565a507571766f536131383d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 04ae67df-7f1e-4efe-bb8f-fbd7697e542b
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5V4s0S9D8_zmzqqLdrQEfD-wCqhJyWoBGXV8pheujVWe3iZlARWylmbN075eSvE52YBE8MmRnJrEEs3JjWY6ILpzsr2GCALWCTziTa466Q7wBKvy6Nwwv5Ffk3Iksqi90VMydJBVeMXuUHZI2oBIet8lNfAhcfSCcLdpQ3WyY1HsHRCEai1PuEsztGCn0zam1QTMCLq0COlz07MfKY7DDwaZrUAbwGtmM6vItrBLSRaxnccnYalNRrZXiZ80dKnTv
Content-Type: application/json
Content-Length: 49
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""BLOCK_AND_REPLACE""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 04ae67df-7f1e-4efe-bb8f-fbd7697e542b
citiUUID: 78000990-5f48-4f57-bfec-c67f93c31575
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1536733561183*btid=13817*guid=3bd432a8-2a4d-4a1e-9f86-4c81d42f88d5*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b98b17838e1e69d
X-Akamai-CITISITE: GTDC
Content-Length: 40
Date: Wed, 12 Sep 2018 06:26:03 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 06:46:03 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""120920181626027816""}",Applicable,,
RL_005,ReportLostStolen_Validate the ReportLostStolen request for Primary card with replacement indicator BLOCK AND REPLACE when Secondary card is already lost_Positive,Step 1,Trigger Report Lost Stolen for Primary card with replacement indicator BLOCK AND REPLACE when Secondary card is already lost ,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/4d4333714979386b5339675269716674425a484d64494663366f615a467a557a336b51787671364762306f3d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 2f4b9473-03a8-4c9b-85c4-015808a82567
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk51TYv1-iZ40nfodNiDBR-XLw6kNG7LAt6ylXybwzWo6Pqi5poz_-YgyB5pAr2uhFT9iFzOQCTKQ5u_3mH_4J0UJLjkbGVZ_OmntEGmr4zLt5JfX_K4CchYAYJhzcPIjMyPjvCT6T2mM7wgGS_OIpH1rLC7QImRlx7kYj_QRkiCQDG8ivVyknuSWpCpBLNvioKWpQ3IAJ5zVDB3slkiOOBI1cPCjmWc2dVQweMwG_uOHR2c2dAY-XwHPMXbNU04npa
Content-Type: application/json
Content-Length: 49
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""BLOCK_AND_REPLACE""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 2f4b9473-03a8-4c9b-85c4-015808a82567
citiUUID: 78000990-e58e-4de8-99f6-c67f93c3dcfd
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=147744*ts=1536755853946*btid=13817*guid=8b8cc4ee-7862-4f47-8baf-dca22040fd37*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b99088d3b1509dd
X-Akamai-CITISITE: GTDC
Content-Length: 40
Date: Wed, 12 Sep 2018 12:37:37 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 12:57:37 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""120920182237357185""}",Applicable,,
RL_006,ReportLostStolen_Validate the ReportLostStolen request for Secondary card replacement indicator BLOCK AND REPLACE when Primary card is already lost_Positive,Step 1,Trigger Report Lost Stolen for Secondary card replacement indicator BLOCK AND REPLACE when Primary card is already lost ,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/536f6e4f5476756536434f52645a455267386b4e4a6344655a442f712b586c56565a507571766f536131383d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 04ae67df-7f1e-4efe-bb8f-fbd7697e542b
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5V4s0S9D8_zmzqqLdrQEfD-wCqhJyWoBGXV8pheujVWe3iZlARWylmbN075eSvE52YBE8MmRnJrEEs3JjWY6ILpzsr2GCALWCTziTa466Q7wBKvy6Nwwv5Ffk3Iksqi90VMydJBVeMXuUHZI2oBIet8lNfAhcfSCcLdpQ3WyY1HsHRCEai1PuEsztGCn0zam1QTMCLq0COlz07MfKY7DDwaZrUAbwGtmM6vItrBLSRaxnccnYalNRrZXiZ80dKnTv
Content-Type: application/json
Content-Length: 49
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""BLOCK_AND_REPLACE""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 04ae67df-7f1e-4efe-bb8f-fbd7697e542b
citiUUID: 78000990-5f48-4f57-bfec-c67f93c31575
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1536733561183*btid=13817*guid=3bd432a8-2a4d-4a1e-9f86-4c81d42f88d5*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b98b17838e1e69d
X-Akamai-CITISITE: GTDC
Content-Length: 40
Date: Wed, 12 Sep 2018 06:26:03 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 06:46:03 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""120920181626027816""}",Applicable,,
RL_007,ReportLostStolen_Validate the ReportLostStolen with replacement indicator DAMAGE ONLY request for Primary Card_Positive,Step 1,Trigger Report Lost Stolen by passing replacement indicator DAMAGE ONLY request for Primary Card,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/6f334b5a456e6d4e764f34674376746950692b5265684a447a7452426163727472574b44416850763252633d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 5c53f5ea-a1f6-4890-a99c-6c5180f46c03
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5Chd69Ls10qt-qujC2MChjTYD8iXTn7Q_m4mbRNkHhc5lWi0MCV3uowMHyE9CbThkvVYAZreSfT6NX_xsTDHkVY_oiy3cpyUbqozt0ugIF-dP8TbSiy2fwXKEitp8t30AkhGXpiHGGZxo4AGGy-YL-kpjZiK8c0wWMuKbFea2ESfTBZO74Mr1t4exTsrJDkRlZm1GH97eRK87GwWqXO-8HMv55dZE6H6XMtOpsdVUNX3_Zb4M0r8GRckMtz5vMrfj
Content-Type: application/json
Content-Length: 38
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""DAMAGE""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 5c53f5ea-a1f6-4890-a99c-6c5180f46c03
citiUUID: 78000990-d444-4f4d-b9ce-c67f93c36e67
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1536735047455*btid=13817*guid=cb7f0b89-10e9-4af3-8aa7-0935318b67ca*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b98b7473907488d
X-Akamai-CITISITE: GTDC
Content-Length: 40
Date: Wed, 12 Sep 2018 06:50:50 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 07:10:50 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""120920181650483681""}",Applicable,,
RL_008,ReportLostStolen_Validate the ReportLostStolen with replacement indicator DAMAGE ONLY request for Secondary Card_Positive,Step 1,Trigger Report Lost Stolen by passing replacement indicator DAMAGE ONLY request for Secondary Card,"Success response of 200 should be received.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/636e6c585775314c53656e31725973346a5a61575a34716f6733676642535557597542634a5971715769673d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 6d88e34f-e0b9-4312-8285-3a63a4e593c5
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5yakQ3DmkkDULmMV6vlvSMMafHrGZq-t9Lyz34usqchdxaVVaZ0vKflnQgzXupFiInH12AZ9eKbHhWECY-FpgDU6y4zdFQSqUWi7vzpI5BAkIRBUZPB70sijGyy06zu7vv5WwqR8KjhKFykQxXp-9C4XsKoB884R4cNbOo_-4IpRZSYzl-XruQ11WKMXA7hO2S2bqBr6XKzKQ2oOQMpxtUMvJjMB2oy2_GZQSaELZz5kVPMpgJTsMYX6IxP2HThnq
Content-Type: application/json
Content-Length: 38
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""DAMAGE""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 6d88e34f-e0b9-4312-8285-3a63a4e593c5
citiUUID: 78000990-abab-464c-9b70-c67f93c3ebbf
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1536754739177*btid=13817*snapenable=true*guid=03e4b1ce-ab2e-427e-9492-401e1797719e*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b99043272683bcf
X-Akamai-CITISITE: GTDC
Content-Length: 40
Date: Wed, 12 Sep 2018 12:19:03 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 12:39:03 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""referenceNumber"":""120920182219018866""}",Applicable,,
RL_009,ReportLostStolen_Validate the error displayed for invalid replacement indicator_Negative,Step 1,Trigger Report Lost Stolen by passing invalid replacement indicator,Receives 400 Failure Response.,"PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/4d4333714979386b5339675269716674425a484d64494663366f615a467a557a336b51787671364762306f3d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: a6feeb4c-db6d-416d-a751-8c42f348861f
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5nZDgJ02XuvEbWuAzM49Bsi-rEf6MtE0eXEAtxzhJ-Q2au0tBAqyV4z-GAx40aN58_HoMyd3eEMqvoyVMylP5u_2fp8J_MPHz5Wvy2502MktrB4jJHA63h6xqVzoXmT99Ib7uBnhShR-1MffU8wEy_Z9jxJPsZWUonBCd0MEHBS4A-G-4x9cKtcW4unSnUz4wd93UwaU1tFQsF2Odmxw-4rIAX9Na6a6m9n4cdaPtslLO1qjytsTRFwVOOP74_9cF
Content-Type: application/json
Content-Length: 36
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": ""blck""
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: a6feeb4c-db6d-416d-a751-8c42f348861f
citiUUID: 78000990-7955-4680-bdbc-c67f93c3a5f6
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=147744*ts=1536732311078*btid=13817*guid=3eea08ee-7ca6-4569-abad-b59275eddf53*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b98ac9638c3584d
X-Akamai-CITISITE: GTDC
Date: Wed, 12 Sep 2018 06:05:11 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 06:25:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""code"":""invalidRequest"",""details"":""Missing or invalid Parameters"",""type"":""invalid""}",Applicable,,replacement indicator
RL_010,ReportLostStolen_Validate the error displayed for blank replacement indicator_Negative,Step 1,Trigger Report Lost Stolen by passing blank replacement indicator,Receives 400 Failure Response.,"PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/cards/4d4333714979386b5339675269716674425a484d64494663366f615a467a557a336b51787671364762306f3d/lostStolen HTTP/1.1
Accept-Encoding: gzip,deflate
uuid: 49982129-ce47-4b4f-bdb4-ee19cd55ff6a
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5nZDgJ02XuvEbWuAzM49Bsi-rEf6MtE0eXEAtxzhJ-Q2au0tBAqyV4z-GAx40aN58_HoMyd3eEMqvoyVMylP5u_2fp8J_MPHz5Wvy2502MktrB4jJHA63h6xqVzoXmT99Ib7uBnhShR-1MffU8wEy_Z9jxJPsZWUonBCd0MEHBS4A-G-4x9cKtcW4unSnUz4wd93UwaU1tFQsF2Odmxw-4rIAX9Na6a6m9n4cdaPtslLO1qjytsTRFwVOOP74_9cF
Content-Type: application/json
Content-Length: 32
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""replacementIndicator"": """"
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 49982129-ce47-4b4f-bdb4-ee19cd55ff6a
citiUUID: 78000990-2726-4b1b-ba58-c67f93c33c5a
singularityheader: appId=72*ctrlguid=1534677775*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1536732147490*btid=13817*guid=4fbf6762-5b14-4b7e-8833-d0439be1b806*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65b98abf36df7ca4f
X-Akamai-CITISITE: GTDC
Date: Wed, 12 Sep 2018 06:02:27 GMT
Transfer-Encoding: chunked
Connection: close
Connection: Transfer-Encoding
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 12-Sep-2018 06:22:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""code"":""invalidRequest"",""details"":""Missing or invalid Parameters"",""type"":""invalid""}",Applicable,,replacement indicator
Insurance_InsuranceSourceAccountEligibility
Insurance_InsuranceSourceAccountEligibility
Insurance_InsuranceSourceAccountEligibility API-GET /v1/insurance/bookings/sourceAccounts
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
IPP_InsuranceSourceAccountEligibility_001,IPP_InsuranceSourceAccountEligibility_Only Credit Card_Primary Card_Positive,Step 1,Trigger InsuranceSourceAccountEligibility with primary credit card,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-22dc-4bbc-9550-c67f93c3988d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833dbd0f8fbf2f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 352
Date: Thu, 19 Sep 2019 08:35:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:55:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""sourceAccounts"":[
{
""sourceAccountId"":""627951624b2b656b4b6f62524a4a50464f6a316464424e416b363868444d754d61473562575538454c464d3d"",
""displaySourceAccountNumber"":""2340"",
""sourceAccountCurrencyCode"":""HKD"",
""accountGroup"":""CREDIT_CARD"",
""cardType"":""MASTER_CARD"",
""productName"":""CITIBANK REWARDS CARD""
}
]
}"
IPP_InsuranceSourceAccountEligibility_002,IPP_InsuranceSourceAccountEligibility_Only one Credit Card_Supplementary Card_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with Supplementary credit card,"response of 204 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3dAq_YqvhAQbu4qGWhV3sDEsuzEuT1pBuM2oMAWwH-mdZQikl--yNV6Xzm5xTFC6JZQ-I9atxwcDHj4fskiGD7scexRVgLk1TsgIce-LaeNHW_7UcFG5irScCJl7fsjdQG1WzzP9JO30JvjMCnu0kZ_9SQMnJjR81fjP4to7VcDYUPKeh9KFhqzAhPTvEngR3C3Zy8b8rRj1g1bcRCWd2M6ACugpuYDPrXp2xXSn5l9-H3lUCGWsbpbMC61WebXOgpL53ua8-yltJz0hWvpnHbvDn-EyuCaYgj-ElmTNtbPCWNV4-WPE3RHHZiCnd5RGHOzcmSch0GNVfPbYnfcm9PU58VSb1AZo2D1kNnbIA1Es
uuid: 700890b2-5224-43c1-a1fa-7264030d8983
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ","HTTP/1.1 204 No Content
X-Backside-Transport: OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
X-Global-Transaction-ID: c3937fc65d68debe016b3cb1
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 08:30:55 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
"
IPP_InsuranceSourceAccountEligibility_003,IPP_InsuranceSourceAccountEligibility_Only IM account_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with IM account,"response of 204 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3dAq_YqvhAQbu4qGWhV3sDEsuzEuT1pBuM2oMAWwH-mdZQikl--yNV6Xzm5xTFC6JZQ-I9atxwcDHj4fskiGD7scexRVgLk1TsgIce-LaeNHW_7UcFG5irScCJl7fsjdQG1WzzP9JO30JvjMCnu0kZ_9SQMnJjR81fjP4to7VcDYUPKeh9KFhqzAhPTvEngR3C3Zy8b8rRj1g1bcRCWd2M6ACugpuYDPrXp2xXSn5l9-H3lUCGWsbpbMC61WebXOgpL53ua8-yltJz0hWvpnHbvDn-EyuCaYgj-ElmTNtbPCWNV4-WPE3RHHZiCnd5RGHOzcmSch0GNVfPbYnfcm9PU58VSb1AZo2D1kNnbIA1Es
uuid: 700890b2-5224-43c1-a1fa-7264030d8983
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ","HTTP/1.1 204 No Content
X-Backside-Transport: OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
X-Global-Transaction-ID: c3937fc65d68debe016b3cb1
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 08:30:55 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
"
IPP_InsuranceSourceAccountEligibility_004,IPP_InsuranceSourceAccountEligibility_transaction amount is less than avaliable credit limit_Positive,Step 1,Trigger InsuranceSourceAccountEligibility with transaction amount is less than avaliable credit limit,"Response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-22dc-4bbc-9550-c67f93c3988d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833dbd0f8fbf2f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 352
Date: Thu, 19 Sep 2019 08:35:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:55:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""sourceAccounts"":[
{
""sourceAccountId"":""627951624b2b656b4b6f62524a4a50464f6a316464424e416b363868444d754d61473562575538454c464d3d"",
""displaySourceAccountNumber"":""2340"",
""sourceAccountCurrencyCode"":""HKD"",
""accountGroup"":""CREDIT_CARD"",
""cardType"":""MASTER_CARD"",
""productName"":""CITIBANK REWARDS CARD""
}
]
}"
IPP_InsuranceSourceAccountEligibility_005,IPP_InsuranceSourceAccountEligibility_transaction amount is bigger than avaliable credit limit_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with transaction amount is bigger than avaliable credit limit,"Response of 204 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3dAq_YqvhAQbu4qGWhV3sDEsuzEuT1pBuM2oMAWwH-mdZQikl--yNV6Xzm5xTFC6JZQ-I9atxwcDHj4fskiGD7scexRVgLk1TsgIce-LaeNHW_7UcFG5irScCJl7fsjdQG1WzzP9JO30JvjMCnu0kZ_9SQMnJjR81fjP4to7VcDYUPKeh9KFhqzAhPTvEngR3C3Zy8b8rRj1g1bcRCWd2M6ACugpuYDPrXp2xXSn5l9-H3lUCGWsbpbMC61WebXOgpL53ua8-yltJz0hWvpnHbvDn-EyuCaYgj-ElmTNtbPCWNV4-WPE3RHHZiCnd5RGHOzcmSch0GNVfPbYnfcm9PU58VSb1AZo2D1kNnbIA1Es
uuid: 700890b2-5224-43c1-a1fa-7264030d8983
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ","HTTP/1.1 204 No Content
X-Backside-Transport: OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
X-Global-Transaction-ID: c3937fc65d68debe016b3cb1
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 08:30:55 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
"
IPP_InsuranceSourceAccountEligibility_006,IPP_InsuranceSourceAccountEligibility_transaction amount is bigger than one credit card' avaliable credit limit and less than another credit card's avaliable credit limit_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with transaction amount is bigger than one credit card' avaliable credit limit and less than another credit card's avaliable credit limit,"Response of 200 should be received. Only credit card that the avaliable credit limit is bigger than transaction amount will be retrieved
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-22dc-4bbc-9550-c67f93c3988d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833dbd0f8fbf2f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 352
Date: Thu, 19 Sep 2019 08:35:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:55:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""sourceAccounts"":[
{
""sourceAccountId"":""627951624b2b656b4b6f62524a4a50464f6a316464424e416b363868444d754d61473562575538454c464d3d"",
""displaySourceAccountNumber"":""2340"",
""sourceAccountCurrencyCode"":""HKD"",
""accountGroup"":""CREDIT_CARD"",
""cardType"":""MASTER_CARD"",
""productName"":""CITIBANK REWARDS CARD""
}
]
}"
Insurance_Customer Profile
Insurance_Customer Profile
Insurance_Customer Profile API-GET /partner/v1/customers/profiles
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
IPP_CustomerProfile_001,IPP_CustomerProfile_OTP Required,step 1,Trigger CustomerProfile API,"response of 403 with details ""MFA is required""","GET https://aspac.sandbox.api.citi.com/gcbap/api/partner/v1/customers/profiles HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-1b2a-4dd2-954b-c67f93c3d875
Accept-Language: en_HK
X-Global-Transaction-ID: c3937fc65d833d8103bfdcc1
mfaCode: u0we6WdYvu9sMNfDhMSM2PyhmE5o7hlu5s%2B2wNgvVFEtufZV2P9JHdAYo68RHe3Y1eJCZhfCfaA%2BJvNOr%2FrZQm4kQRRVBrjRgB5l6vFDLOpZ8tdBgbVOtgadrepTXM%2BuQsyQvTwnT5un%2B1ETRsVSbd8hd2W3M9hdEKJBdy%2BEUkIZ%2B2irbki2cejd1tVCBxg9D1eVQ3snypPWEULOsYLNA7bvem6AT1HT5cXNVEKBJISTB4aatOaXwEzCs7q1TxzbGfyMvviQK4Cg8jQXjHnPv8SCchMOLpqp%2B6H4daA7MJtNMx91K3z1pfpkKMjWrzSTuLv8yM8cdxHwsPATptiZOBTGYScQiZFo5%2BJqNG0sNRpO8OYzM%2Bx3rWLxK4gs%2B7kWiXTb8SfoDc%2BCjeBwlj%2BMN3c4m1QjM0LRPiBQ01mCgJDqHeS1NJMtxVJuce9UqOINcEkAx90NaKKW7HmgDeUutHo65otSK%2Fv4iX2PTyz7FiiJmmiTEnZHw5usR1ePQoEq2WQeSPgM5jhq7PeEXXsuODzJmfKWCKEikCcmdQI9Wikb2sGSqpfEwb3FdSakG7hqIvs%2Ft7SIzrXBxgRzIslBdqqahMipI7OheAcHQJ0sZuFU%2BxWe50zIRNrDHEqclLt3U4eCH5goYbkK53%2BclTjfVRpZktS%2FiPrEKrzwfFsnw%2Bw%3D
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 194
Date: Thu, 19 Sep 2019 08:34:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:54:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""maskedPhoneNumber"":""XXXXXXXX1234""},""otpDeliveryOption"":[""SMS""]}}"
IPP_CustomerProfile_002,IPP_CustomerProfile_Positive,step 1,Trigger CustomerProfile API after inputting OTP,Success response of 200 should be received.,"GET https://aspac.sandbox.api.citi.com/gcbap/api/partner/v1/customers/profiles HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-0dc8-4a63-8d2e-c67f93c3e86c
singularityheader: appId=241*ctrlguid=1568545673*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162402*ts=1568882088436*btid=20538*guid=7e37b334-05f9-4950-90db-483f7e2a9985*exitguid=1|6|0*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Vary: Accept-Encoding
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833da801e4b5b5
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Encoding: gzip
Date: Thu, 19 Sep 2019 08:34:48 GMT
Content-Length: 759
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:54:48 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""customerParticulars"":{
""names"":[
{
""lastName"":null,
""nameType"":""ENGLISH_NAME""
},
{
""firstName"":""KXNXRX"",
""lastName"":""HXAXG"",
""nameType"":""LOCAL_NAME""
},
{
""firstName"":"" "",
""lastName"":"" "",
""nameType"":""SPECIAL_NAME""
}
],
""gender"":""FEMALE""
},
""demographics"":{
""dateOfBirth"":""1991-10-01"",
""nationality"":""PH"",
""maritalStatus"":""SINGLE""
},
""addressList"":[
{
""addressline1"":""FXT 2XF TXWXR 1"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""LEGAL_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
},
{
""addressline1"":""FXT 2XF TXWXR 1"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""HOME_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
},
{
""addressline1"":""FXT 2XF TXWXR 1"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""HOME_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
},
{
""addressline1"":""FXT PXCXFXC AXRXAX LXD"",
""addressline2"":""GXEXNXIXLX GXRXEXS"",
""addressline3"":""FXNXIXG TXWX CXNXRX"",
""addressType"":""OFFICE_ADDRESS"",
""city"":""CXUXEXAX BXY"",
""countryName"":""HONG KONG""
}
],
""phones"":[
{
""phoneType"":""HOME_PHONE_NUMBER"",
""phoneNumber"":""871843651234"",
""phoneCountryCode"":""123""
},
{
""phoneType"":""BUSINESS_PHONE_NUMBER"",
""phoneNumber"":""873823031234"",
""phoneCountryCode"":""123""
},
{
""phoneType"":""PRIMARY_MOBILE_NUMBER"",
""phoneNumber"":""874420041234"",
""phoneCountryCode"":""123""
}
],
""identificationDocumentDetails"":[
{
""idType"":""HONGKONG_ID"",
""primaryIdFlag"":true,
""idNumber"":""P3346831""
}
],
""educationDetails"":{
""highestEducationLevel"":""UNIVERSITY_OR_ABOVE""
},
""employmentDetails"":[
{
""employerName"":""HXUXEXIXE PXCXFXC AXRXAX LXD"",
""occupationCode"":""FLIGHT_ATTENDANT"",
""industryCode"":""MISCELLANEOUS""
}
],
""financialInformation"":{
""incomeDetails"":[
{
""incomeType"":""DECLARED_FIXED"",
""variableAmount"":0.0E0,
""frequency"":""ANNUALLY""
},
{
""incomeType"":""DEPOSIT_INCOME"",
""fixedAmount"":0.0E0,
""frequency"":""ANNUALLY""
}
]
}
}"
Insurance_InsuranceSourceAccountEligibility
Insurance_InsuranceSourceAccountEligibility
Insurance_InsuranceSourceAccountEligibility API-GET /v1/insurance/bookings/sourceAccounts
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
IPP_InsuranceSourceAccountEligibility_001,IPP_InsuranceSourceAccountEligibility_Only Credit Card_Primary Card_Positive,Step 1,Trigger InsuranceSourceAccountEligibility with primary credit card,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-22dc-4bbc-9550-c67f93c3988d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833dbd0f8fbf2f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 352
Date: Thu, 19 Sep 2019 08:35:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:55:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""sourceAccounts"":[
{
""sourceAccountId"":""627951624b2b656b4b6f62524a4a50464f6a316464424e416b363868444d754d61473562575538454c464d3d"",
""displaySourceAccountNumber"":""2340"",
""sourceAccountCurrencyCode"":""HKD"",
""accountGroup"":""CREDIT_CARD"",
""cardType"":""MASTER_CARD"",
""productName"":""CITIBANK REWARDS CARD""
}
]
}"
IPP_InsuranceSourceAccountEligibility_002,IPP_InsuranceSourceAccountEligibility_Only one Credit Card_Supplementary Card_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with Supplementary credit card,"response of 204 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3dAq_YqvhAQbu4qGWhV3sDEsuzEuT1pBuM2oMAWwH-mdZQikl--yNV6Xzm5xTFC6JZQ-I9atxwcDHj4fskiGD7scexRVgLk1TsgIce-LaeNHW_7UcFG5irScCJl7fsjdQG1WzzP9JO30JvjMCnu0kZ_9SQMnJjR81fjP4to7VcDYUPKeh9KFhqzAhPTvEngR3C3Zy8b8rRj1g1bcRCWd2M6ACugpuYDPrXp2xXSn5l9-H3lUCGWsbpbMC61WebXOgpL53ua8-yltJz0hWvpnHbvDn-EyuCaYgj-ElmTNtbPCWNV4-WPE3RHHZiCnd5RGHOzcmSch0GNVfPbYnfcm9PU58VSb1AZo2D1kNnbIA1Es
uuid: 700890b2-5224-43c1-a1fa-7264030d8983
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ","HTTP/1.1 204 No Content
X-Backside-Transport: OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
X-Global-Transaction-ID: c3937fc65d68debe016b3cb1
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 08:30:55 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
"
IPP_InsuranceSourceAccountEligibility_003,IPP_InsuranceSourceAccountEligibility_Only IM account_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with IM account,"response of 204 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3dAq_YqvhAQbu4qGWhV3sDEsuzEuT1pBuM2oMAWwH-mdZQikl--yNV6Xzm5xTFC6JZQ-I9atxwcDHj4fskiGD7scexRVgLk1TsgIce-LaeNHW_7UcFG5irScCJl7fsjdQG1WzzP9JO30JvjMCnu0kZ_9SQMnJjR81fjP4to7VcDYUPKeh9KFhqzAhPTvEngR3C3Zy8b8rRj1g1bcRCWd2M6ACugpuYDPrXp2xXSn5l9-H3lUCGWsbpbMC61WebXOgpL53ua8-yltJz0hWvpnHbvDn-EyuCaYgj-ElmTNtbPCWNV4-WPE3RHHZiCnd5RGHOzcmSch0GNVfPbYnfcm9PU58VSb1AZo2D1kNnbIA1Es
uuid: 700890b2-5224-43c1-a1fa-7264030d8983
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ","HTTP/1.1 204 No Content
X-Backside-Transport: OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
X-Global-Transaction-ID: c3937fc65d68debe016b3cb1
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 08:30:55 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
"
IPP_InsuranceSourceAccountEligibility_004,IPP_InsuranceSourceAccountEligibility_transaction amount is less than avaliable credit limit_Positive,Step 1,Trigger InsuranceSourceAccountEligibility with transaction amount is less than avaliable credit limit,"Response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-22dc-4bbc-9550-c67f93c3988d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833dbd0f8fbf2f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 352
Date: Thu, 19 Sep 2019 08:35:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:55:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""sourceAccounts"":[
{
""sourceAccountId"":""627951624b2b656b4b6f62524a4a50464f6a316464424e416b363868444d754d61473562575538454c464d3d"",
""displaySourceAccountNumber"":""2340"",
""sourceAccountCurrencyCode"":""HKD"",
""accountGroup"":""CREDIT_CARD"",
""cardType"":""MASTER_CARD"",
""productName"":""CITIBANK REWARDS CARD""
}
]
}"
IPP_InsuranceSourceAccountEligibility_005,IPP_InsuranceSourceAccountEligibility_transaction amount is bigger than avaliable credit limit_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with transaction amount is bigger than avaliable credit limit,"Response of 204 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3dAq_YqvhAQbu4qGWhV3sDEsuzEuT1pBuM2oMAWwH-mdZQikl--yNV6Xzm5xTFC6JZQ-I9atxwcDHj4fskiGD7scexRVgLk1TsgIce-LaeNHW_7UcFG5irScCJl7fsjdQG1WzzP9JO30JvjMCnu0kZ_9SQMnJjR81fjP4to7VcDYUPKeh9KFhqzAhPTvEngR3C3Zy8b8rRj1g1bcRCWd2M6ACugpuYDPrXp2xXSn5l9-H3lUCGWsbpbMC61WebXOgpL53ua8-yltJz0hWvpnHbvDn-EyuCaYgj-ElmTNtbPCWNV4-WPE3RHHZiCnd5RGHOzcmSch0GNVfPbYnfcm9PU58VSb1AZo2D1kNnbIA1Es
uuid: 700890b2-5224-43c1-a1fa-7264030d8983
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ","HTTP/1.1 204 No Content
X-Backside-Transport: OK OK,OK OK
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
X-Global-Transaction-ID: c3937fc65d68debe016b3cb1
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 08:30:55 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:50:55 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
"
IPP_InsuranceSourceAccountEligibility_006,IPP_InsuranceSourceAccountEligibility_transaction amount is bigger than one credit card' avaliable credit limit and less than another credit card's avaliable credit limit_Negative,Step 1,Trigger InsuranceSourceAccountEligibility with transaction amount is bigger than one credit card' avaliable credit limit and less than another credit card's avaliable credit limit,"Response of 200 should be received. Only credit card that the avaliable credit limit is bigger than transaction amount will be retrieved
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/insurance/bookings/sourceAccounts?transactionAmount=100 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkYWVlZTcyMzAtZjcwZi00OTg3LTgwZTYtZTM3NDg2N2RiMzE3gSFBjDrL7Ynw5g1YmTG-dvHaV87U2KmDLZ8bP1uxGhI320pxX0rhSKnS1cwlcMv798m_miLKimViMjs68V2qy9-XwZ-p7HDgkfDXPOk9FtNXTSXyQD3UXCvbVD6sS-KjewWLTqLS9FwARHG0h4DH3qRJipqtWBOq9-M1fswEyqzuotAi3eyZlvWf7XZWxDIrjmP0UZvxxm1xfJu7udHbL7wO85bvTI9PpMcnDUalm9NZsxvzdIEei1uVOhN2XtgYk98c9DVxC7Xmc53n0kNKV6nhzdof9T5tspusYqVtsCRc6mxOqGoK9ifaF8nCICM8910sJrUJTgD2uZApBbiFmM9MOdNLXPa_C9HTjM3N3lFQCLpDz6gg9kg6eJVTshJ8iNKM3ES_58QzTNXZ8KMNyA
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
Accept: application/json
client_id: aeee7230-f70f-4987-80e6-e374867db317
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a57d7244-c723-40ff-9b8d-e7a6160d3788
citiUUID: 78000990-22dc-4bbc-9550-c67f93c3988d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d833dbd0f8fbf2f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 352
Date: Thu, 19 Sep 2019 08:35:11 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 19-Sep-2019 08:55:11 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""sourceAccounts"":[
{
""sourceAccountId"":""627951624b2b656b4b6f62524a4a50464f6a316464424e416b363868444d754d61473562575538454c464d3d"",
""displaySourceAccountNumber"":""2340"",
""sourceAccountCurrencyCode"":""HKD"",
""accountGroup"":""CREDIT_CARD"",
""cardType"":""MASTER_CARD"",
""productName"":""CITIBANK REWARDS CARD""
}
]
}"
Citi Paylite-Shop With Points - Redemption API
Shop With Points - Redemption API
Shop With Points - Redemption API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer Redemption for shop with points for an active primary card _Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Applicable,status:ACTIVE,
SWP_002,Customer Redemption for shop with points for a card with redeemable Block Code at Account level_Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,accountStatus:BLOCKED,
SWP_003,Customer Redemption for shop with points for a card with irredeemable Block Code at Account level_Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,
SWP_004,Customer Redemption for shop with points for a Closed primary card _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,
SWP_005,Customer Redemption for shop with points for an active primary card with Invalid Reward Link code _Negative,Step 1,"Customer redemption for shop with points with invalid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Reward link code is invalid""
}",Applicable,,
SWP_006,Customer Redemption for shop with points for an active primary card with Inactive Reward Link code _Negative,Step 1,"Customer redemption for shop with points with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inactiveRewardLinkCode"",
""details"":""Reward link code is inactive""
}",Applicable,,
SWP_007,Customer Redemption for shop with points for an active primary card more than available points _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem more than available balance & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""135000000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b20f93c1-efee-4e23-af4d-54fbc6cd18bd
citiUUID: 78000990-f636-4407-ac03-c67f93c32014
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f015c95439f
X-Akamai-CITISITE: GTDC
Content-Length: 141
Date: Wed, 10 Apr 2019 06:36:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:56:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inSufficientPointBalance"",
""details"":""The order points cannot be more than available balance of the member""
}",Applicable,,
SWP_008,Customer Redemption for shop with points for an active primary card with invalid amount and point combination _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, invalid transactionAmount, currencyCode, invalid pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 1bc6276a-d3c4-4581-ae01-1f7d7b7a2487
citiUUID: 78000990-57b3-41b3-89ea-c67f93c3e807
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8ecf08f60651
X-Akamai-CITISITE: GTDC
Content-Length: 123
Date: Wed, 10 Apr 2019 06:35:59 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:55:59 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""InvalidPointsAndAmountCombination"",
""details"":""Points and amount combination are invalid""
}",Applicable,,
SWP_009,Customer Redemption for shop with points for an active primary card with amount and points exceeding maximum limit set in merchant upload file _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount exceeding limit set in merchant upload file, currencyCode, pointsToRedeem exceeding limit set in merchant upload file& transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""5000000000000000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500000000000000000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 94812688-398a-41d9-a783-0f5255727a91
citiUUID: 78000990-3688-46f1-9883-c67f93c37249
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad908c08fa0e11
X-Akamai-CITISITE: GTDC
Content-Length: 142
Date: Wed, 10 Apr 2019 06:43:25 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:03:25 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumPointsAllowed"",
""details"":""Requested amount or points are more than allowed equivalent points""
}",Applicable,,
SWP_010,Customer Redemption for shop with points for an active primary card with invalid Currency Code _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, invalid currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""INR"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 3235218d-2c30-4c04-ba6a-f6d49a7689b8
citiUUID: 78000990-59fa-42e4-bff3-c67f93c3ecdb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad90d608fa62b1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:44:39 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:04:39 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""currencyNotSupported"",
""details"":""Currency is not supported""
}",Applicable,,
SWP_011,Customer Redemption for shop with points for an active primary card and verify alert_Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
Verify Redemption Alert.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
Redemption Alert should be send to Primary Mobile number.
Sample - Your shop with Points redemption with <Merchant name>is successful. We will deduct <points> Points and credit <amount> to your Citi Card account within 7 days. This will be reflected in your account statement.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,,
SWP_012,Customer Redemption for shop with points for an active primary card with already redeemed transactionReferenceNumber_Negative,Step 1,"Customer redemption for shop with points with invalid Reward Link Code, already redeemed transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: baf9ff7c-2b62-418b-a8ee-05660d5f5b8b
citiUUID: 78000990-5a60-46a0-a4a7-c67f93c398c3
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8e0308f32261
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:32:36 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:52:36 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""transactionAlreadyRedeemed"",
""details"":""Transaction is already redeemed""
}",Applicable,,
SWP_013,Customer Redemption for shop with points for a card with redeemable Block Code at Card level_Positive,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}",Not Applicable,status:BLOCKED,
SWP_014,Customer Redemption for shop with points for a card with irredeemable Block Code at Card level_Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}",Not Applicable,,
SWP_015,Customer Redemption for shop with points for an active primary card with amount and points below minimum limit set in merchant upload file _Negative,Step 1,"Customer redemption for shop with points with valid Reward Link Code, transactionReferenceNumber, transactionAmount below minimum limit set in merchant upload file, currencyCode, pointsToRedeem below minimum limit set in merchant upload file & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""0.5"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""130"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: f5070250-f4c6-495b-87a2-f5286815d8f1
citiUUID: 78000990-23f2-4e93-9ee0-c67f93c34aca
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad91315cbf69bf
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:46:10 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:06:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""belowMinimumPointsAllowed"",
""details"":""Requested amount or points are less than allowed equivalent points""
}",Applicable,,
SWP_016,Customer Redemption for shop with points for an active primary card with pointsToRedeem in decimal _Negative,Step 1,"Customer redemption for shop with points with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem in decimal & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500.01"",
""transactionDescription"":""SWP ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 101ed48f-7303-4ec3-9dcb-4a2adfe2becb
citiUUID: 78000990-622f-47f1-8492-c67f93c3fdfb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad91a82bf442fd
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:48:08 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:08:08 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}
",Not Applicable,,
Citi PayLite-Booking
Citi PayLite Booking
Citi PayLite Booking - POST /v1/creditCards/{cardId}/easyPaymentPlans/bookings
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
SWP & Citi PayLite_001,Citi PayLite Booking for Primary credit card for Pending Transaction_Positive,Step 1,"Trigger Citi PayLite Booking with Auth Code for Pending Transaction, tenor and Citi PayLite Loan Booking Type as ""PENDING_TRANSACTION"".","Success response of 200 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/752b5932686f394353787153447a303771376368347158624b4930624a4e593349416d485577617a7234493d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJj07UeSNz_rh-83orHydUKzrAManL3ZQytMkSbNtgz3vDPx_18C15xdnzgbIYjRTvCvHONQHER4xc1iFFGCCnmSdRcMjrc0FdrjIWEVMNLBYMQ63pPETS9Lkaw__gLC6YgpPh-Rqbf0Z3JE0kU8arkwMt2QtMe9wQbWkrSAaNZlfWQJrWSbxEQHdAAOwS8HFG4E1ss-7d4i4sPmEWQwWNSlJ71ZO6NcYshxrGcbzO6wfHHyMVJW3phZQQRlsIVowJo
uuid: a94c633d-b578-4ffe-b937-1285762f9068
Accept: application/json
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Type: application/json
Content-Length: 159
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""EPPLoanBookingType"": ""PENDING_TRANSACTION"",
""tenor"": ""12"",
""EPPLoanBooking"": [
{
""transactionAuthorizationCode"": ""049152""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: text/plain
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Max-Age: 2147483647
Cache-Control: no-cache, no-store
Citiuuid: 78000990-0c68-428c-a76a-c67f93c3540e
Expires: -1
Pragma: no-cache
Uuid: a94c633d-b578-4ffe-b937-1285762f9068
X-Vcap-Request-Id: e8148d56-4308-4ffc-461b-42b8bc0bddc4,11efe9de-6b1e-4957-567a-df51096b959e
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65d4a681a4b39bd5f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Wed, 07 Aug 2019 05:56:43 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 07-Aug-2019 06:16:43 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
SWP & Citi PayLite_002,Citi PayLite Booking for Primary credit card with Invalid Card ID_Negative,Step 1,Trigger Citi PayLite Booking with Invalid Card ID.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""EPPLoanBookingType"": ""TRANSACTION"",
""tenor"": 12,
""EPPLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
citiUUID: 78000990-8af4-4585-b69c-c67f93c3b16c
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544543920552*btid=13817*guid=d431b2c0-70a6-4e37-a0bd-2865e2e72969*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdeaf00e9a6fd
X-Akamai-CITISITE: GTDC
Content-Length: 80
Date: Tue, 11 Dec 2018 15:58:40 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:18:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidCardId"",
""details"":""Card ID is invalid""
}"
SWP & Citi PayLite_003,Citi PayLite Booking for Primary credit card with Invalid Citi PayLiteLoanBookingType_Negative,Step 1,Trigger Citi PayLite Booking with Invalid Citi PayLiteLoanBookingType.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""EPPLoanBookingType"": ""TRANSACTIONS"",
""tenor"": 12,
""EPPLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4f3ffccb-254f-46a6-845b-7b93ef78772a
citiUUID: 78000990-7c84-4b85-a398-c67f93c3cee9
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544544202777*btid=13817*guid=7d1af8f5-7f55-4b21-9c52-22d2ef8cb08a*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdfc90041d4d1
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 11 Dec 2018 16:03:22 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:23:22 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}"
SWP & Citi PayLite_004,Citi PayLite Booking for Primary credit card with Invalid Tenor_Negative,Step 1,Trigger Citi PayLite Booking with Invalid Tenor.,Response of 400 should be received.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/fdgtr5y55d/easyPaymentPlans/bookings HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkOWI5NTZlYmYtMTk0NS00ZTg0LWIyYzctMGE3NGJmNmRlMzk5N3Qz1qrP4MShrJf4E1YzbkFSpt1YSLvtL_ej1RjzS6C84vL15GuAO_0o0-kg6TR4SblxCctwQ9Bd2Cg60zZGSBrbVhlHNFj2JZ9IRd-XtQJkYS0jC4ttBCcCul1Cr7ZUgyCIyyr4JJplXRYCDIE0DIS1PqIJHPf8IEPAgBSQ4qTz9Luklc7GxHv0cnxZ9aG7jEJWH07i9JJxlmKAK7YGEb9FCtj4kFYqEO7rlus4DhjMnS2995ODwinXKENW_qT6
uuid: e601751a-0cf7-41d5-99be-cc4ef4a1944d
Accept: application/json
client_id: 9b956ebf-1945-4e84-b2c7-0a74bf6de399
Content-Type: application/json
Content-Length: 150
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""EPPLoanBookingType"": ""TRANSACTION"",
""tenor"": 11,
""EPPLoanBooking"": [
{
""referenceId"": ""09999999980801000230013""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4f3ffccb-254f-46a6-845b-7b93ef78772a
citiUUID: 78000990-7c84-4b85-a398-c67f93c3cee9
singularityheader: appId=72*ctrlguid=1544325515*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=156722*ts=1544544202777*btid=13817*guid=7d1af8f5-7f55-4b21-9c52-22d2ef8cb08a*exitguid=2|1*unresolvedexitid=18145*tcop=1:85513*cidfrom=498*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][18145]}*tcop=1:85513
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c0fdfc90041d4d1
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 11 Dec 2018 16:03:22 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 11-Dec-2018 16:23:22 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}"
,,
Citi PayLite-CardAccessTokenRegistration
CardAccessTokenRegistration
CardAccessTokenRegistration - POST/cardAuth/oauth2/authorize/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
SWP & Citi PayLite_001,Customer enrollment for Shop With Points and Citi PayLite for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}"
SWP & Citi PayLite_002,Customer enrollment for Shop With Points and Citi PayLite for an active Supplementary card _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}"
SWP & Citi PayLite_003,Customer enrollment for Shop With Points and Citi PayLite for an active primary card with invalid card number_Negative,Step 1,Trigger Card Auth Service with Customer invalid last 4 digit card number and valid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}"
SWP & Citi PayLite_004,Customer enrollment for Shop With Points and Citi PayLite for an active primary card with invalid mobile number_Negative,Step 1,Trigger Card Auth Service with Customer valid last 4 digit card number and invalid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}"
SWP & Citi PayLite_005,Customer enrollment for Shop With Points and Citi PayLite for a primary card with account level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}"
SWP & Citi PayLite_006,Customer enrollment for Shop With Points and Citi PayLite for a primary card with card level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}"
SWP & Citi PayLite_007,Customer enrollment for Shop With Points and Citi PayLite for a primary card with account in Dormand state_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}"
SWP & Citi PayLite_008,Customer enrollment for Shop With Points and Citi PayLite for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
Sample Alert : We have received your request to register your ""Merchant name"" Credit Card. Your One Time PIN code is 228379 Enter this One Time PIN to activate your account. ","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}"
Citi PayLite-CardAccessTokenActivation
CardAccessTokenActivation
CardAccessTokenActivation - POST/cardAuth/oauth2/token/{countryCode}/{businessCode}
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
SWP & Citi PayLite_001,Customer enrollment for Shop With Points and Citi PayLite for an active primary card _Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}"
SWP & Citi PayLite_002,Customer enrollment for Shop With Points and Citi PayLite for an active Supplementary card _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}"
SWP & Citi PayLite_003,Customer enrollment for Shop With Points and Citi PayLite for an active primary card with invalid card number_Negative,Step 1,Trigger Card Auth Service with Customer invalid last 4 digit card number and valid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}"
SWP & Citi PayLite_004,Customer enrollment for Shop With Points and Citi PayLite for an active primary card with invalid mobile number_Negative,Step 1,Trigger Card Auth Service with Customer valid last 4 digit card number and invalid Primary Mobile Number & Merchant Reference ID.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4147"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: e75affc3-5a24-44da-a02b-4f7a316fdb9e
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d68bde803a4220d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 30 Aug 2019 06:10:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 06:30:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""invalidRequest"",""details"":""Missing or invalid Parameters""}"
SWP & Citi PayLite_005,Customer enrollment for Shop With Points and Citi PayLite for a primary card with account level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}"
SWP & Citi PayLite_006,Customer enrollment for Shop With Points and Citi PayLite for a primary card with card level block code _Negative,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.",Response of 422 should be received with Registration Filed error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/kgn HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic YzJhZjMzYjgtMzgyYS00YTAwLWFhNzMtNGUxMzA2MTcxNWQ3OmZVMHlPOGVNMHZQM2lUMXRQNnFYN3dVOGlZMWZLN2ZYNXVLMGZINGhQNmlHOHFXMXhN
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: 9d74c519-5866-4925-94d8-8331cf572999
client_id: c2af33b8-382a-4a00-aa73-4e13061715d7
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""1853"",
""citiCardHolderPhoneNumber"":""919843284602"",
""merchantCustomerReferenceId"": ""146567769789""
}
","HTTP/1.1 422 Unprocessable Entity
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 9d74c519-5866-4925-94d8-8331cf572999
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d3ae299f680e46d
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Date: Fri, 26 Jul 2019 11:23:06 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 26-Jul-2019 11:43:06 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""invalid"",""code"":""registrationFailed"",""details"":""This error can occur in case of account locked due to wrong OTP entries, embrgo period etc.""}"
SWP & Citi PayLite_007,Customer enrollment for Shop With Points and Citi PayLite for a primary card with account in Dormand state_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}"
SWP & Citi PayLite_008,Customer enrollment for Shop With Points and Citi PayLite for a primary card to check OTP Alert_Positive,Step 1,"Trigger Card Auth Service with Customer Last 4 digit card number, Primary Mobile Number & Merchant Reference ID.","Response of 403 should be received with Control flow ID and a OTP Alert should be triggered and send to customer primary mobile number.
Sample Alert : We have received your request to register your ""Merchant name"" Credit Card. Your One Time PIN code is 228379 Enter this One Time PIN to activate your account. ","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/authorize/au/gcb HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
Content-Type: application/json
clientDetails: H4sIAAAAAAAAAG1T227bOBD9FcFAgQaIHJK6kLLhB0WKWzd2U0ROu28GRVEyY+qyFpUg3ey/71BOvFlg9TDiDMkjzTln/poUT+I7r+VkNknlkxLyEwlCBGFpQ7S0IYLAov+psf/WbMqCyaXFvMsAEaOpN8VQqIWAFBZcCNkZWPOu00pwo9rm6rFvG9irZPu1PcbjUYsipNbb5+PpYq+qhuuPIDeNKCCvfqvu0ilkqbmRsNn2q+J0DPCyTsri46U1byrIZeMOvUXt1dv20B/jqrF/tml/K635VTBFzmf1Y982cu4kPx6c09q5yxyMdt4OO1odpLPhwpb+uHBiaEn+kvmtMlchgsanHiDcft1u1pens1+kOLQXzqbNlZZX2L9hHsLOZ+yjgBLkRYyGKAovLGHNG2H757EdL1riGy9N3TiKYtdfUupeL0nopmyZIBqwmKborWXDDfQ2m9gcWN6+dFbc7V6JA1Ty/MwPP0qetIU8Zc+qVNDLmbpYG2WGj7vJnjeN1O961O84o9o/5fGcbQDUHstUPYAq7RHKqjv5gdEpwdGUhlbgtj0o+4E4vX/Y7K63i/sZoeGr0Eo25l7+OcjefHlYpbOQeRh7eeRiIqXrMwiMc+pyTxLMCxL4fmBNSV5zsypmFEWvORcH2RRZw7t+3xpLw6ycf8tusmx1932VLhA8IlG/Yrel3u46e9CmN12VPj2+zPqqqvNhDq7igzbrVnAtF7KZ9ztg1ADUIsPVvir3hMtH//ll/9TP403ycyeUUfUo72KTxKv0E01IitA1TjALkIcikrg+fBhj5sPbizAKAVWIhTkOcn6ifs2tDz06pSxgng/FY8/BXbfy5SzPVtVADq9HWgOMUBAQTBnDJwlGbSilkhPBiqDkEUy1h0rOchLknAnhlyHykcwDkec5IoRE0G3OsMCo9MogEoKfjRCLf32xbscJAiXI1EehjynUNYzVwCs5jpa1C+8S3Zh3h9TabPtDNg6+7XPy9z8xobDZeAQAAA==
Accept: application/json
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
Content-Length: 177
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""grant_type"": ""card_authorization"",
""lastFourDigitsCardNumber"":""4146"",
""citiCardHolderPhoneNumber"":""6133302333"",
""merchantCustomerReferenceId"": ""13434543903275975""
}
","HTTP/1.1 403 Forbidden
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken,content-disposition
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId,content-disposition
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: cb640b9a-ba14-4576-8c96-d8427d752826
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65d67bad1669d668f
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 266
Date: Thu, 29 Aug 2019 11:45:23 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 29-Aug-2019 12:05:23 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""type"":""error"",""code"":""mfaRequired"",""details"":""MFA is required"",""moreInfo"":{""controlFlowId"":""336b44535733674d4634466c342f4c786262747453412f686b395a6a464a4839636a386677614a31484b673d"",""mfaType"":""otp"",""status"":""generated"",""mfaResponse"":{""otpDeliveryOption"":[""SMS""]}}}"
Citi PayLite-ShopWithPoints Balance Inquiry
ShopWithPoints Balance Inquiry
ShopWithPoints Balance Inquiry - POST/v1/creditCards/rewards/pointBalance/search
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
SWP & Citi PayLite_001,Customer Point Balance Inquiry for Shop With Points for an active primary card _Positive,Step 1,Triggers Point Balance Inquiry with valid Card Id.,"Success response of 200 should be received with Card id, displayCardNumber, availablePointBalance, programConversionRate, currencyCode, maximumPointsToRedeem & minimumPointsToRedeem.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/rewards/pointBalance/search HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkODAzMDNhNTItMzkxNC00NGU0LWJhYTAtOTliZDY1NzI3ZjkzaV7-CvCMqzC0EKD0d34S0t9lzGKcAFqeB7NSXrohyH6XFrNp2p2BVKrLLy-I-YNhiLJ7GgI0X6kSYlTlOwXLFao4RsWwi0mESOvpJRRL-71ylETYcjLDKyGduFOspK7AO_15Aq4ZqLmrXZkQJvOVUoNGHLgveQg7-xoVr54w3v_csbxe0bTzV3keM0m89-f0vzdvODaOpuWNB9fyovhvJ6f-0RrSh1plhNFss3T1gb-KLNkXW0f09Nul0-zOqR_q146LT7C6bCqY4rDsWRVg0g
uuid: 5fa65b6d-1834-4b95-92ae-d54e0593986f
Accept: application/json
client_id: 80303a52-3914-44e4-baa0-99bd65727f93
Content-Type: application/json
Content-Length: 145
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardDetails"": [
{
""cardId"": ""3974374153663058714c677743642f45645277547554764b6c4c426e49694b4e31537137504d6842512f343d""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 5fa65b6d-1834-4b95-92ae-d54e0593986f
citiUUID: 78000990-39fc-4346-9e74-c67f93c338c0
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c932c3506f93e8f
X-Akamai-CITISITE: GTDC
Content-Length: 383
Date: Thu, 21 Mar 2019 06:16:27 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 06:36:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardAccounts"":[
{
""cardId"":""3974374153663058714c677743642f45645277547554764b6c4c426e49694b4e31537137504d6842512f343d"",
""displayCardNumber"":""XXXXXXXXXXXX5764"",
""availablePointBalance"":8.0E4,
""programConversionRate"":2.5E-3,
""currencyCode"":""AUD"",
""maximumPointsToRedeem"":9.99999999999999E10,
""minimumPointsToRedeem"":1.0E0
}
]
}
"
SWP & Citi PayLite_002,Customer Point Balance Inquiry for Shop With Points for an active primary card with invalid card id _Positive,Step 1,Triggers Point Balance Inquiry with valid in Card Id.,Response of 400 should be received with invalid request error.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/rewards/pointBalance/search HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkODAzMDNhNTItMzkxNC00NGU0LWJhYTAtOTliZDY1NzI3ZjkzaV7-CvCMqzC0EKD0d34S0t9lzGKcAFqeB7NSXrohyH6XFrNp2p2BVKrLLy-I-YNhiLJ7GgI0X6kSYlTlOwXLFao4RsWwi0mESOvpJRRL-71ylETYcjLDKyGduFOspK7AO_15Aq4ZqLmrXZkQJvOVUoNGHLgveQg7-xoVr54w3v_csbxe0bTzV3keM0m89-f0vzdvODaOpuWNB9fyovhvJ6f-0RrSh1plhNFss3T1gb-KLNkXW0f09Nul0-zOqR_q146LT7C6bCqY4rDsWRVg0g
uuid: 5fa65b6d-1834-4b95-92ae-d54e0593986f
Accept: application/json
client_id: 80303a52-3914-44e4-baa0-99bd65727f93
Content-Type: application/json
Content-Length: 145
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""cardDetails"": [
{
""cardId"": ""3974374153663058714c677743642f45645277547554764b6c4c426e49694b4e31537137504d6842512f343dqqqqqqqqqq""
}
]
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 156ed119-023a-4b17-a174-fc6a648a8123
citiUUID: 78000990-a79a-4a76-9a0b-c67f93c3e2cf
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65c93398c0871b46f
X-Akamai-CITISITE: GTDC
Date: Thu, 21 Mar 2019 07:13:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Thu, 21-Mar-2019 07:33:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}"
Citi PayLite-Eligibility
Citi PayLite Eligibility
Citi PayLite Eligibility - GET /v1/creditCards/{cardId}/transactions/eligibility/easyPaymentPlan
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
SWP & Citi PayLite_001,Citi PayLite Eligiblity for Primary credit card for Pending Transaction_Positive,Step 1,Trigger Citi PayLite Eligiblity with eligbleLoanAmount.,"Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/765a704f34665952394a364f626b595657473764674f49593536446f6a52424c4d387a65797837595577383d/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=500 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQz4ZJXDbz7Y88TE2SpjFq0F4um4CC10p8PwV910QKUk4pQy_xZt7htkCYGahQblf_iHSNvxthQ1i_dauJtt1DyBS3bCUq8cDkha3Gq-JZ9p9-tAvDOY5-VI2UNScrskDEfgVSCjW8ZbhfqfvPCKWHu7aQ-3X3bNmIgeXxe8061_MRqxCrYylzEq-UpXoRk7ectlIR70iwOFRsrzdIoO57NETEHmgYlnjmwf-keC23Uklwb26Go6202_6oVDcSOYK8j
client_id: 2a7db593-6f56-4545-8657-50ac80541843
uuid: 08ad09cb-a8c7-4347-9aab-26a604664a98
Accept: application/json
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 08ad09cb-a8c7-4347-9aab-26a604664a98
citiUUID: 78000990-ec7a-4cb4-8836-c67f93c3edd8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Strict-Transport-Security: max-age=31536000
X-Global-Transaction-ID: c3937fc65cf0fd9c2142c8cd
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 31 May 2019 10:10:37 GMT
Content-Length: 227
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 31-May-2019 10:30:37 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""easyPaymentPlan"":[
{
""tenor"":""6"",
""annualPercentageRate"":5.03E0,
""installmentAmount"":8.5E1,
""oneTimeProcessingFeeIndicator"":""NOT_APPLICABLE"",
""oneTimeProcessingFeeAmount"":0.0E0,
""oneTimeProcessingFeePercentage"":0.0E0,
""offerIndicator"":""RATE_BASED""
},
{
""tenor"":""12"",
""annualPercentageRate"":5.4E0,
""installmentAmount"":4.3E1,
""oneTimeProcessingFeeIndicator"":""NOT_APPLICABLE"",
""oneTimeProcessingFeeAmount"":0.0E0,
""oneTimeProcessingFeePercentage"":0.0E0,
""offerIndicator"":""RATE_BASED""
},
{
""tenor"":""24"",
""annualPercentageRate"":5.57E0,
""installmentAmount"":2.2E1,
""oneTimeProcessingFeeIndicator"":""NOT_APPLICABLE"",
""oneTimeProcessingFeeAmount"":0.0E0,
""oneTimeProcessingFeePercentage"":0.0E0,
""offerIndicator"":""RATE_BASED""
}
]
}"
SWP & Citi PayLite_002,Citi PayLite Eligiblity for Primary credit card for Invalid Card ID_Negative,Step 1,Trigger Citi PayLite Eligiblity with Invalid Card ID.,"Response of 400 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/creditCards/12/transactions/eligibility/easyPaymentPlan?eligbleLoanAmount=500 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer AAIkMmE3ZGI1OTMtNmY1Ni00NTQ1LTg2NTctNTBhYzgwNTQxODQz4ZJXDbz7Y88TE2SpjFq0F4um4CC10p8PwV910QKUk4pQy_xZt7htkCYGahQblf_iHSNvxthQ1i_dauJtt1DyBS3bCUq8cDkha3Gq-JZ9p9-tAvDOY5-VI2UNScrskDEfgVSCjW8ZbhfqfvPCKWHu7aQ-3X3bNmIgeXxe8061_MRqxCrYylzEq-UpXoRk7ectlIR70iwOFRsrzdIoO57NETEHmgYlnjmwf-keC23Uklwb26Go6202_6oVDcSOYK8j
client_id: 2a7db593-6f56-4545-8657-50ac80541843
uuid: 08ad09cb-a8c7-4347-9aab-26a604664a98
Accept: application/json
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 08ad09cb-a8c7-4347-9aab-26a604664a98
citiUUID: 78000990-3aec-4975-9efd-c67f93c379c8
singularityheader: appId=241*ctrlguid=1558264035*acctguid=96a97fe3-5d1b-46c4-84c7-008153dee6b5*nodeid=162424*ts=1559298867833*btid=20538*guid=3af2f6af-7b06-46ec-ae9d-f16484a88615*exitguid=2|1*unresolvedexitid=52707*tcop=1:455987*cidfrom=1043*etypeorder=JMS*esubtype=JMS*cidto={[UNRESOLVED][52707]}*tcop=1:455987
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
X-Global-Transaction-ID: c3937fc65cf103332155ea7d
X-Akamai-CITISITE: GTDC
Content-Length: 75
Date: Fri, 31 May 2019 10:34:27 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 31-May-2019 10:54:27 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidCard"",
""details"":""Card is invalid""
}"
Citi PayLite-CardAuthorizationRefreshToken
CardAuthorizationRefreshToken
CardAuthorizationRefreshToken - POST/cardAuth/oauth2/refresh
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
SWP & Citi PayLite_001,Refresh Token for Shop With Points and Citi PayLite for Primary credit card _Positive,Step 1,"Trigger Refresh Token with grand type as ""refresh_token"" and the refresh token recived from the auth service.","200 success response should be received with token type, access_token, expires_in, consented_on, scope, refresh_token, refresh_token_expires_in and cardId.","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/refresh HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
uuid: 7cb5e018-6d21-41cc-a927-b867717b159b
Accept: application/json
Content-Type: application/x-www-form-urlencoded
Content-Length: 341
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=refresh_token&refresh_token=AAJSU7S5VkeA-YOgw_y7jqkWUDbIpj_Cp_we4u1hB7WhQIa7VUSjGhFVBILez0AJnN2aQ_MXdkYjSzWFhdMGnAPm9j3X3FbLCnV3EqSkNhuLDIt_4XPFn-1RvWHxypEbU8GK9KI3sb8Rxva9u98oH48opPvJkDYFTpTK-ayFRp9Zfzm0pEMc0_Qg3IcZZsRNLt15S74EzcD8B16U5oYhMSs3zGhgVmPGi4gaYr2psF5SRJiP3AGFcbDpBlC8rR6n06AP2f2YW1mPQp_FlcaIaJo2Y180ETZqHfa_cLBoKlhjJQ","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,FAIL FAIL
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Access-Control-Expose-Headers: Accept, Accept-Language, Authorization, businessCode, client_id, content-type, countryCode, uuid, x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,clientDetails,clientdetails,content-disposition
Content-Type: application/json
Cache-Control: private, no-store, no-cache, must-revalidate
Pragma: no-cache
X-Global-Transaction-ID: c3937fc65d68c81f0a46a0cf
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 30 Aug 2019 06:54:24 GMT
Content-Length: 708
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 07:14:24 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""token_type"":""bearer"",""access_token"":""AAIkMTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjJXTfkJxxdr-87uaIBBVg47R4bBlo9MX7jqQ9W6Pfcd38wPSn039w1eUCA3eYUq1_bYMWho4o_bElYgPvUpYt0ZXDTmWZg0iL0Tx4w43low2If8D0LN1ON7WxSdpNAFRUNVUrAadpFnIARQnpNo5RrZQyfvcmtnLEULzwEvDFADmaXzEUP5A5tU9mcYBzLwJXerxEQkzyQss6DsKnyqelPu72dSdGzFjltRJoB6dW4U3sltLgBttBN5_4u3QimNUaDiZ6A83OGDWcDzncCqLwUA"",""expires_in"":2678400,""consented_on"":1567148060,""scope"":""shop_with_points"",""refresh_token"":""AAJgww6-goo2bknWGgG_lw5W7drovM0FjK46KPRfrGwOZEWrOSafx6f-CB17_GbBN0Mv3gezd98X7YuACe1aM7QCBwhuknCNKI2E0PgnzXhGSZqi2o7T2OTH792hGGNhzod0pttT7Z1Yv9tWh4XdQMzuuOJwNCHk5-72QGV3KMGNRTQQP-mRSsMfoHUCEkCC6Ww-9BEMwv_7jwAekyPPJAoCgeN2XMayRJfGpOfCBENsPG_tlrdW-WGMkSwwvPFXEqqIDqrpHxA3HHxPLY_MaJ5CaGvLhed0DfykfcmN90jQeA"",""refresh_token_expires_in"":32140800,""cardId"":""6a384f724e39743036632b372b583170364e735438314733763045413548734a4366773545776b744d4b4d3d""}"
SWP & Citi PayLite_002,Refresh Token for Shop With Points and Citi PayLite for Primary credit card with invalid Refresh token_Negative,Step 1,"Trigger Refresh Token with grand type as ""refresh_token"" and invalid refresh token.","Response of 400 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/cardAuth/oauth2/refresh HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic MTZiZGQ2ZWEtYjVmYi00YWVlLTlkNmYtMDBjNzlmNzUxNzJjOksxZk82YkQxeUwyaUQxdkUzblQza1IwYkgzbU81d1M3aFc4eUgwbFUwbkMyaFc0b0g4
client_id: 16bdd6ea-b5fb-4aee-9d6f-00c79f75172c
uuid: 09418b14-b68d-4ffc-a1cf-99edfc6ace61
Accept: application/json
Content-Type: application/x-www-form-urlencoded
Content-Length: 347
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
grant_type=refresh_token&refresh_token=AAAAAAAAJLfZbI_VU1raQ_3K871wtMq4XlcWtJU2IJ_J292sE5FdcfPaCJ6MLxPFNRU6obCHse3LE8uOLX4MGGovEeU9ebvQ49N0NH1YGsKnKhhFnqpypuqnjy1AV4Q930_1FogDS2UwEpbGFiZfPR6zaHqdzAp5kRL_nGxr2oomcfcHChQro2ht6A7DxJ9lvBfmtD7hb0idJjKdTU4oZFswdZE7EPdceyU9tOOBWZLYodwVJtS139JxQMitokK4wHEfiWHeyi0c6EWLN2ooe4ifF3MbtgbWD0WmG98rovKnWmFfC73A","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL
Content-Type: application/json
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Origin:
Access-Control-Allow-Headers: Accept,Accept-Language,Authorization,businessCode, client_id,content-type,countryCode, uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,mfaCode,channelindicator,org,relationshipnumber,terminalid,userid,messageid,versionnbr,nextStartIndex,clientDetails,clientdetails,accept,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition
Access-Control-Expose-Headers: Accept,Accept-Language,Authorization,businessCode, client_id,content-type,countryCode, uuid,x-ibm-client-id,eventid,sessionID,bizToken,citiuuid,mfaCode,channelindicator,org,relationshipnumber,terminalid,userid,messageid,versionnbr,nextStartIndex,clientDetails,clientdetails,accept,lastFailedLoginTimestamp,lastLoginTime,isFirstTimeLogin,content-disposition
X-Global-Transaction-ID: c3937fc65d68d3ae01687a31
Access-Control-Allow-Credentials: true
X-Akamai-CITISITE: GTDC
Content-Length: 25
Date: Fri, 30 Aug 2019 07:43:42 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Fri, 30-Aug-2019 08:03:42 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{""error"":""invalid_grant""}"
Shop With Points - Reward Linkage API
Shop With Points - Reward Linkage API
Shop With Points - Reward Linkage API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer enrollment for shop with points for an active primary card _Positive,Step 1,"Customer enrollment for shop with points with valid citi card number, mobile number and customer merchant reference id.
","Success response of 200 should be received
with unique reward link code and OTP will be
delivered to the customer mobile number
.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Applicable,status:ACTIVE,
SWP_002,Customer enrollment for shop with points_Supplementary card holder_Negative,Step 1,"
Send Reward Linkage API Request for shop with points for a
supplementary card holder customer with
valid card number , mobile number and
merchant customer reference id.
","Response of 400 should be received with the
appropriate error details.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 4c3a48a0-f0b4-4817-9e76-6d95d5cf5fd7
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""7522"",
""citiCardHolderPhoneNumber"":""6590093334"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4c3a48a0-f0b4-4817-9e76-6d95d5cf5fd7
citiUUID: 78000990-ebc2-4e8d-8ca3-c67f93c38fe9
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf663b2259581d
X-Akamai-CITISITE: GTDC
Content-Length: 86
Date: Tue, 23 Oct 2018 18:19:41 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:39:41 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidCardType"",
""details"":""Card type is invalid""
}",Applicable,cardHolder:Supplimentary,
SWP_003,"Customer enrollment with valid 4 digit card number,merchant reference id but invalid mobile number_Negative",Step 1,"
Send API Request for shop with points with valid
card number , merchant reference id but invalid
mobile number
","Response of 400 should be received with the
appropriate error details.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""4750"",
""citiCardHolderPhoneNumber"":""1234567890"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
citiUUID: 78000990-5dcf-4a7d-b729-c67f93c3264f
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf689c2268076d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 23 Oct 2018 18:29:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:49:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,citiCardHolderPhoneNumber
SWP_004,"Customer enrollment with valid merchant reference id,mobile number but invalid card number_Negative",Step 1,"
Send API Request for shop with points with valid
merchant reference id, mobile number but invalid last 4 digit of citi card
number.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: a90a615f-fee2-402e-bc82-a671bc0d26f0
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""1111"",
""citiCardHolderPhoneNumber"":""6532682421"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
citiUUID: 78000990-5dcf-4a7d-b729-c67f93c3264f
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf689c2268076d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 23 Oct 2018 18:29:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:49:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,lastFourDigitsCardNumber
SWP_005,Customer enrollment for shop with points for a closed card _Positive,Step 1,"
Customer enrollment for shop with points with
closed card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3745"",
""citiCardHolderPhoneNumber"":""8529115372"",
""merchantCustomerReferenceId"":""346767876888""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798172041515""
}",Not Applicable,status:CLOSED,
SWP_006,Customer enrollment for shop with points for an active primary card and Verify OTP Alert_Positive,Step 1,"
Customer enrollment for shop with points with
card number, mobile number and customer
merchant reference id.
Verify the OTP alerts.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
User should get a message to registered Primary Mobile number. Sample ""Your OTP for shop with Points program registration with
&lt;Merchant Name&gt; is &lt;nnnnnn&gt;.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,status:ACTIVE,
SWP_007,Customer enrollment for shop with points for a card with account level block code _Positive,Step 1,"
Customer enrollment for shop with points with
blocked card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,accountStatus:BLOCKED,
SWP_008,Customer enrollment for shop with points for a card with card level block code _Positive,Step 1,"
Customer enrollment for shop with points with
blocked card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3745"",
""citiCardHolderPhoneNumber"":""8659115372"",
""merchantCustomerReferenceId"":""346767876888""
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,status:BLOCKED,
SWP_009,"Customer enrollment for shop with points for a card with only last 4 digit number,Mobile number without customer merchant reference id_Positive",Step 1,"Customer enrollment for shop with points with valid citi card number and mobile number and without customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 87ae4900-fbdf-41d8-b3b2-bc170128e763
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 137
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""4750"",
""citiCardHolderPhoneNumber"":""6532682421""
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 87ae4900-fbdf-41d8-b3b2-bc170128e763
citiUUID: 78000990-cd2e-45fe-ab8e-c67f93c3cd0d
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf68ce2269e67d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 23 Oct 2018 18:30:40 GMT
Content-Length: 62
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:50:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""7024599798169975333""
}",Applicable,status:ACTIVE,
Shop With Points - Reward Linkage Activation API
Shop With Points - Reward Linkage Activation API
Shop With Points - Reward Linkage Activation API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer Reward Link Code activation for an active card_Positive,Step 1,"Customer Reward Link Code activation for shop with points with valid OTP received.
","Success response of 200 should be received and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
SWP_002,Customer Reward Link Code activation for a closed card _Positive,Step 1,"Customer Reward Link Code activation for shop with points with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:CLOSED,
SWP_003,Customer Reward Link Code activation for an active card and Verify OTP Activation Alert_Positive,Step 1,"Customer Reward Link Code activation for shop with points with valid OTP received. Verify Activation Alert.
","Success response of 200 should be received and Activation Alert should be send to the customer mobile no. User should get a message to registered Primary Mobile number
Sample - Your authentication for <Merchant Name>. You may now select the amount you want to shop with Points
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:ACTIVE,
SWP_004, Customer Reward Link Code activation with valid reward link code and invalid OTP_Negative, Step 1,"Customer Reward Link Code activation for shop with points with invalid OTP.
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 7da79d20-8efd-4e27-8c9c-8136eff9744a
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkWMQ6urPKxcxBR7no_khOaH7s5CPOhH8ZbnDVJ2Ke2EhtTjpd-Dw9Clde0l6kqZJNfxEsJ-YRGDt9h0gY16sqWoeJU0VDNLxmkuizf0dSVCoPu1U3gRuGGXdCGqHPGO9R0DuHCe3MPpG6cIGZ81MDpX03Yjsjx2-YK6gKZukhn8EzNglnGhN6r2XzU9snZO4OdLK1bU0IaYBvM38TkrHd7FnB4w23xuGErdOOZ_610SIQiugDO0PyBfqUh-4KQXpD1-uK-wBRH0nrZaWFQYoUhn6oDQOXyFQVWDiKHvNYLoY
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:123456
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 7da79d20-8efd-4e27-8c9c-8136eff9744a
citiUUID: 78000990-3cd0-4381-a407-c67f93c3a6c8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac535f1f33e3ed
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 08:10:08 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 08:30:08 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,
SWP_005, Customer Reward Link Code activation with invalid OTP more than max attempt_Negative, Step 1,"Customer Reward Link Code activation for shop with points with invalid OTP more than 2 times.
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 604effeb-1587-4a0d-b402-b4495036a98f
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkWMQ6urPKxcxBR7no_khOaH7s5CPOhH8ZbnDVJ2Ke2EhtTjpd-Dw9Clde0l6kqZJNfxEsJ-YRGDt9h0gY16sqWoeJU0VDNLxmkuizf0dSVCoPu1U3gRuGGXdCGqHPGO9R0DuHCe3MPpG6cIGZ81MDpX03Yjsjx2-YK6gKZukhn8EzNglnGhN6r2XzU9snZO4OdLK1bU0IaYBvM38TkrHd7FnB4w23xuGErdOOZ_610SIQiugDO0PyBfqUh-4KQXpD1-uK-wBRH0nrZaWFQYoUhn6oDQOXyFQVWDiKHvNYLoY
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:123458
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 604effeb-1587-4a0d-b402-b4495036a98f
citiUUID: 78000990-af0e-434c-8f3b-c67f93c32caa
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac53da3fe2f3ff
X-Akamai-CITISITE: GTDC
Content-Length: 143
Date: Tue, 09 Apr 2019 08:12:10 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 08:32:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumAttempts"",
""details"":""Maximum attempts exceeded for activation. Link credit card to a merchant""
}",Applicable,,
SWP_006, Customer Reward Link Code activation with expired OTP_Negative, Step 1,"Customer Reward Link Code activation for shop with points with expired OTP
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 44083c82-0935-4acc-b944-24e9960ae527
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkCqsXYOpAVw2P0eqfRDlZgC-7BTNUmdx2LhmQATn-hTqKXgkCdPi_HBG2ErjDUsDnZXvX_dBJXeTIVRHMXNunnlCBkXWUvfyTjMwJQXFEUOAmt0oahBmYi9vWJMBDu-kVmBg6VIM4dBj_kF5OCmjEeGJBQZd4Ye4d-2ZVzXc1Yft9PMdQDS26jzvVVwhn6qcztJvJvbJWvaYN6GVGfRZKvJg7Sx5bPpnBDCVNtxNpYLTAjkdegHGi7ikaFvoiGciYv3kr6JVGFSEHsnPoB5BRVHaAkpJqdKTGr-ZOzAh-H5o
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:820009
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 44083c82-0935-4acc-b944-24e9960ae527
citiUUID: 78000990-6787-4f94-a1ee-c67f93c38ed0
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3c211e66ac3d
X-Akamai-CITISITE: GTDC
Content-Length: 159
Date: Tue, 09 Apr 2019 06:30:58 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:50:58 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""linkageConfirmationCodeExpired"",
""details"":""The linkage confirmation Code is expired . Link credit card to a merchant again.""
}",Not Applicable,,
SWP_007, Customer Reward Link Code activation for a Card with Account Level Block code_Positive, Step 1,"Customer Reward Link Code activation for shop with points with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,accountStatus:BLOCKED,
SWP_008, Customer Reward Link Code activation for a Card with Card Level Block code_Positive, Step 1,"Customer Reward Link Code activation for shop with points with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:BLOCKED,
SWP_009, Customer Reward Link Code activation for an active card and Verify Activation Alert for Local Language_Positive, Step 1,"Customer Reward Link Code activation for shop with points with valid OTP received.
Verify Activation Alert
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
User should get a message to registered Primary Mobile number in local language
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,,
Shop With Points - Reward Linkage DeActivation API
Shop With Points - Reward Linkage DeActivation API
Shop With Points - Reward Linkage DeActivation API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer Deactivation for shop with points for an active primary card _Positive,Step 1,"Customer Deactivate for shop with points with valid Reward Link Code.
","Success response of 200 should be received .
.
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
citiUUID: 78000990-9091-453d-9de5-c67f93c3df00
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cad92e95cdcdf7f
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 06:53:29 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:29 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
SWP_002,Customer Deactivation for shop with points for a closed card _Positive,Step 1,"Customer Deactivate for shop with points with valid Reward Link Code.
","Success response of 200 should be received .
.
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
citiUUID: 78000990-9091-453d-9de5-c67f93c3df00
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cad92e95cdcdf7f
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 06:53:29 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:29 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:CLOSED,
SWP_003,Customer Deactivation for shop with points for an invalid reward link code _Negative,Step 1,"Customer Deactivate for shop with points with invalid Reward Link Code.
","Response of 400 should be received
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624 HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: d1af4102-2e19-446d-975b-294a26c01205
citiUUID: 78000990-a125-45ae-b569-c67f93c3d2cb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad92fe09012371
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:53:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Invalid reward link code""
}",Applicable,,
SWP_004,Customer Deactivation for shop with points for an inactive reward link code_Positive,Step 1,"Customer Deactivate for shop with points with an inactive Reward Link Code.
","Success response of 200 should be received .
.
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
citiUUID: 78000990-9091-453d-9de5-c67f93c3df00
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cad92e95cdcdf7f
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 06:53:29 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:29 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,,
Shop With Points - Point Balance Inquiry API
Shop With Points - Point Balance Inquiry API
Shop With Points - Point Balance Inquiry API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
SWP_001,Customer point balance inquiry for shop with points for an active primary card _Positive,Step 1,"Customer point balance inquiry for shop with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":15310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Applicable,status:ACTIVE,
SWP_002,Customer point balance inquiry for shop with points for an active primary card post Redemption_Positive,Step 1,"Customer point balance inquiry for shop with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":5310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,status:ACTIVE,
SWP_003,Customer point balance inquiry for shop with points for a Closed card _Positive,Step 1,"Customer point balance inquiry for shop with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":0,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,status:CLOSED,
SWP_004,Customer point balance inquiry for shop with points for an active primary card with invalid Reward Link Code_Negative,Step 1,"Customer point balance inquiry for shop with points with invalid Reward Link Code.
","Response of 400 should be received
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
citiUUID: 78000990-13f9-4183-8a8e-c67f93c3879a
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad87ea08e2a6c1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:06:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:26:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Reward link code is invalid""
}",Applicable,,
SWP_005,Customer point balance inquiry for shop with points for an active primary card with inactive Reward Link Code_Negative,Step 1,"Customer point balance inquiry for shop with points with inactive Reward Link Code.
","Response of 400 should be received
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
citiUUID: 78000990-13f9-4183-8a8e-c67f93c3879a
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad87ea08e2a6c1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:06:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:26:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inactiveRewardLinkCode"",
""details"":""Reward link code is inactive""
}",Applicable,,
SWP_006,Customer point balance inquiry for shop with points for a primary card with Account Level Block code _Positive,Step 1,"Customer point balance inquiry for shop with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":15310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,accountStatus:BLOCKED,
SWP_007,Customer point balance inquiry for shop with points for a primary card with Card Level Block code _Positive,Step 1,"Customer point balance inquiry for shop with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":15310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,status:BLOCKED,
Pay With Points - Reward Linkage API
Pay With Points - Reward Linkage API
Pay With Points - Reward Linkage API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
PWP_001,Customer enrollment for pay with points for an active primary card _Positive,Step 1,"Customer enrollment for pay with points with valid citi card number, mobile number and customer merchant reference id.
","Success response of 200 should be received
with unique reward link code and OTP will be
delivered to the customer mobile number
.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Applicable,status:ACTIVE,
PWP_002,Customer enrollment for pay with points_Supplementary card holder _Negative,Step 1,"
Send Reward Linkage API Request for pay with points for a
supplementary card holder customer with
valid card number , mobile number and
merchant customer reference id.
","Response of 400 should be received with the
appropriate error details.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 4c3a48a0-f0b4-4817-9e76-6d95d5cf5fd7
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""7522"",
""citiCardHolderPhoneNumber"":""6590093334"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 4c3a48a0-f0b4-4817-9e76-6d95d5cf5fd7
citiUUID: 78000990-ebc2-4e8d-8ca3-c67f93c38fe9
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf663b2259581d
X-Akamai-CITISITE: GTDC
Content-Length: 86
Date: Tue, 23 Oct 2018 18:19:41 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:39:41 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidCardType"",
""details"":""Card type is invalid""
}",Applicable,cardHolder:Supplimentary,
PWP_003,"Customer enrollment with valid 4 digit card number,merchant reference id but invalid mobile number_Negative",Step 1,"
Send API Request for pay with points with valid
card number , merchant reference id but invalid
mobile number
","Response of 400 should be received with the
appropriate error details.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""4750"",
""citiCardHolderPhoneNumber"":""1234567890"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
citiUUID: 78000990-5dcf-4a7d-b729-c67f93c3264f
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf689c2268076d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 23 Oct 2018 18:29:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:49:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,citiCardHolderPhoneNumber
PWP_004,"Customer enrollment with valid merchant reference id,mobile number but invalid card number_Negative",Step 1,"
Send API Request for pay with points with valid
merchant reference id, mobile number but invalid last 4 digit of citi card
number.
","Response of 400 should be received with the
appropriate error details.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: a90a615f-fee2-402e-bc82-a671bc0d26f0
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""1111"",
""citiCardHolderPhoneNumber"":""6532682421"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
citiUUID: 78000990-5dcf-4a7d-b729-c67f93c3264f
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf689c2268076d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 23 Oct 2018 18:29:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:49:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,lastFourDigitsCardNumber
PWP_005,Customer enrollment for pay with points for a closed card _Positive,Step 1,"
Customer enrollment for pay with points with
closed card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3745"",
""citiCardHolderPhoneNumber"":""8529115372"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798172041515""
}",Not Applicable,status:CLOSED,
PWP_006,Customer enrollment for pay with points for an active primary card and Verify OTP Alert_Positive,Step 1,"
Customer enrollment for pay with points with
card number, mobile number and customer
merchant reference id.
Verify the OTP alerts.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
User should get a message to registered Primary Mobile number. Sample ""Your OTP for Pay with Points program registration with
<Merchant Name> is <nnnnnn>.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,status:ACTIVE,
PWP_007,Customer enrollment for pay with points for a card with account level block code _Positive,Step 1,"
Customer enrollment for pay with points with
blocked card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,accountStatus:BLOCKED,
PWP_008,Customer enrollment for pay with points for a card with card level block code _Positive,Step 1,"
Customer enrollment for pay with points with
blocked card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3745"",
""citiCardHolderPhoneNumber"":""8659115372"",
""merchantCustomerReferenceId"":""346767876888""
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,status:BLOCKED,
PWP_009,Customer enrollment for pay with points for a card with only last 4 digit number & Mobile number without customer merchant reference id_Positive,Step 1,"Customer enrollment for pay with points with valid citi card number and mobile number.
","
Success response of 200 should be received
with the unique reward link code and SMS will be
delivered to the customer
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 87ae4900-fbdf-41d8-b3b2-bc170128e763
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 137
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""4750"",
""citiCardHolderPhoneNumber"":""6532682421""
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 87ae4900-fbdf-41d8-b3b2-bc170128e763
citiUUID: 78000990-cd2e-45fe-ab8e-c67f93c3cd0d
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf68ce2269e67d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 23 Oct 2018 18:30:40 GMT
Content-Length: 62
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:50:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""7024599798169975333""
}",Applicable,status:ACTIVE,
PWP_010,Customer enrollment for pay with points for an active primary card and Verify OTP Alert for Local Language_Positive,Step 1,"
Customer with enrollment for pay with points with
card number, mobile number and customer
merchant reference id.
Verify OTP alerts
","
Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
Alert should be send in Local Language.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}",Not Applicable,status:ACTIVE,
Pay With Points - Point Balance Inquiry API
Pay With Points - Point Balance Inquiry API
Pay With Points - Point Balance Inquiry API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
PWP_001,Customer point balance inquiry for pay with points for an active primary card _Positive,Step 1,"Customer point balance inquiry for pay with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":15310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Applicable,status:ACTIVE,
PWP_002,Customer point balance inquiry for pay with points for an active primary card post Redemption_Positive,Step 1,"Customer point balance inquiry for pay with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":5310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,status:ACTIVE,
PWP_003,Customer point balance inquiry for pay with points for a Closed card _Positive,Step 1,"Customer point balance inquiry for pay with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":0,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,status:CLOSED,
PWP_004,Customer point balance inquiry for pay with points for an active primary card with invalid Reward Link Code_Negative,Step 1,"Customer point balance inquiry for pay with points with invalid Reward Link Code.
","Response of 400 should be received
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/000000000000000000/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
citiUUID: 78000990-13f9-4183-8a8e-c67f93c3879a
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad87ea08e2a6c1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:06:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:26:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Reward link code is invalid""
}",Applicable,,
PWP_005,Customer point balance inquiry for pay with points for an active primary card with inactive Reward Link Code_Negative,Step 1,"Customer point balance inquiry for pay with points with inactive Reward Link Code.
","Response of 400 should be received
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/123456789512112154/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: d72dde20-72ec-4fb0-bf10-2274d646eeb3
citiUUID: 78000990-13f9-4183-8a8e-c67f93c3879a
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad87ea08e2a6c1
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:06:34 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:26:34 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inactiveRewardLinkCode"",
""details"":""Reward link code is inactive""
}",Applicable,,
PWP_006,Customer point balance inquiry for pay with points for a primary card with Account Level Block code _Positive,Step 1,"Customer point balance inquiry for pay with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":15310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,accountStatus:BLOCKED,
PWP_007,Customer point balance inquiry for pay with points for a primary card with Card Level Block code _Positive,Step 1,"Customer point balance inquiry for pay with points.
","Success response of 200 should be received.
","GET https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/pointBalance HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJk7_EY9EocpzLoIohPRBgPAp9MuK9ut-K3qcqXrAn2rwNLy_xNM2Dk06IeAFkZ7taGBFS0gJAJJlpErwUfVjJ4KhmyhvD6h55VeJb4O0TqeuVJt9U2n2vgDR9N9DWEb7VMnmyE0wFpmo_Nd5bxZhsxhxgv7GEwGDZQ_jWRzflFBaVggeaDhF3EzIMMDItwC4LFioqmhWBe7moCBUTnmMC7XXEoUsySGflVLCqG8lvxq51kW1SL_ayiwTUgLeSjDnSYAGc-nj1YpWih_4Xq789vKUfie5vVcXUaG9_XUBh6_2Y
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 87fbde5a-ef80-4401-b690-4767a7f62f0c
citiUUID: 78000990-ae15-4962-9a15-c67f93c311b8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad86472b89124d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 05:59:38 GMT
Content-Length: 145
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:19:38 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""availablePointBalance"":15310,
""programConversionRate"":3.703704E-3,
""currencyCode"":""HKD"",
""maximumPointsToRedeem"":100000000000,
""minimumPointsToRedeem"":13500
}",Not Applicable,status:BLOCKED,
Pay With Points - Reward Linkage Activation API
Pay With Points - Reward Linkage Activation API
Pay With Points - Reward Linkage Activation API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator,Comment
PWP_001,Customer Reward Link Code activation for an active card_Positive,Step 1,"Customer Reward Link Code activation for pay with points with valid OTP received.
","Success response of 200 should be received and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,,
PWP_002,Customer Reward Link Code activation for a closed card _Positive,Step 1,"Customer Reward Link Code activation for pay with points with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:CLOSED,,
PWP_003,Customer Reward Link Code activation for an active card and Verify OTP Activation Alert_Positive,Step 1,"Customer Reward Link Code activation for pay with points with valid OTP received. Verify Activation Alert.
","Success response of 200 should be received and Activation Alert should be send to the customer mobile no. User should get a message to registered Primary Mobile number
Sample - Your authentication for <Merchant Name>. You may now select the amount you want to Pay with Points
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:ACTIVE,,
PWP_004, Customer Reward Link Code activation with valid reward link code and invalid OTP_Negative, Step 1,"Customer Reward Link Code activation for pay with points with invalid OTP.
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 7da79d20-8efd-4e27-8c9c-8136eff9744a
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkWMQ6urPKxcxBR7no_khOaH7s5CPOhH8ZbnDVJ2Ke2EhtTjpd-Dw9Clde0l6kqZJNfxEsJ-YRGDt9h0gY16sqWoeJU0VDNLxmkuizf0dSVCoPu1U3gRuGGXdCGqHPGO9R0DuHCe3MPpG6cIGZ81MDpX03Yjsjx2-YK6gKZukhn8EzNglnGhN6r2XzU9snZO4OdLK1bU0IaYBvM38TkrHd7FnB4w23xuGErdOOZ_610SIQiugDO0PyBfqUh-4KQXpD1-uK-wBRH0nrZaWFQYoUhn6oDQOXyFQVWDiKHvNYLoY
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:123456
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 7da79d20-8efd-4e27-8c9c-8136eff9744a
citiUUID: 78000990-3cd0-4381-a407-c67f93c3a6c8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac535f1f33e3ed
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 08:10:08 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 08:30:08 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}",Applicable,,,
PWP_005, Customer Reward Link Code activation with invalid OTP more than max attempt_Negative, Step 1,"Customer Reward Link Code activation for pay with points with invalid OTP more than 2 times.
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 604effeb-1587-4a0d-b402-b4495036a98f
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkWMQ6urPKxcxBR7no_khOaH7s5CPOhH8ZbnDVJ2Ke2EhtTjpd-Dw9Clde0l6kqZJNfxEsJ-YRGDt9h0gY16sqWoeJU0VDNLxmkuizf0dSVCoPu1U3gRuGGXdCGqHPGO9R0DuHCe3MPpG6cIGZ81MDpX03Yjsjx2-YK6gKZukhn8EzNglnGhN6r2XzU9snZO4OdLK1bU0IaYBvM38TkrHd7FnB4w23xuGErdOOZ_610SIQiugDO0PyBfqUh-4KQXpD1-uK-wBRH0nrZaWFQYoUhn6oDQOXyFQVWDiKHvNYLoY
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:123458
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 604effeb-1587-4a0d-b402-b4495036a98f
citiUUID: 78000990-af0e-434c-8f3b-c67f93c32caa
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac53da3fe2f3ff
X-Akamai-CITISITE: GTDC
Content-Length: 143
Date: Tue, 09 Apr 2019 08:12:10 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 08:32:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumAttempts"",
""details"":""Maximum attempts exceeded for activation. Link credit card to a merchant""
}",Applicable,,,
PWP_006, Customer Reward Link Code activation with expired OTP_Negative, Step 1,"Customer Reward Link Code activation for pay with points with expired OTP
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 44083c82-0935-4acc-b944-24e9960ae527
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkCqsXYOpAVw2P0eqfRDlZgC-7BTNUmdx2LhmQATn-hTqKXgkCdPi_HBG2ErjDUsDnZXvX_dBJXeTIVRHMXNunnlCBkXWUvfyTjMwJQXFEUOAmt0oahBmYi9vWJMBDu-kVmBg6VIM4dBj_kF5OCmjEeGJBQZd4Ye4d-2ZVzXc1Yft9PMdQDS26jzvVVwhn6qcztJvJvbJWvaYN6GVGfRZKvJg7Sx5bPpnBDCVNtxNpYLTAjkdegHGi7ikaFvoiGciYv3kr6JVGFSEHsnPoB5BRVHaAkpJqdKTGr-ZOzAh-H5o
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:820009
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 44083c82-0935-4acc-b944-24e9960ae527
citiUUID: 78000990-6787-4f94-a1ee-c67f93c38ed0
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3c211e66ac3d
X-Akamai-CITISITE: GTDC
Content-Length: 159
Date: Tue, 09 Apr 2019 06:30:58 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:50:58 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"": ""error"",
""code"": ""linkageConfirmationCodeExpired"",
""details"": ""The linkage confirmation Code is expired . Link credit card to a merchant again.""
}",Not Applicable,,,
PWP_007, Customer Reward Link Code activation for a Card with Account Level Block code_Positive, Step 1,"Customer Reward Link Code activation for pay with points with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,accountStatus:BLOCKED,,
PWP_008, Customer Reward Link Code activation for a Card with Card Level Block code_Positive, Step 1,"Customer Reward Link Code activation for pay with points with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:BLOCKED,,
PWP_009, Customer Reward Link Code activation for an active card and Verify Activation Alert for Local Language_Positive, Step 1,"Customer Reward Link Code activation for pay with points with valid OTP received.
Verify Activation Alert
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
User should get a message to registered Primary Mobile number in local language
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
linkageConfirmationCode:579994
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,,,
Pay With Points - Reward Linkage DeActivation API
Pay With Points - Reward Linkage DeActivation API
Pay With Points - Reward Linkage DeActivation API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response,Applicable,Host Mapping,Field Indicator
PWP_001,Customer Deactivation for pay with points for an active primary card _Positive,Step 1,"Customer Deactivate for pay with points with valid Reward Link Code.
","Success response of 200 should be received .
.
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624 HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
citiUUID: 78000990-9091-453d-9de5-c67f93c3df00
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cad92e95cdcdf7f
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 06:53:29 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:29 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,status:ACTIVE,
PWP_002,Customer Deactivation for pay with points for a closed card _Positive,Step 1,"Customer Deactivate for pay with points with valid Reward Link Code.
","Success response of 200 should be received .
.
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624 HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
citiUUID: 78000990-9091-453d-9de5-c67f93c3df00
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cad92e95cdcdf7f
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 06:53:29 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:29 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Not Applicable,status:CLOSED,
PWP_003,Customer Deactivation for pay with points for an invalid reward link code _Negative,Step 1,"Customer Deactivate for pay with points with invalid Reward Link Code.
","Response of 400 should be received
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/1245099798089631624 HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: d1af4102-2e19-446d-975b-294a26c01205
citiUUID: 78000990-a125-45ae-b569-c67f93c3d2cb
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad92fe09012371
X-Akamai-CITISITE: GTDC
Date: Wed, 10 Apr 2019 06:53:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Invalid reward link code""
}",Applicable,,
PWP_004,Customer Deactivation for pay with points for an inactive reward link code_Positive,Step 1,"Customer Deactivate for pay with points with an inactive Reward Link Code.
","Success response of 200 should be received .
.
","DELETE https://aspac.sandbox.api.citi.com/gcbap/api/v1/apac/rewards/2019099798089631624 HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkjzzVg4RU0aklStan-QgPQWq_UX5IBO4MGei5Swodt42auM8mSKh6imODuyjsHr-pNtpv_uMIOYitiXwmEzXatsP1ahjYuJygMHhVQfLh6RxL86Kz_i_Rr7borijdLfiX6JADWaMQqAYM_fAWq35gldNMkZ3-zeqkcmTWDjWSSAvs4ZC2vwm1hfI-CRdqLKqjtyZyaFu93dzstDGp9ylF2TfgzVlRw5FUHGFsRVdk0vyonl3KwPO48I2BTi2605jmffx9p-sDzNjCQug1j6mqaaxtFfDHaR7lrUnFiMoQCQA
Content-Type: application/json
Content-Length: 0
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b5d5dc76-14f9-4991-907a-45c4171edc97
citiUUID: 78000990-9091-453d-9de5-c67f93c3df00
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cad92e95cdcdf7f
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 10 Apr 2019 06:53:29 GMT
Content-Length: 20
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:13:29 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly",Applicable,,
Point Conversion - Reward Linkage API
Point Conversion - Reward Linkage API
Point Conversion - Reward Linkage API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
Point Conversion_001,Customer enrollment for Point Conversion for an active primary card _Positive,Step 1,"Customer enrollment for Point Conversion with valid citi card number, mobile number and customer merchant reference id.
","Success response of 200 should be received
with unique reward link code and OTP will be
delivered to the customer mobile number
.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}"
Point Conversion_002,Customer enrollment for Point Conversion_Supplementary card holder_Positive,Step 1,"
Send Reward Linkage API Request for Point Conversion for a
supplementary card holder customer with
valid card number , mobile number and
merchant customer reference id.
",Success response of 200 should be received with unique reward link code and OTP will be delivered to the customer mobile number.,"POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 4c3a48a0-f0b4-4817-9e76-6d95d5cf5fd7
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""7522"",
""citiCardHolderPhoneNumber"":""6590093334"",
""merchantCustomerReferenceId"":""346767876888""
}
]
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}"
Point Conversion_003,"Customer enrollment with valid 4 digit card number,merchant reference id but invalid mobile number_Negative",Step 1,"
Send API Request for Point Conversion with valid
card number , merchant reference id but invalid
mobile number
","
Response of 400 should be received.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""4750"",
""citiCardHolderPhoneNumber"":""1234567890"",
""merchantCustomerReferenceId"":""346767876888""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
citiUUID: 78000990-5dcf-4a7d-b729-c67f93c3264f
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf689c2268076d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 23 Oct 2018 18:29:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:49:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}"
Point Conversion_004,"Customer enrollment with valid merchant reference id,mobile number but invalid card number_Negative",Step 1,"
Send API Request for Point Conversion with valid
merchant reference id, mobile number but invalid last 4 digit of citi card
number.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: a90a615f-fee2-402e-bc82-a671bc0d26f0
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 189
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""1111"",
""citiCardHolderPhoneNumber"":""6532682421"",
""merchantCustomerReferenceId"":""346767876888""
}
]
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 474241fa-bdac-48d0-a4f5-3a631a8f2951
citiUUID: 78000990-5dcf-4a7d-b729-c67f93c3264f
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf689c2268076d
X-Akamai-CITISITE: GTDC
Content-Length: 94
Date: Tue, 23 Oct 2018 18:29:49 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:49:49 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""invalid"",
""code"":""invalidRequest"",
""details"":""Missing or invalid Parameters""
}"
Point Conversion_005,Customer enrollment for Point Conversion for a closed card _Positive,Step 1,"
Customer enrollment for Point Conversion with
closed card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""3745"",
""citiCardHolderPhoneNumber"":""8529115372"",
""merchantCustomerReferenceId"":""346767876888""
}
]
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798172041515""
}"
Point Conversion_006,Customer enrollment for Point Conversion for an active primary card and Verify OTP Alert_Positive,Step 1,"
Customer enrollment for Point Conversion with
card number, mobile number and customer
merchant reference id.
Verify the OTP alerts.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.
User should get a message to registered Primary Mobile number. Sample ""Your OTP for Point Conversion program registration with
<Merchant Name> is <nnnnnn>.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
]
}
","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}"
Point Conversion_007,Customer enrollment for Point Conversion for a card with account level block code _Positive,Step 1,"
Customer enrollment for Point Conversion with
blocked card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""3407"",
""citiCardHolderPhoneNumber"":""61471212963"",
""merchantCustomerReferenceId"":""8809990699""
}
","Response
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}"
Point Conversion_008,Customer enrollment for Point Conversion for a card with card level block code _Positive,Step 1,"
Customer enrollment for Point Conversion with
blocked card number, mobile number and
customer merchant reference id.
","Success response of 200 should be received
with the unique reward link code and OTP will be
delivered to the customer
.","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 883663bf-9c5c-4f7a-aaff-9b3c132d4a3e
uuid: 20acd4be-e291-4086-9673-527081d475b2
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkODgzNjYzYmYtOWM1Yy00ZjdhLWFhZmYtOWIzYzEzMmQ0YTNlmEwCejwTpwt3a-PgwavIp-1rNpagVw6XnCkcG3s2l9yS-8N4GdsZF2uh3PBJTAGdWoIpJcgSL-aeoJAvdtOPQfy1qQ1Yoe5sjNAaCM7gsqa6NfIl02ocZO_7LJVvIPcuDtwPYAFXwR675TQydO3U6_rbf4qmPB52xBZq9RWZ8uTSXYWIIoLTSsfMpkJ1rDaAUNhzGSxBXutF7p9hhVzNMy3TKFzaABZNrZscn1rlJDrefW61dEhbg4nncP0H-xPTdqa8hcXRAD1UP2BkJPT9LQ
Content-Type: application/json
Content-Length: 188
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""3745"",
""citiCardHolderPhoneNumber"":""8659115372"",
""merchantCustomerReferenceId"":""346767876888""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 20acd4be-e291-4086-9673-527081d475b2
citiUUID: 78000990-72c6-4798-9e6c-c67f93c36173
apitimestamp_1: 2018-11-28T13:12:28.254+08:00
apitimestamp_2: 2018-11-28T13:12:29.305+08:00
apitimestamp_4: 2018-11-28T13:12:30.321+08:00
apitimestamp_3: 2018-11-28T13:12:30.253+08:00
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bfe23bb0dac5cff
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 28 Nov 2018 05:12:30 GMT
Content-Length: 64
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 28-Nov-2018 05:32:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""1366899798166670111""
}"
Point Conversion_009,Customer enrollment for Point Conversion for a card with only last 4 digit number & Mobile number _Positive,Step 1,"Customer enrollment for Point Conversion with valid citi card number and mobile number.
","
Success response of 200 should be received
with the unique reward link code and SMS will be
delivered to the customer
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/shopWithPoints/linkage HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 3a9f11f7-d0c4-4688-a11f-e596a0ccebe3
uuid: 87ae4900-fbdf-41d8-b3b2-bc170128e763
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkM2E5ZjExZjctZDBjNC00Njg4LWExMWYtZTU5NmEwY2NlYmUzDVLHwwrWmzPfIf9q6lgtmpMCbqac-wK9wJMxa6qYHybH76c8acMLywfdP8tBM-1lImPAToct-6JqVfTOyGCELFTjdEQTkf-bkicIhKqzjP56JvcmQBo68x262vllcjxJ5tSrH751XjtWH8JN0mS2Du9t8v4U7Xj3nerDdP90BKvkyIA4M7CBJ4sBGPKcajuEwx9-H2kOeGivWL88lXvZB0_J0OsG-EHmt72Wv5fUzjWRvRWlmBA3z2NcD24ZaewwrFeV_97RbvUCe5wx-JIaFQ
Content-Type: application/json
Content-Length: 137
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""RewardsLinkageRequest"":[
{
""lastFourDigitsCardNumber"":""4750"",
""citiCardHolderPhoneNumber"":""6532682421""
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Allow-Origin:
Access-Control-Expose-Headers: sid,SessionId, CCPToken,CFIToken
Access-Control-Allow-Headers: Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: POST, GET
Access-Control-Max-Age: 2147483647
uuid: 87ae4900-fbdf-41d8-b3b2-bc170128e763
citiUUID: 78000990-cd2e-45fe-ab8e-c67f93c3cd0d
Expires: -1
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65bcf68ce2269e67d
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 23 Oct 2018 18:30:40 GMT
Content-Length: 62
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 23-Oct-2018 18:50:40 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""rewardLinkCode"":""7024599798169975333""
}"
Point Conversion - Reward Linkage Activation API
Point Conversion - Reward Linkage Activation API
Point Conversion - Reward Linkage Activation API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
Point Conversion_001,Customer Reward Link Code activation for an active card_Positive,Step 1,"Customer Reward Link Code activation for Point Conversion with valid OTP received.
","Success response of 200 should be received and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:579994
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
Point Conversion_002,Customer Reward Link Code activation for a closed card _Positive,Step 1,"Customer Reward Link Code activation for Point Conversion with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:579994
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
Point Conversion_003,Customer Reward Link Code activation for an active card and Verify Activation Alert_Positive,Step 1,"Customer Reward Link Code activation for Point Conversion with valid OTP received. Verify Activation Alert.
","Success response of 200 should be received and Activation Alert should be send to the customer mobile no. User should get a message to registered Primary Mobile number
Sample - Your authentication for <Merchant Name>. You may now select the amount you want to shop with Points
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:579994
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
Point Conversion_004, Customer Reward Link Code activation with valid reward link code and invalid OTP_Negative, Step 1,"Customer Reward Link Code activation for Point Conversion with invalid OTP.
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 7da79d20-8efd-4e27-8c9c-8136eff9744a
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkWMQ6urPKxcxBR7no_khOaH7s5CPOhH8ZbnDVJ2Ke2EhtTjpd-Dw9Clde0l6kqZJNfxEsJ-YRGDt9h0gY16sqWoeJU0VDNLxmkuizf0dSVCoPu1U3gRuGGXdCGqHPGO9R0DuHCe3MPpG6cIGZ81MDpX03Yjsjx2-YK6gKZukhn8EzNglnGhN6r2XzU9snZO4OdLK1bU0IaYBvM38TkrHd7FnB4w23xuGErdOOZ_610SIQiugDO0PyBfqUh-4KQXpD1-uK-wBRH0nrZaWFQYoUhn6oDQOXyFQVWDiKHvNYLoY
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:123456
}
]
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 7da79d20-8efd-4e27-8c9c-8136eff9744a
citiUUID: 78000990-3cd0-4381-a407-c67f93c3a6c8
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac535f1f33e3ed
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 08:10:08 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 08:30:08 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
type:invalid,
code:invalidRequest,
details:Missing or invalid Parameters
}"
Point Conversion_005, Customer Reward Link Code activation with invalid OTP more than max attempt_Negative, Step 1,"Customer Reward Link Code activation for Point Conversion with invalid OTP more than 2 times.
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 604effeb-1587-4a0d-b402-b4495036a98f
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkWMQ6urPKxcxBR7no_khOaH7s5CPOhH8ZbnDVJ2Ke2EhtTjpd-Dw9Clde0l6kqZJNfxEsJ-YRGDt9h0gY16sqWoeJU0VDNLxmkuizf0dSVCoPu1U3gRuGGXdCGqHPGO9R0DuHCe3MPpG6cIGZ81MDpX03Yjsjx2-YK6gKZukhn8EzNglnGhN6r2XzU9snZO4OdLK1bU0IaYBvM38TkrHd7FnB4w23xuGErdOOZ_610SIQiugDO0PyBfqUh-4KQXpD1-uK-wBRH0nrZaWFQYoUhn6oDQOXyFQVWDiKHvNYLoY
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:123458
}
]
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 604effeb-1587-4a0d-b402-b4495036a98f
citiUUID: 78000990-af0e-434c-8f3b-c67f93c32caa
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac53da3fe2f3ff
X-Akamai-CITISITE: GTDC
Content-Length: 143
Date: Tue, 09 Apr 2019 08:12:10 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 08:32:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
type:error,
code:exceedsMaximumAttempts,
details:Maximum attempts exceeded for activation. Link credit card to a merchant
}"
Point Conversion_006, Customer Reward Link Code activation with expired OTP_Negative, Step 1,"Customer Reward Link Code activation for Point Conversion with expired OTP
","Response of 400 should be received
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: 44083c82-0935-4acc-b944-24e9960ae527
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkCqsXYOpAVw2P0eqfRDlZgC-7BTNUmdx2LhmQATn-hTqKXgkCdPi_HBG2ErjDUsDnZXvX_dBJXeTIVRHMXNunnlCBkXWUvfyTjMwJQXFEUOAmt0oahBmYi9vWJMBDu-kVmBg6VIM4dBj_kF5OCmjEeGJBQZd4Ye4d-2ZVzXc1Yft9PMdQDS26jzvVVwhn6qcztJvJvbJWvaYN6GVGfRZKvJg7Sx5bPpnBDCVNtxNpYLTAjkdegHGi7ikaFvoiGciYv3kr6JVGFSEHsnPoB5BRVHaAkpJqdKTGr-ZOzAh-H5o
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:820009
}
]
}","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 44083c82-0935-4acc-b944-24e9960ae527
citiUUID: 78000990-6787-4f94-a1ee-c67f93c38ed0
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3c211e66ac3d
X-Akamai-CITISITE: GTDC
Content-Length: 159
Date: Tue, 09 Apr 2019 06:30:58 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:50:58 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
type:error,
code:linkageConfirmationCodeExpired,
details:The linkage confirmation Code is expired . Link credit card to a merchant again.
}"
Point Conversion_007, Customer Reward Link Code activation for a Card with Account Level Block code_Positive, Step 1,"Customer Reward Link Code activation for Point Conversion with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:579994
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
Point Conversion_008, Customer Reward Link Code activation for a Card with Card Level Block code_Positive, Step 1,"Customer Reward Link Code activation for Point Conversion with valid OTP received.
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:579994
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
Point Conversion_009, Customer Reward Link Code activation for an active card and Verify Activation Alert for Local Language_Positive, Step 1,"Customer Reward Link Code activation for Point Conversion with valid OTP received.
Verify Activation Alert
","Success response of 200 should be received
and Activation Alert should be send to the customer mobile no.
User should get a message to registered Primary Mobile number in local language
","PUT https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/2019099798089631624/shopWithpoints/activations HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 99
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
RewardsLinkageActivationRequest:[
{
linkageConfirmationCode:579994
}
]
}","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b88bcea5-460c-40cb-9ab1-6734bafa2033
citiUUID: 78000990-a869-48ec-b91e-c67f93c3c577
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: text/plain
X-Global-Transaction-ID: c3937fc65cac3d1d05166021
X-Akamai-CITISITE: GTDC
Content-Length: 0
Date: Tue, 09 Apr 2019 06:35:10 GMT
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:10 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly"
Point Conversion - Redemption API
Point Conversion - Redemption API
Point Conversion - Redemption API
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response
Point Conversion_001,Customer Redemption for Point Conversion for an active primary card _Positive,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}"
Point Conversion_002,Customer Redemption for Point Conversion for a card with redeemable Block Code at Account level_Positive,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","Success response of 200 should be received
with unique Order ID and availablePointBalance post redemption.
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK,OK OK
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
citiUUID: 78000990-cc52-4986-bc34-c67f93c3ca3d
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac3d2f3e30d4bf
X-Akamai-CITISITE: GTDC
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 09 Apr 2019 06:35:30 GMT
Content-Length: 79
Connection: keep-alive
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 06:55:30 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""orderId"":""2007509568"",
""availablePointBalance"":15310
}"
Point Conversion_003,Customer Redemption for Point Conversion for a card with irredeemable Block Code at Account level_Negative,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}"
Point Conversion_004,Customer Redemption for Point Conversion for a Closed primary card _Negative,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 622aa38e-c0db-4748-ab2d-fd39219b8158
citiUUID: 78000990-0389-4d08-8a3e-c67f93c3f3e9
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cac446a052816e1
X-Akamai-CITISITE: GTDC
Date: Tue, 09 Apr 2019 07:06:18 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Tue, 09-Apr-2019 07:26:18 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""notEligibleToRedeem"",
""details"":""Member not eligible to order this item""
}"
Point Conversion_005,Customer Redemption for Point Conversion for an active primary card with Invalid Reward Link code _Negative,Step 1,"Customer redemption for Point Conversion with invalid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""invalidRewardLinkCode"",
""details"":""Reward link code is invalid""
}"
Point Conversion_006,Customer Redemption for Point Conversion for an active primary card with Inactive Reward Link code _Negative,Step 1,"Customer redemption for Point Conversion with inactive Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 624dae31-6f38-42f7-857e-5fae3dc334b3
citiUUID: 78000990-c0e3-4f8f-a65f-c67f93c37d37
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f832bdfd28d
X-Akamai-CITISITE: GTDC
Content-Length: 97
Date: Wed, 10 Apr 2019 06:39:00 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:59:00 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inactiveRewardLinkCode"",
""details"":""Reward link code is inactive""
}"
Point Conversion_007,Customer Redemption for Point Conversion for an active primary card more than available points _Negative,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount, currencyCode, pointsToRedeem more than available balance & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""135000000"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: b20f93c1-efee-4e23-af4d-54fbc6cd18bd
citiUUID: 78000990-f636-4407-ac03-c67f93c32014
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8f015c95439f
X-Akamai-CITISITE: GTDC
Content-Length: 141
Date: Wed, 10 Apr 2019 06:36:51 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:56:51 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""inSufficientPointBalance"",
""details"":""The order points cannot be more than available balance of the member""
}"
Point Conversion_008,Customer Redemption for Point Conversion for an active primary card with invalid amount and point combination _Negative,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, invalid transactionAmount, currencyCode, invalid pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""50000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""50000"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 1bc6276a-d3c4-4581-ae01-1f7d7b7a2487
citiUUID: 78000990-57b3-41b3-89ea-c67f93c3e807
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad8ecf08f60651
X-Akamai-CITISITE: GTDC
Content-Length: 123
Date: Wed, 10 Apr 2019 06:35:59 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 06:55:59 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""InvalidPointsAndAmountCombination"",
""details"":""Points and amount combination are invalid""
}"
Point Conversion_009,Customer Redemption for Point Conversion for an active primary card with amount and points exceeding maximum limit set in merchant upload file _Negative,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount exceeding limit set in merchant upload file, currencyCode, pointsToRedeem exceeding limit set in merchant upload file& transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
""transactionReferenceNumber"":""21101585685688269"",
""redemptionOrder"":{
""transactionAmount"":""5000000000000000"",
""currencyCode"":""HKD"",
""pointsToRedeem"":""13500000000000000000"",
""transactionDescription"":""Point Conversion ""
}
}
","HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL,FAIL FAIL,FAIL FAIL
Access-Control-Expose-Headers: sid,SessionId,CCPToken,CFIToken
Access-Control-Allow-Headers: ,Content-Type,sid,CCPToken,CFIToken,countryCode,businessCode,channelId,uuid,client_id,environmentId
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,HEAD
Access-Control-Max-Age: 2147483647
uuid: 94812688-398a-41d9-a783-0f5255727a91
citiUUID: 78000990-3688-46f1-9883-c67f93c37249
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/json
X-Global-Transaction-ID: c3937fc65cad908c08fa0e11
X-Akamai-CITISITE: GTDC
Content-Length: 142
Date: Wed, 10 Apr 2019 06:43:25 GMT
Connection: close
Set-Cookie: CITI_SITE=gtdc; expires=Wed, 10-Apr-2019 07:03:25 GMT; path=/; domain=aspac.sandbox.api.citi.com; secure; HttpOnly
{
""type"":""error"",
""code"":""exceedsMaximumPointsAllowed"",
""details"":""Requested amount or points are more than allowed equivalent points""
}"
Point Conversion_010,Customer Redemption for Point Conversion for an active primary card with invalid Currency Code _Negative,Step 1,"Customer redemption for Point Conversion with valid Reward Link Code, transactionReferenceNumber, transactionAmount, invalid currencyCode, pointsToRedeem & transactionDescription.
","
Response of 400 should be received
","POST https://aspac.sandbox.api.citi.com/gcbap/api/v1/rewards/0000099798084760324/shopWithPoints/redemption HTTP/1.1
Accept-Encoding: gzip,deflate
client_id: 7acb4ace-4c1b-4192-8f15-ae792620f02d
uuid: a89bfabe-24eb-49e8-a085-02e5a6e696bc
Accept: application/json
Accept-Language: en-us
Authorization: Bearer AAIkN2FjYjRhY2UtNGMxYi00MTkyLThmMTUtYWU3OTI2MjBmMDJkxJb60uyf_B_QM3zjR0mP3bXexo0CPRXA3Vy4gMQwvHwOA1p0k0JoschFbGDdyuQIChadPDfVhrIUgSka4c6GYqVqi-GRX0yy-x_enl5Me1Ur9lwMimxRmO-rYdih7b5SII6zQT9Y11gQei6gVRI0FvEyStQgt2oZKkODN7dKh6yfNCIRI2wbLfTKjfU8aX_xdMeoS_wWKPZD6VSfrnPLHV47VPHqkYmY9-etmTjcnzwc9tnpJ8qvj_SjQCEFbwXnU7C1A4pc_ynjR5kHaKgwwLGh1E8FrnvLG_reuwu1vSs
Content-Type: application/json
Content-Length: 213
Host: aspac.sandbox.api.citi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java