( ! ) 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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.20919258472rest_get_server( )...\rest-api.php:403
110.20919261408do_action( )...\rest-api.php:577
120.20919261784WP_Hook->do_action( )...\plugin.php:517
130.20919261784WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.20999300984Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.21009308976Jetpack::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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.266711048968WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.266811049296header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.267711048912WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.267711049232header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.269111049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.269111049472header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.269811048992WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.269811049312header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.270511049056WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.270611049424header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.271411049104WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.271411049472header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.316711280352WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.316711280352WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.316711280864header ( )...\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.20859230712wp( )...\wp-blog-header.php:16
40.20859230736WP->main( )...\functions.php:1334
50.20859230736WP->parse_request( )...\class-wp.php:780
60.20919257424do_action_ref_array( )...\class-wp.php:399
70.20919257424WP_Hook->do_action( )...\plugin.php:565
80.20919257424WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20919258440rest_api_loaded( )...\class-wp-hook.php:308
100.266611049312WP_REST_Server->serve_request( )...\rest-api.php:410
110.316711280352WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.317711280352WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.317711280672header ( )...\class-wp-rest-server.php:1762
{"id":2243,"date":"2017-12-18T08:45:46","date_gmt":"2017-12-18T08:45:46","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-lending-service\/interswitch-lending-service-channels\/get-offers\/"},"modified":"2021-06-03T09:12:13","modified_gmt":"2021-06-03T09:12:13","slug":"get-offers","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-offers\/","title":{"rendered":"Get Provider Offers"},"content":{"rendered":"\n

This endpoint is to get offers available to a user\/customer from a specified Credit Company (Provider \/ lender).<\/p>\n\n\n\n

<\/a>Request Message description<\/h3>\n\n\n\n
Field<\/strong>\n

 <\/p>\n

#<\/strong><\/p>\n<\/td>

Field name<\/strong><\/td>Data type<\/strong><\/td>Max length<\/strong><\/td>Required<\/strong><\/td>Description<\/strong><\/td><\/tr><\/thead>
1<\/td>customerId<\/td>String<\/td> <\/td>true<\/td>The Email or Mobile Number of the Customer for which offers are been requested.<\/td><\/tr>
2<\/td>channelCode<\/td>String<\/td> <\/td>true<\/td>The Code of the Channel from which this request is originating.<\/td><\/tr>
3<\/td>providerCode<\/td>String<\/td> <\/td>true<\/td>The Code of the Provider from which offers will be retrieved.<\/td><\/tr>
4<\/td>fullname<\/td>String<\/td> <\/td>false<\/td>The Full name of the Customer.<\/td><\/tr>
5<\/td>amount<\/td>Numeric String<\/td> <\/td>false<\/td>The Amount of Loan that the customer wishes to take (in Kobo).\n

 <\/p>\n

 <\/p>\n<\/td><\/tr>

6<\/td>serviceType<\/td>String<\/td> <\/td>false<\/td>The service type for the loan. e.g MONEY or RECHARGE\n

 <\/p>\n

 <\/p>\n<\/td><\/tr><\/tbody><\/table>\n\n\n\n

<\/a>Endpoint<\/h3>\n\n\n\n

GET \/offers?customerId={customerId}&channelCode={channelCode}&providerCode={providerCode}&amount={amount}&serviceType={serviceType} <\/code><\/p>\n\n\n\n

<\/a>Headers<\/h3>\n\n\n\n

 Authorization: Bearer {{token}} <\/code><\/p>\n\n\n\n

 <\/h5>\n\n\n\n

<\/a>Sample request<\/h3>\n\n\n\n
\/offers?customerId=2348123456789&channelCode=0002&providerCode=ABCREDIT&amount=5000000&serviceType=LOAN<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n

<\/a>Response Message  field description<\/h3>\n\n\n\n
Field#<\/th>Field name<\/th>Description<\/th><\/tr><\/thead>
1<\/td>responseCode<\/td>The Code representing the result of the request processing.<\/td><\/tr>
2<\/td>responseMessage<\/td>The Description of the responseCode.<\/td><\/tr>
4<\/td>offers<\/td>Arrays of the available offers.<\/td><\/tr>
4a.<\/td>offerId<\/td>
<\/td><\/tr>
4b.<\/td>amountOffered<\/td>The Amount which the Credit Company is ready to loan the customer\/user.<\/td><\/tr>
4c.<\/td>interest<\/td>The Interest Percentage that applies to the loan.<\/td><\/tr>
4d.<\/td>amountPayable<\/td>The Compound Interest which is to be paid by the Customer at the end of the loan tenure.<\/td><\/tr>
4e.<\/td>fees<\/td>Array of the many fees that applied with the offer.<\/td><\/tr>
4f.<\/td>tenure<\/td>The Duration for which the loan is applied. After this duration, the loan is marked as due. (in days<\/em>)<\/td><\/tr>
4g.<\/td>terms<\/td>The Terms and Conditions that applied to the offer.<\/td><\/tr>
4h.<\/td>expiryDate<\/td>The Date and Time at which this offer becomes invalid.(UTC)<\/td><\/tr>
4i.<\/td>currency<\/td>The Currency Code of the Amount offered.<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

{
\"responseCode\": \"00\",
\"responseMessage\": \"Offers available\",
\"offers\": [
{
\"offerId\": \"FI12345\",
\"amountOffered\": 1000000, \/\/ Ten thousand naira only
\"interest\" : 12.5 \/\/ In percentage: 12.5%
\"amountPayable\": 1250000, \/\/ Ten thousand, two hundred and fifty naira only
\"tenure\": 30,
\"expiryDate\": \"2017-06-12T11:46:15Z\"
\"currency\": \"566\"
}
]
}<\/code><\/p>\n\n\n\n

<\/a>Sample Response (failure)<\/h3>\n\n\n\n

{
\"responseCode\": \"01\",
\"responseMessage\": \"You have an existing loan\",
\"offers\": []
}<\/code><\/p>\n","protected":false},"author":169,"featured_media":0,"parent":2235,"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\/2243"}],"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=2243"}],"version-history":[{"count":5,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2243\/revisions"}],"predecessor-version":[{"id":3753,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2243\/revisions\/3753"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2235"}],"next":[{"title":"Get Multiple Provider Offers","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-multiple-provider-offers\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3751"}],"prev":[{"title":"Get Providers","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-providers\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2240"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2243"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}