( ! ) 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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.27499333456rest_get_server( )...\rest-api.php:403
111.27499336392do_action( )...\rest-api.php:577
121.27499336768WP_Hook->do_action( )...\plugin.php:517
131.27499336768WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.27599375968Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.27619383960Jetpack::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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.335911123952WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.335911124280header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.337111123896WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.337111124216header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.338511124088WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.338511124456header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.339311123976WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.339311124296header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.340211124040WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.340211124408header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.341211124088WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.341211124456header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.413411372784WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.413411372784WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.413411373296header ( )...\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
31.27439305696wp( )...\wp-blog-header.php:16
41.27439305720WP->main( )...\functions.php:1334
51.27439305720WP->parse_request( )...\class-wp.php:780
61.27499332408do_action_ref_array( )...\class-wp.php:399
71.27499332408WP_Hook->do_action( )...\plugin.php:565
81.27499332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.27499333424rest_api_loaded( )...\class-wp-hook.php:308
101.335711124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.413411372784WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.414511372784WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.414611373104header ( )...\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}]}}