Point Conversion

Expand All Sections
Reward Linkage DeActivation 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"
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 Balance Inquiry 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"

Pay With Points - Reward Linkage Activation API

Expand All Sections
Pay With Points - Reward Linkage Activation API
Pay With Points - Reward Linkage Activation API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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) { 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" 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) { 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" PWP_003,Customer Reward Link Code activation for an active card and Verify 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) { 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" 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) { 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 }" 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) { 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 }" 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) { 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. }" 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) { 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" 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) { 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" 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) { 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"

Shop With Points - Reward Linkage Activation API

Expand All Sections
Shop With Points - Reward Linkage Activation API
Shop With Points - Reward Linkage Activation API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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) { 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" 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) { 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" SWP_003,Customer Reward Link Code activation for an active card and Verify 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) { 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" 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) { 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 }" 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) { 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 }" 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) { 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. }" 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) { 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" 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) { 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" 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) { 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 - Reward Linkage Activation API

Expand All Sections
Point Conversion - Reward Linkage Activation API
Point Conversion - Reward Linkage Activation API
View Test Case Details >
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 - Reward Linkage DeActivation API

Expand All Sections
Point Conversion - Reward Linkage DeActivation API
Point Conversion - Reward Linkage DeActivation API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response Point Conversion_001,Customer Deactivation for Point Conversion for an active primary card _Positive,Step 1,"Customer Deactivate for Point Conversion 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" Point Conversion_002,Customer Deactivation for Point Conversion for a closed card _Positive,Step 1,"Customer Deactivate for Point Conversion 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" Point Conversion_003,Customer Deactivation for Point Conversion for an invalid reward link code _Negative,Step 1,"Customer Deactivate for Point Conversion 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"" }" Point Conversion_004,Customer Deactivation for Point Conversion for an inactive reward link code_Positive,Step 1,"Customer Deactivate for Point Conversion 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"

Point Conversion - Point Balance Inquiry API

Expand All Sections
Point Conversion - Point Balance Inquiry API
Point Conversion - Point Balance Inquiry API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response Point Conversion_001,Customer point balance inquiry for Point Conversion for an active primary card _Positive,Step 1,"Customer point balance inquiry for Point Conversion. ","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 }" Point Conversion_002,Customer point balance inquiry for Point Conversion for an active primary card post Redemption_Positive,Step 1,"Customer point balance inquiry for Point Conversion. ","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 }" Point Conversion_003,Customer point balance inquiry for Point Conversion for a Closed card _Positive,Step 1,"Customer point balance inquiry for Point Conversion. ","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 }" Point Conversion_004,Customer point balance inquiry for Point Conversion for an active primary card with invalid Reward Link Code_Negative,Step 1,"Customer point balance inquiry for Point Conversion 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"" }" Point Conversion_005,Customer point balance inquiry for Point Conversion for an active primary card with inactive Reward Link Code_Negative,Step 1,"Customer point balance inquiry for Point Conversion 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"" }" Point Conversion_006,Customer point balance inquiry for Point Conversion for a primary card with Account Level Block code _Positive,Step 1,"Customer point balance inquiry for Point Conversion. ","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 }" Point Conversion_007,Customer point balance inquiry for Point Conversion for a primary card with Card Level Block code _Positive,Step 1,"Customer point balance inquiry for Point Conversion. ","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 }"

Point Conversion - Redemption API

Expand All Sections
Point Conversion - Redemption API
Point Conversion - Redemption API
View Test Case Details >
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 1.5) { ""transactionReferenceNumber"":""21101585685688269"", ""redemptionOrder"":{ ""transactionAmount"":""50000"", ""currencyCode"":""INR"", ""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: 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"" }" Point Conversion_011,Customer Redemption for Point Conversion for an active primary card and verify alert_Positive,Step 1,"Customer redemption for Point Conversion 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 Point Conversion 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"":""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_012,Customer Redemption for Point Conversion for an active primary card with already redeemed transactionReferenceNumber_Negative,Step 1,"Customer redemption for Point Conversion 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"":""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: 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"" }" Point Conversion_013,Customer Redemption for Point Conversion for a card with redeemable Block Code at Card 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_014,Customer Redemption for Point Conversion for a card with irredeemable Block Code at Card 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_015,Customer Redemption for Point Conversion for an active primary card with amount and points below minimum limit set in merchant upload file _Negative,Step 1,"Customer redemption for Point Conversion 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"":""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: 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"" }" Point Conversion_016,Customer Redemption for Point Conversion for an active primary card with pointsToRedeem in decimal _Negative,Step 1,"Customer redemption for Point Conversion 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"":""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: 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"" } ] } } "

Point Conversion - Reward Linkage API

Expand All Sections
Point Conversion - Reward Linkage API
Point Conversion - Reward Linkage API
View Test Case Details >
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"" }"

Shop With Points - Reward Linkage DeActivation API

Expand All Sections
Shop With Points - Reward Linkage DeActivation API
Shop With Points - Reward Linkage DeActivation API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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" 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" 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"" }" 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"

Shop With Points - Redemption API

Expand All Sections
Shop With Points - Redemption API
Shop With Points - Redemption API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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 }" 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 }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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 }" 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"" }" 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 }" 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"" }" 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"" }" 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"" } ] } } "

Shop With Points - Point Balance Inquiry API

Expand All Sections
Shop With Points - Point Balance Inquiry API
Shop With Points - Point Balance Inquiry API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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 }" 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 }" 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 }" 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"" }" 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"" }" 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 }" 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 }"

Shop With Points - Reward Linkage API

Expand All Sections
Shop With Points - Reward Linkage API
Shop With Points - Reward Linkage API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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) { ""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"" }" SWP_002,Customer enrollment for shop with points_Supplementary card holder_Positive,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. ",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"" }" 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. ","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"" }" 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) { ""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"" }" 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) { ""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"" }" 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 <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"" }" 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) { ""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"" }" 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) { ""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"" }" SWP_009,Customer enrollment for shop with points for a card with only last 4 digit number & Mobile number _Positive,Step 1,"Customer enrollment for shop 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/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"" }"

Pay With Points - Reward Linkage API

Expand All Sections
Pay With Points - Reward Linkage API
Pay With Points - Reward Linkage API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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) { ""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"" }" 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) { ""RewardsLinkageRequest"":[ { ""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"" }" 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. ","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) { ""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"" }" 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 ","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) { ""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"" }" 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) { ""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"" }" 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) { ""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"" }" 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) { ""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"" }" 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) { ""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"" }" PWP_009,Customer enrollment for pay with points for a card with only last 4 digit number & Mobile number _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) { ""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"" }" 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) { ""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"" }"

Pay With Points - Reward Linkage DeActivation API

Expand All Sections
Pay With Points - Reward Linkage DeActivation API
Pay With Points - Reward Linkage DeActivation API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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" 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" 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"" }" 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"

Pay With Points - Point Balance Inquiry API

Expand All Sections
Pay With Points - Point Balance Inquiry API
Pay With Points - Point Balance Inquiry API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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 }" 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 }" 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 }" 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"" }" 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"" }" 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 }" 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 }"

Pay With Points - Redemption API

Expand All Sections
Pay With Points - Redemption API
Pay With Points - Redemption API
View Test Case Details >
Test Case Number,Test Case Description,Step Name,Description of the Step,Expected Result,Request,Response 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 }" 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 }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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"" }" 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 }" 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"" }" 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 }" 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"" }" 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"" }" 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"", ""moreInfo"":{ ""fieldLevelErrors"":[ { ""fieldName"":""/*/redemptionOrder/pointsToRedeem"", ""reasonCode"":""invalidPattern"", ""errorMessage"":""Enter Valid Data"" } ] } } "

Shop With Points

Expand All Sections
Reward Linkage API
uri post /v1/apac/rewards/linkage Total Number of Cases to be executed for this API is 94
View Test Case Details >
Scenario,Case,Name of the Test Case,Step Name,Description of the Step,Expected Result,Request,Response Enrollment for Active primary Card,Positive,API_Reward linkage_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/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"" }" Enrollment for Active Supplementary Card,Negative,API_Reward linkage_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) { ""RewardsLinkageRequest"":[ { ""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"" }"

Pay With Points

Expand All Sections
Reward Linkage API
uri post /v1/apac/rewards/linkage Total Number of Cases to be executed for this API is 94
View Test Case Details >
Test Case Number,Test Case Description,Test Step Number,Test Step Description,Expected Result,Request,Response 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 the unique reward link code and OTP will be delivered to the customer .","Request 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"" }" PWP_002,Customer enrollment for pay with points_Supplimentary 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) { ""RewardsLinkageRequest"":[ { ""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"" }" 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 ","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) { ""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"" }" 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 ","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) { ""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"" }" 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/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"" }" PWP_006,Verify OTP post reward linkage API_Positive,Step 1," Customer enrollment for pay with points with 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"" } ] }","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"" }" PWP_006,Verify OTP post reward linkage API_Positive,Step 2," Verify the OTP post reward linkage "," User should get proper message as ""Your OTP for Pay with Points program registration with <Merchant Name> is <nnnnnn>. ",,