( ! ) 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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.20899258472rest_get_server( )...\rest-api.php:403
110.20899261408do_action( )...\rest-api.php:577
120.20899261784WP_Hook->do_action( )...\plugin.php:517
130.20899261784WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.20989300984Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.21009308976Jetpack::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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.269211048968WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.269211049296header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.270211048912WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.270311049232header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.272011049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.272111049472header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.273311048992WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.273311049312header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.274511049056WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.274511049424header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.275211049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.275211049472header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.314611274160WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.314611274160WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.314611274704header ( )...\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.0000401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20849230712wp( )...\wp-blog-header.php:16
40.20849230736WP->main( )...\functions.php:1334
50.20849230736WP->parse_request( )...\class-wp.php:780
60.20899257424do_action_ref_array( )...\class-wp.php:399
70.20899257424WP_Hook->do_action( )...\plugin.php:565
80.20899257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20899258440rest_api_loaded( )...\class-wp-hook.php:308
100.269111049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.314611274160WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.315611274160WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.315611274480header ( )...\class-wp-rest-server.php:1762
{"id":2258,"date":"2017-12-18T08:55:33","date_gmt":"2017-12-18T08:55:33","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-lending-service\/interswitch-lending-service-channels\/get-payment-methods\/"},"modified":"2021-06-03T09:12:13","modified_gmt":"2021-06-03T09:12:13","slug":"get-payment-methods","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-payment-methods\/","title":{"rendered":"Get Payment Methods"},"content":{"rendered":"

This endpoint will be used by the clients to retrieve the credit methods (Account Details) and debit methods that have been saved against a customer id.<\/p>\n

<\/a>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<\/thead>\n
1<\/td>\ncustomerId<\/td>\nstring<\/td>\n<\/td>\ntrue<\/td>\nThe Email or Mobile Number of the User.<\/td>\n<\/tr>\n
2<\/td>\nchannelCode<\/td>\nstring<\/td>\n<\/td>\ntrue<\/td>\nThe Code of the Channel from which this request is originated.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Endpoint<\/h3>\n\n\n\n
GET \/users\/{customerId}\/payment-methods?channelCode={channelCode}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Host<\/h3>\n\n\n\n
https:\/\/sandbox.interswitchng.com\/lending-service\/api\/v1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

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

<\/a>Sample request<\/h3>\n\n\n\n
\u00a0\/users\/2348123456789\/payment-methods?channelCode=FBNMOBILE<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Response Message\u00a0 field description<\/h3>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Field<\/strong><\/p>\n

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

Field name<\/strong><\/td>\nDescription<\/strong><\/td>\n<\/tr>\n<\/thead>\n
1<\/td>\nresponseCode<\/td>\nThe code indicating the result of the processing of this request.<\/td>\n<\/tr>\n
2<\/td>\nresponseDescription<\/td>\nThe Description of the responseCode.<\/td>\n<\/tr>\n
3<\/td>\ncreditMethods<\/td>\n[Array] of Account Details that the system has against the customerID<\/td>\n<\/tr>\n
3a<\/td>\nmaskedAccount<\/td>\nThe Masked Account Number of this credit method.<\/td>\n<\/tr>\n
3b<\/td>\nbankCode<\/td>\nThe CBN Bank Code of the Bank holding the Account.<\/td>\n<\/tr>\n
3c<\/td>\nbankName<\/td>\nThe Name of the Bank holding the Account.<\/td>\n<\/tr>\n
3d<\/td>\nid<\/td>\nThe ID of the Credit Method.<\/td>\n<\/tr>\n
4<\/td>\ndebitMethods<\/td>\n[Array] of the Payment Cards that the system has against the customerID<\/td>\n<\/tr>\n
4a<\/td>\nmaskedPan<\/td>\nThe Masked PAN of the Payment Card.<\/td>\n<\/tr>\n
4b<\/td>\nrequireCvv<\/td>\nA boolean (true\/false<\/em>) representing whether the user is to provide a CVV or not.<\/td>\n<\/tr>\n
4c<\/td>\nrequirePin<\/td>\nA boolean (true\/false<\/em>) representing whether the user is to provide a Pin or not.<\/td>\n<\/tr>\n
4d<\/td>\nrequireExpiry<\/td>\nA boolean (true\/false<\/em>) representing whether the user is to provide an Expiry or not.<\/td>\n<\/tr>\n
4e<\/td>\npaymentMethodIdentifier<\/td>\nThe GUID representing the debit method.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Sample Response (success)<\/h3>\n\n\n\n
{<\/p>\n

“responseCode”\u00a0:\u00a0“00”,<\/p>\n

“responseDescription”\u00a0:\u00a0“Successful”,<\/p>\n

“creditMethods”: [<\/p>\n

{<\/p>\n

“maskedAccount”:\u00a0“0123**6789”,<\/p>\n

“bankCode”:\u00a0“058”,<\/p>\n

“bankName”:\u00a0“Guaranty Trust Bank”,<\/p>\n

“id”:\u00a0“1234”<\/p>\n

}<\/p>\n

],<\/p>\n

“debitMethods”: [<\/p>\n

{<\/p>\n

“maskedPan”:\u00a0“506099*********7499”,<\/p>\n

“requireCvv”:\u00a0false,<\/p>\n

“requirePin”:\u00a0false”,<\/p>\n

“requireExpiry”:\u00a0false,<\/p>\n

“paymentMethodIdentifier”:\u00a0“ADA4C1FFE6DE40C584ABD3CBAFDA0D08”<\/p>\n

},<\/p>\n

{<\/p>\n

“maskedPan”:\u00a0“519911******8080”,<\/p>\n

“requireCvv”:\u00a0true,<\/p>\n

“requirePin”:\u00a0true,<\/p>\n

“requireExpiry”:\u00a0false,<\/p>\n

“paymentMethodIdentifier”:\u00a0“713993DA61944C9A8CCBD15169798BF7”<\/p>\n

}<\/p>\n

]<\/p>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Sample Response (failure)<\/h3>\n\n\n\n
{<\/p>\n

“responseCode”\u00a0:\u00a0“101”,<\/p>\n

“responseMessage”\u00a0:\u00a0“Error while processing request. Please try again.”<\/p>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":169,"featured_media":0,"parent":2235,"menu_order":9,"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\/2258"}],"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=2258"}],"version-history":[{"count":4,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2258\/revisions"}],"predecessor-version":[{"id":3771,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2258\/revisions\/3771"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2235"}],"next":[{"title":"Get Loan Status","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-loan-status\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2260"}],"prev":[{"title":"Payment Notification","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/payment-notification\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2256"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2258"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}