( ! ) 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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.20719258472rest_get_server( )...\rest-api.php:403
110.20719261408do_action( )...\rest-api.php:577
120.20719261784WP_Hook->do_action( )...\plugin.php:517
130.20719261784WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.20809300984Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.20819308976Jetpack::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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.263311048968WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.263311049296header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.264411048912WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.264511049232header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.265811049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.265811049472header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.266611048992WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.266611049312header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.267411049056WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.267411049424header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.268211049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.268211049472header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.316011279208WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.316011279208WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.316011279720header ( )...\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.20669230712wp( )...\wp-blog-header.php:16
40.20669230736WP->main( )...\functions.php:1334
50.20669230736WP->parse_request( )...\class-wp.php:780
60.20719257424do_action_ref_array( )...\class-wp.php:399
70.20719257424WP_Hook->do_action( )...\plugin.php:565
80.20719257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20719258440rest_api_loaded( )...\class-wp-hook.php:308
100.263211049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.316011279208WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.317111279208WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.317111279528header ( )...\class-wp-rest-server.php:1762
{"id":2252,"date":"2017-12-18T08:49:29","date_gmt":"2017-12-18T08:49:29","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-lending-service\/interswitch-lending-service-channels\/get-loan-history\/"},"modified":"2021-06-03T09:12:13","modified_gmt":"2021-06-03T09:12:13","slug":"get-loan-history","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-loan-history\/","title":{"rendered":"Get Loan History"},"content":{"rendered":"

This endpoint will provide clients with the loans that the user is serving or has served.<\/p>\n

<\/a>Request Message description<\/h3>\n\n\n\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 for which history data is being retrieved.<\/td>\n<\/tr>\n
2<\/td>\nstartDate<\/td>\nLong<\/td>\n<\/td>\ntrue<\/td>\nThe Start Date\/Time to be used as the filter for the data. This will specify the lower bound of the date range.<\/td>\n<\/tr>\n
3<\/td>\nendDate<\/td>\nString<\/td>\n<\/td>\ntrue<\/td>\nThe End Date\/Time to be used as the filter for the data. This will specify the upper bound of the date range.<\/td>\n<\/tr>\n
4<\/td>\nchannelCode<\/td>\nString<\/td>\n<\/td>\ntrue<\/td>\nThe Code of the channel for which this request is originating.<\/td>\n<\/tr>\n
5<\/td>\npageNumber<\/td>\nNumeric<\/td>\n<\/td>\ntrue<\/td>\nThe Number of the page from which the loan history records should be pulled.<\/td>\n<\/tr>\n
6<\/td>\npageSize<\/td>\nNumeric<\/td>\n<\/td>\ntrue<\/td>\nThe Maximum number of Records to be contained on a page of records.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Endpoint<\/h3>\n\n\n\n
GET \/loans\/{customerId}?startDate={startDate}&endDate={endDate}&pageNumber={pageNumber}&pageSize={pageSize}&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
\/loans\/2348123456789?startDate=2017-01-01&endDate=2017-03-01&pageNumber=1&pageSize=10&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 response code<\/td>\n<\/tr>\n
2<\/td>\nresponseMessage<\/td>\nresponse message<\/td>\n<\/tr>\n
3<\/td>\ndata<\/td>\n[Array] of the loans<\/td>\n<\/tr>\n
3a<\/td>\nofferCode<\/td>\n<\/td>\n<\/tr>\n
3b<\/td>\nproviderloanId<\/td>\n<\/td>\n<\/tr>\n
3c<\/td>\namount<\/td>\n<\/td>\n<\/tr>\n
3d<\/td>\ninterest<\/td>\n<\/td>\n<\/tr>\n
3e<\/td>\nprovider<\/td>\n<\/td>\n<\/tr>\n
3f<\/td>\nstatus<\/td>\n<\/td>\n<\/tr>\n
3g<\/td>\nstatusDescription<\/td>\n<\/td>\n<\/tr>\n
3h<\/td>\ntenure<\/td>\n<\/td>\n<\/tr>\n
3i<\/td>\nacceptedDate<\/td>\n<\/td>\n<\/tr>\n
3j<\/td>\ndueDate<\/td>\n<\/td>\n<\/tr>\n
4<\/td>\ncount<\/td>\nThe Number of Records that is available within the specified date range.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

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

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

“count”: 2,<\/p>\n

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

{<\/p>\n

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

“dateCreated”: 1497361713217<\/p>\n

},<\/p>\n

{<\/p>\n

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

“responseMessage”:\u00a0“Unsupported date format. Kindly use ‘yyyy-mm-dd'”<\/p>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":169,"featured_media":0,"parent":2235,"menu_order":6,"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\/2252"}],"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=2252"}],"version-history":[{"count":2,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2252\/revisions"}],"predecessor-version":[{"id":3768,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2252\/revisions\/3768"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2235"}],"next":[{"title":"Customer Validation","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/customer-validation\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2254"}],"prev":[{"title":"Get Customer Status","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-customer-status\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2247"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2252"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}