( ! ) 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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.22409260312rest_get_server( )...\rest-api.php:403
110.22409263248do_action( )...\rest-api.php:577
120.22409263624WP_Hook->do_action( )...\plugin.php:517
130.22409263624WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.22499302824Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.22519310816Jetpack::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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.284711050808WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.284711051136header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.285711050752WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.285811051072header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.287111050944WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.287111051312header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.287911050832WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.287911051152header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.289111050896WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.289111051264header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.289911050944WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.289911051312header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.354111312328WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.354111312328WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.354211312840header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22359232552wp( )...\wp-blog-header.php:16
40.22359232576WP->main( )...\functions.php:1334
50.22359232576WP->parse_request( )...\class-wp.php:780
60.22409259264do_action_ref_array( )...\class-wp.php:399
70.22409259264WP_Hook->do_action( )...\plugin.php:565
80.22409259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22409260280rest_api_loaded( )...\class-wp-hook.php:308
100.284611051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.354111312328WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.355211312328WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.355211312648header ( )...\class-wp-rest-server.php:1762
{"id":2300,"date":"2017-12-18T10:32:12","date_gmt":"2017-12-18T10:32:12","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/interswitch-lending-service-ils-to-providers\/get-offers\/"},"modified":"2022-08-08T09:13:49","modified_gmt":"2022-08-08T09:13:49","slug":"get-offers","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/get-offers\/","title":{"rendered":"Get Offers"},"content":{"rendered":"During the Get Offer processing, a request will be sent from Interswitch Lending Service to Provider to get the offers the Provider has for a User. The Request and Response format expected are as follows:\n

<\/a>Request Message description<\/h3>\n\n\n\n\n\n\n\n\n\n
Field<\/strong>\n\n#<\/strong><\/td>\nField 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\u00a050<\/td>\ntrue<\/td>\nThe Email or Mobile Number of the User who is accepting this offer.<\/td>\n<\/tr>\n
2<\/td>\nchannelCode<\/td>\nString<\/td>\n\u00a050<\/td>\ntrue<\/td>\nThe Code of the Channel from which request is coming from.<\/td>\n<\/tr>\n
3<\/td>\namount<\/td>\nLong<\/td>\n<\/td>\nfalse<\/td>\nThe Amount of Loan that the Customer wish to take. This can be used to determine the offers that will be returned.<\/td>\n<\/tr>\n
4<\/td>\ncurrentLoanStatus<\/td>\nBoolean<\/td>\n<\/td>\n\u00a0true<\/td>\nA Status stating whether the Customer has a current loan in service or not.<\/td>\n<\/tr>\n
5<\/td>\nhashedCustomerId<\/td>\nString<\/td>\n100<\/td>\ntrue<\/td>\nThe hashed value of the customer Id, which can be used to retrieved customer data.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Endpoint<\/h3>\n\n\n\n
GET \/endpoint goes here. The Provider is expected to provide this and configured on the ILS Platform.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Headers<\/h3>\n\n\n\n
As a Lender, please note that it is expected you have a basic authentication for each API spec\u00a0 A sample screen shot is shown below.\n\n \n
\"\"<\/figure>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Sample Request<\/h3>\nSample request<\/strong>\n\n\n\n
{\n\n“customerId”: “2348123456789”,\n\n“channelCode”: “FBNILS”,\n\n“amount”: “100000”, \/\/One thousand naira only\n\n“currentLoanStatus”: “True”,\n\n“hashedCustomerId”: “DBA29C79EED1E6AC388E03AD77E4C748AA87EEC3”\n\n}<\/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\n
Field<\/strong>\n\n#<\/strong><\/td>\nField name<\/strong><\/td>\nData type<\/strong><\/td>\nMax length<\/strong><\/td>\nRequired<\/strong><\/td>\nDescription<\/strong><\/td>\n<\/tr>\n<\/thead>\n
1<\/td>\nresponseCode<\/td>\nNumeric String<\/td>\n\u00a05<\/td>\ntrue<\/td>\nThe Code representing the status of the processing of the request. It shows whether the request to accept the offer is allowed or not.<\/td>\n<\/tr>\n
2<\/td>\nresponseMessage<\/td>\nString<\/td>\n\u00a0255<\/td>\ntrue<\/td>\nThe Description of the Response Code from above.<\/td>\n<\/tr>\n
3<\/td>\noffers<\/td>\nArray<\/td>\n<\/td>\ntrue<\/td>\nArrays of Offers that the provider has for the user.<\/td>\n<\/tr>\n
3a<\/td>\nofferId<\/td>\nNumeric String<\/td>\n50<\/td>\nTrue<\/td>\nThe id representing this offer from the provider.<\/td>\n<\/tr>\n
3b<\/td>\namountOffered<\/td>\nLong<\/td>\n<\/td>\nTrue<\/td>\nThe Amount of this loan offer<\/td>\n<\/tr>\n
3c<\/td>\ninterest<\/td>\nNumeric String<\/td>\n3<\/td>\nTrue<\/td>\nThe interest in percentage attached to the loan<\/td>\n<\/tr>\n
3d<\/td>\namountPayable<\/td>\nLong<\/td>\n<\/td>\nTrue<\/td>\nThe Amount expected to be paid by the User for the loan.<\/td>\n<\/tr>\n
3e<\/td>\nfees<\/td>\nArray<\/td>\n<\/td>\nFalse<\/td>\nThe Array of fees that are attached to the loan.<\/td>\n<\/tr>\n
3ei<\/td>\nname<\/td>\nString<\/td>\n50<\/td>\ntrue<\/td>\nThe name of the fees.<\/td>\n<\/tr>\n
3eii<\/td>\namount<\/td>\nLong<\/td>\n<\/td>\ntrue<\/td>\nThe amount for the fees<\/td>\n<\/tr>\n
3f<\/td>\ntenure<\/td>\nNumeric String<\/td>\n<\/td>\ntrue<\/td>\nThe Time duration of this loan after which the user is expected to pay back the\u00a0amountPayable<\/em>\u00a0<\/em>(in days)<\/td>\n<\/tr>\n
3g<\/td>\nterms<\/td>\nString<\/td>\n100<\/td>\nTrue<\/td>\nThe Terms and Conditions attached to the loan offer.<\/td>\n<\/tr>\n
3h<\/td>\nexpiryDate<\/td>\nDate Time (UTC)<\/td>\n<\/td>\nTrue<\/td>\nThe Date\/Time at which this loan offer expires and become invalid.<\/td>\n<\/tr>\n
3i<\/td>\ncurrency<\/td>\nNumeric String<\/td>\n3<\/td>\nTrue<\/td>\nThe Currency of the Amount offered.<\/td>\n<\/tr>\n
3j<\/td>\nisPartPaymentAllowed<\/td>\nBoolean<\/td>\n<\/td>\nTrue<\/td>\nA Boolean depicting whether the Customer is allowed to make part-payment to serve the loan.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Sample Response (success)<\/h3>\n\n\n\n
{\n\n“responseCode”:\u00a0“00”,\n\n“responseMessage”:\u00a0“Successful”,\n\n“offers”: [\n\n{\n\n“offerId”:\u00a0“ABCREDIT0001”,\n\n“amountOffered”:\u00a0“1000.00”,\n\ninterest””:\u00a0“10”,\n\n“amountPayable”:\u00a0“1100.00”,\n\n“fees”: [{\n\n“name”:\u00a0“Tax”,\n\n“amount”:\u00a0“1.00”\n\n}],\n\n“tenure”:\u00a0“30”,\n\n“terms”:\u00a0“Please read the terms and conditions on\u00a0https:\/\/onefi.com\/terms”<\/a>,\n\n“expiryDate”:\u00a0“2017-06-12T11:46:15Z”,\n\n“currency”:\u00a0“566”\n\n},\n\n{\n\n“offerId”:\u00a0“0002”,\n\n“amountOffered”:\u00a0“10000.00”,\n\ninterest””:\u00a0“12.5”,\n\n“amountPayable”:\u00a0“12500.00”,\n\n“fees”: [{\n\n“name”:\u00a0“Tax”,\n\n“amount”:\u00a0“10.00”\n\n}],\n\n“tenure”:\u00a0“60”,\n\n“terms”:\u00a0“Loanee are expected to have served the loan at the tenure end. Any defaulters of this will likely not be given any loan offer from here or other credit company.”,\n\n“expiryDate”:\u00a0“2017-06-12T11:46:15Z”,\n\n“currency”:\u00a0“566”\n\n}\n\n]\n\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a>Sample Response (failure)<\/h3>\n\n\n\n
{\n\n“responseCode”:\u00a0“3001”,\n\n“responseMessage”:\u00a0“Sorry, we have no loan offers for this customer.”\n\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/a><\/h2>","protected":false},"author":169,"featured_media":0,"parent":2297,"menu_order":1,"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\/2300"}],"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=2300"}],"version-history":[{"count":5,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2300\/revisions"}],"predecessor-version":[{"id":4335,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2300\/revisions\/4335"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2297"}],"next":[{"title":"Get Merchant Offer","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/get-merchant-offer\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2930"}],"prev":[{"title":"Get Loan Status","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/get-loan-status\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2298"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2300"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}