( ! ) 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.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.24799257232rest_get_server( )...\rest-api.php:403
110.24799260168do_action( )...\rest-api.php:577
120.24799260544WP_Hook->do_action( )...\plugin.php:517
130.24799260544WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.24899299744Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.24919307736Jetpack::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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.308211047728WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.308211048056header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.309311047672WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.309311047992header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.310611047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.310611048232header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.311411047752WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.311511048072header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.312311047816WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.312311048184header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.313111047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.313111048232header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.365111282648WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.365111282648WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.365111283192header ( )...\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.0002401504{main}( )...\index.php:0
20.0003401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24749229472wp( )...\wp-blog-header.php:16
40.24749229496WP->main( )...\functions.php:1334
50.24749229496WP->parse_request( )...\class-wp.php:780
60.24799256184do_action_ref_array( )...\class-wp.php:399
70.24799256184WP_Hook->do_action( )...\plugin.php:565
80.24799256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24799257200rest_api_loaded( )...\class-wp-hook.php:308
100.308111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.365111282648WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.366311282648WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.366311282968header ( )...\class-wp-rest-server.php:1762
{"id":2247,"date":"2017-12-18T08:47:58","date_gmt":"2017-12-18T08:47:58","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-lending-service\/interswitch-lending-service-channels\/get-customer-status\/"},"modified":"2021-06-03T09:12:13","modified_gmt":"2021-06-03T09:12:13","slug":"get-customer-status","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-customer-status\/","title":{"rendered":"Get Customer Status"},"content":{"rendered":"

This Endpoint will provide clients with the status of a user and all the current loans that the user is serving.<\/p>\n\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 whose status is being retrieved.<\/td>\n<\/tr>\n
2<\/td>\nchannelCode<\/td>\nString<\/td>\n<\/td>\ntrue<\/td>\nThe Code of the Channel from which this request is made.<\/td>\n<\/tr>\n
3<\/td>\nstrict<\/td>\nBoolean<\/td>\n<\/td>\nfalse<\/td>\nA boolean value to specify whether the loans to be returned should be the ones originated from the Channel or not. (True:\u00a0Only loans from Channel<\/em>).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

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

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

<\/a>Sample request<\/h3>\n\n\n\n
\/users\/2348123456789\/status?channelCode=0002<\/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\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 representing the result of the request processing.<\/td>\n<\/tr>\n
2<\/td>\nresponseMessage<\/td>\nThe Description of the responseCode<\/td>\n<\/tr>\n
3<\/td>\nloans<\/td>\n[Array] of the Loans being served.<\/td>\n<\/tr>\n
3a<\/td>\nofferId<\/td>\nThe Code of the Offer that was made for this loan<\/td>\n<\/tr>\n
3b<\/td>\namount<\/td>\nThe Amount of the Loan.<\/td>\n<\/tr>\n
3c<\/td>\ninterest<\/td>\nThe Interest Percentage on the loan.<\/td>\n<\/tr>\n
3d<\/td>\nacceptedDate<\/td>\nThe Date and Time at which this loan offer was accepted by the user.<\/td>\n<\/tr>\n
3e<\/td>\ndueDate<\/td>\nThe Date and Time at which this loan is due for payment and after which deduction will be made from the user’s payment card.<\/td>\n<\/tr>\n
3f<\/td>\ntenure<\/td>\nThe Duration of this loan.<\/td>\n<\/tr>\n
3g<\/td>\nprovider<\/td>\nThe identifier of the Credit Company that provided this loan.<\/td>\n<\/tr>\n
3h<\/td>\nstatus<\/td>\nThe Status of this loan.<\/td>\n<\/tr>\n
3i<\/td>\nproviderloanId<\/td>\nThe Loan ID of the loan. This will be used for further requests into the loan.<\/td>\n<\/tr>\n
3j<\/td>\ndateCreated<\/td>\nThe Date\/Time at which the loan was accepted by the user.<\/td>\n<\/tr>\n
3k<\/td>\ninterest<\/td>\nThe percentage interest offered on the loan.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

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

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

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

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

{<\/p>\n

“id”: 159,<\/p>\n

“offerId”:\u00a0“0001”,<\/p>\n

“customerId”:\u00a0“2348124888436”,<\/p>\n

“providerId”: 205,<\/p>\n

“providerCode”:\u00a0“ABC”,<\/p>\n

“channelId”: 1,<\/p>\n

“channelCode”:\u00a0“CHONE”,<\/p>\n

“status”:\u00a0“Open”,<\/p>\n

“amount”: 100000,<\/p>\n

“amountPayable”: 110000,<\/p>\n

“tenure”: 30,<\/p>\n

“dueDate”:\u00a0null,<\/p>\n

“terms”:\u00a0“Please read the terms and conditions on\u00a0https:\/\/onefi.com\/terms”<\/a>,<\/p>\n

“currency”:\u00a0“566”,<\/p>\n

“customerDebitMethod”: 80,<\/p>\n

“customerCreditMethod”: 52,<\/p>\n

“providerLoanId”:\u00a0“0001”,<\/p>\n

“interest”: 12.5,<\/p>\n

“dateCreated”: 1496420509847<\/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“96”,<\/p>\n

“responseMessage”:\u00a0“Oops. Something went wrong. Please try again later”<\/p>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":169,"featured_media":0,"parent":2235,"menu_order":5,"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\/2247"}],"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=2247"}],"version-history":[{"count":3,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2247\/revisions"}],"predecessor-version":[{"id":3766,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2247\/revisions\/3766"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2235"}],"next":[{"title":"Get Loan History","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-loan-history\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2252"}],"prev":[{"title":"Accept Offers","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/accept-offers\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2245"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2247"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}