( ! ) 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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.25009257232rest_get_server( )...\rest-api.php:403
110.25009260168do_action( )...\rest-api.php:577
120.25009260544WP_Hook->do_action( )...\plugin.php:517
130.25009260544WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.25149299744Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.25159307736Jetpack::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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.337311047728WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.337311048056header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.338511047672WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.338511047992header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.339811047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.339811048232header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.340611047752WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.340611048072header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.341511047816WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.341511048184header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.342211047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.342211048232header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.398011272920WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.398011272920WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.398011273464header ( )...\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.24929229472wp( )...\wp-blog-header.php:16
40.24929229496WP->main( )...\functions.php:1334
50.24929229496WP->parse_request( )...\class-wp.php:780
60.25009256184do_action_ref_array( )...\class-wp.php:399
70.25009256184WP_Hook->do_action( )...\plugin.php:565
80.25009256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.25009257200rest_api_loaded( )...\class-wp-hook.php:308
100.337111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.398011272920WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.399811272920WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.399911273240header ( )...\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}]}}