( ! ) Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php on line 0
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.22579258472rest_get_server( )...\rest-api.php:403
110.22579261408do_action( )...\rest-api.php:577
120.22579261784WP_Hook->do_action( )...\plugin.php:517
130.22579261784WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.22659300984Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.22689308976Jetpack::load_xml_rpc_client( )...\class.core-rest-api-endpoints.php:64

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.285211048968WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.285311049296header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.286411048912WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.286411049232header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.287511049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.287511049472header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.288411048992WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.288411049312header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.289111049056WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.289111049424header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.289911049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.289911049472header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.329511259304WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.329511259304WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.329511259848header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22519230712wp( )...\wp-blog-header.php:16
40.22529230736WP->main( )...\functions.php:1334
50.22529230736WP->parse_request( )...\class-wp.php:780
60.22569257424do_action_ref_array( )...\class-wp.php:399
70.22579257424WP_Hook->do_action( )...\plugin.php:565
80.22579257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22579258440rest_api_loaded( )...\class-wp-hook.php:308
100.285111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.329511259304WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.330611259304WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.330611259624header ( )...\class-wp-rest-server.php:1762
{"id":2264,"date":"2017-12-18T09:00:28","date_gmt":"2017-12-18T09:00:28","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/complete-get-token-with-otp\/"},"modified":"2021-08-17T09:04:27","modified_gmt":"2021-08-17T09:04:27","slug":"complete-get-token-with-otp","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/complete-get-token-with-otp\/","title":{"rendered":"Complete Get Token with OTP"},"content":{"rendered":"

This endpoint will be used to convert a User’s Card AuthData to a Vault Token which can then be used against the Debit Customer API with the user’s OTP.<\/p>\n

Request Message Description<\/h3>\n\n\n\n\n\n\n
Field<\/strong><\/p>\n

#<\/strong><\/td>\n

Field name<\/strong><\/td>\nData type<\/strong><\/td>\nMax length<\/strong><\/td>\nRequired<\/strong><\/td>\nDescription<\/strong><\/td>\n<\/tr>\n
1<\/td>\ncustomerId<\/td>\nString<\/td>\n50<\/td>\ntrue<\/td>\nThe Email or Mobile Number of the User.<\/td>\n<\/tr>\n
2.<\/td>\nauthData<\/td>\nString<\/td>\n512<\/td>\ntrue<\/td>\nThe AuthData computed from the Card Properties (PAN, CVV, Pin and Expiry).<\/td>\n<\/tr>\n
3.<\/td>\notp<\/td>\nString<\/td>\n<\/td>\ntrue<\/td>\nThe OTP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n
POST \/v2\/payments\/token\/validate<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Headers<\/p>\n\n\n\n
\u00a0\u00a0Authorization: Bearer {{token}}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Sample Request<\/h3>\n
\n
{<\/div>\n
“authData”:\u00a0“RTojFURS9D1MDZ7gb6y7ych4ReHzoLr9AdIsqpZO4fj\/huSyi+wDTig1ORaguhKkxm4NJLInJaFKKImKSSK0dG3cLqIiHnKL8RJdKCyvB74ku1P1l4MmQm+PrheYzjR8D6iBgGi9LMnTWxQajcnvnKMwl3FjjXHWDVB7lkWhk6KjATg4iEd7pZ1Y5frHYMsdMWGOQlzkIVRbVXcAKaHPqGlGIBNFPDbJxpME8KUp1f\/QoqoJ\/ryipa5oBVX3o2Z\/p1YMAuWETxv3FFk39omKYZmh21uC+i2pgvBeg3T8bjqc5jFpA0Qxejj1uBWTwkUtzqvCUQxSSRIlfN2UEUOF8Q==”,<\/div>\n
“customerId”\u00a0:\u00a0“2349095801772”,<\/div>\n
“transactionRef”\u00a0:\u00a0“15345574890”,<\/div>\n
“providerCode”:”MKT”,<\/div>\n
“otp”\u00a0:\u00a0“770391”<\/div>\n
<\/div>\n
}<\/div>\n<\/div>\n


\nSample Response (success)<\/span><\/h4>\n\n\n\n
{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 “cardType”: “Verve”,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 “token”: “5123450558220138603”,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 “tokenExpiry”: “0420”,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 “transactionRef” : “1234566”,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 “panLast4Digits”: “7499”}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":169,"featured_media":0,"parent":2235,"menu_order":12,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2264"}],"collection":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/users\/169"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=2264"}],"version-history":[{"count":3,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2264\/revisions"}],"predecessor-version":[{"id":4051,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2264\/revisions\/4051"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2235"}],"next":[{"title":"API Specification for POS","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/api-specification-for-pos\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2807"}],"prev":[{"title":"Get Token With Token Validation","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-token-with-token-validation\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2262"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2264"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}