( ! ) 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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.23829334696rest_get_server( )...\rest-api.php:403
111.23829337632do_action( )...\rest-api.php:577
121.23829338008WP_Hook->do_action( )...\plugin.php:517
131.23829338008WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.23919377208Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.23939385200Jetpack::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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.297311125192WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.297411125520header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.298311125136WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.298311125456header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.299711125328WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.299711125696header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.300611125216WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.300611125536header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.301411125280WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.301411125648header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.302211125328WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.302211125696header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.348611377560WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.348611377560WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.348611378104header ( )...\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
31.23769306936wp( )...\wp-blog-header.php:16
41.23779306960WP->main( )...\functions.php:1334
51.23779306960WP->parse_request( )...\class-wp.php:780
61.23829333648do_action_ref_array( )...\class-wp.php:399
71.23829333648WP_Hook->do_action( )...\plugin.php:565
81.23829333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23829334664rest_api_loaded( )...\class-wp-hook.php:308
101.297211125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.348611377560WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.349711377560WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.349711377880header ( )...\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}]}}