( ! ) 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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.32329235552rest_get_server( )...\rest-api.php:403
110.32329238488do_action( )...\rest-api.php:577
120.32329238864WP_Hook->do_action( )...\plugin.php:517
130.32329238864WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.32449278064Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.32469286056Jetpack::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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.410011026048WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.410011026376header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.411711025992WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.411711026312header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.413611026184WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.413611026552header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.415211026072WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.415211026392header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.416711026136WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.416711026504header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.418011026184WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.418111026552header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.495311236384WP_REST_Server->send_headers( )...\class-wp-rest-server.php:459
120.495311236384WP_REST_Server->send_header( )...\class-wp-rest-server.php:1780
130.495311236928header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.32229207792wp( )...\wp-blog-header.php:16
40.32229207816WP->main( )...\functions.php:1334
50.32229207816WP->parse_request( )...\class-wp.php:780
60.32329234504do_action_ref_array( )...\class-wp.php:399
70.32329234504WP_Hook->do_action( )...\plugin.php:565
80.32329234504WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.32329235520rest_api_loaded( )...\class-wp-hook.php:308
100.409911026392WP_REST_Server->serve_request( )...\rest-api.php:410
110.495311236384WP_REST_Server->send_headers( )...\class-wp-rest-server.php:459
120.498511236384WP_REST_Server->send_header( )...\class-wp-rest-server.php:1780
130.498611236704header ( )...\class-wp-rest-server.php:1768
{"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}]}}