( ! ) 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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.31949333456rest_get_server( )...\rest-api.php:403
111.31949336392do_action( )...\rest-api.php:577
121.31949336768WP_Hook->do_action( )...\plugin.php:517
131.31949336768WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.32049375968Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.32069383960Jetpack::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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.405811123952WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.405811124280header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.407311123896WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.407311124216header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.408911124088WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.408911124456header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.410111123976WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.410111124296header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.411211124040WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.411211124408header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.412411124088WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.412411124456header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.497711420296WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.497811420296WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.497811420840header ( )...\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.31889305696wp( )...\wp-blog-header.php:16
41.31889305720WP->main( )...\functions.php:1334
51.31889305720WP->parse_request( )...\class-wp.php:780
61.31949332408do_action_ref_array( )...\class-wp.php:399
71.31949332408WP_Hook->do_action( )...\plugin.php:565
81.31949332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.31949333424rest_api_loaded( )...\class-wp-hook.php:308
101.405611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.497711420296WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.498911420296WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.498911420616header ( )...\class-wp-rest-server.php:1762
{"id":2945,"date":"2018-07-19T13:42:49","date_gmt":"2018-07-19T13:42:49","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/value-financing\/get-tenured-offers\/"},"modified":"2022-11-07T10:59:56","modified_gmt":"2022-11-07T10:59:56","slug":"get-tenured-offers","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/value-financing\/get-tenured-offers\/","title":{"rendered":"Get Tenured Offers"},"content":{"rendered":"

Get Tenured Offers<\/h3>\n

This endpoint is to get offers available to a user\/customer from a specified Credit Company (Provider) for purchasing items from the specified merchant<\/p>\n

Request Message description<\/h4>\n
\n\n\n\n\n\n\n\n<\/colgroup>\n\n\n\n\n\n\n\n\n\n\n
\n
\n

Field<\/p>\n

#<\/p>\n<\/div>\n<\/th>\n

\n
Field name<\/div>\n<\/th>\n
\n
Data type<\/div>\n<\/th>\n
\n
Max length<\/div>\n<\/th>\n
\n
Required<\/div>\n<\/th>\n
\n
Description<\/div>\n<\/th>\n<\/tr>\n<\/thead>\n
1<\/td>\ncustomerId<\/td>\nString<\/td>\n<\/td>\ntrue<\/td>\nThe Email or Mobile Number of the Customer for which offers are been requested.<\/td>\n<\/tr>\n
2<\/td>\namount<\/td>\nNumeric String<\/td>\n<\/td>\ntrue<\/td>\nThe Amount of Loan that the customer wishes to take (in Kobo).<\/td>\n<\/tr>\n
3<\/td>\nmerchantId<\/td>\nString<\/td>\n<\/td>\ntrue<\/td>\nThe merchant Id<\/td>\n<\/tr>\n
4<\/td>\nitemDescription<\/td>\nString<\/td>\n<\/td>\nfalse<\/td>\nDescription of the item being purchased<\/td>\n<\/tr>\n
5<\/td>\nbvn<\/td>\nString<\/td>\n<\/td>\nfalse<\/td>\nThe customer’s Bank Verfication Number<\/td>\n<\/tr>\n
6<\/td>\ndateOfBirth<\/td>\nString<\/td>\n<\/td>\nfalse<\/td>\nThe customer’s date of birth in the format yyyy-MM-dd<\/td>\n<\/tr>\n
7<\/td>\nserviceType<\/td>\nString<\/td>\n<\/td>\nfalse<\/td>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n
\n
Endpoint<\/b><\/div>\n
\n
\n
\n\n\n\n
\n
\n
GET \/tenured-offers?customerId={customerId}&amount={amount}&merchantId={merchantId}&itemDescription={itemDescription}&bvn={bvn}&dateOfBirth=1960-10-01<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n
\n
Headers<\/b><\/div>\n
\n
\n
\n\n\n\n
\n
\n
\u00a0<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n
Sample Request<\/h5>\n
\n
Sample request<\/b><\/div>\n
\n
\n
\n\n\n\n
\n
\n
\/tenured-offers?mercantId=3IPG001&customerId=2348030583962&amount=100000&bvn=1000000002&itemDescription=Samsung Tv<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

Response Message\u00a0 field description<\/h4>\n
\n\n\n\n\n<\/colgroup>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n
\n

Field<\/p>\n

#<\/p>\n<\/div>\n<\/th>\n

\n
Field name<\/div>\n<\/th>\n
\n
Description<\/div>\n<\/th>\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
4<\/td>\noffers<\/td>\nArrays of the available offers.<\/td>\n<\/tr>\n
4a.<\/td>\nofferId<\/td>\n<\/td>\n<\/tr>\n
4b.<\/td>\namountOffered<\/td>\nThe Amount which the Credit Company is ready to loan the customer\/user.<\/td>\n<\/tr>\n
4c.<\/td>\ninterest<\/td>\nThe Interest Percentage that applies to the loan.<\/td>\n<\/tr>\n
4d.<\/td>\namountPayable<\/td>\nThe Compound Interest which is to be paid by the Customer at the end of the loan tenure.<\/td>\n<\/tr>\n
4e.<\/td>\nfees<\/td>\nArray of the many fees that applied with the offer.<\/td>\n<\/tr>\n
4f.<\/td>\ntenure<\/td>\nThe Duration for which the loan is applied. After this duration, the loan is marked as due. (in days<\/em>)<\/td>\n<\/tr>\n
4g.<\/td>\nterms<\/td>\nThe Terms and Conditions that applied to the offer.<\/td>\n<\/tr>\n
4h.<\/td>\nexpiryDate<\/td>\nThe Date and Time at which this offer becomes invalid.(UTC)<\/td>\n<\/tr>\n
4i.<\/td>\ncurrency<\/td>\nThe Currency Code of the Amount offered.<\/td>\n<\/tr>\n
4j.<\/td>\ndescription<\/td>\nThe desctiption of the offer. This is what will be displayed to the customer<\/td>\n<\/tr>\n
4k.<\/td>\ntype<\/td>\nThe type of offer. Possible values are One-Off and Installmental<\/td>\n<\/tr>\n
4l.<\/td>\ninitialPayment<\/td>\nThe value of the initial payment that will be deducted from the customer<\/td>\n<\/tr>\n
4m.<\/td>\nnoOfInstallments<\/td>\nThe number of installments the customer will be required to pay<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n
Sample Response (success)<\/h5>\n
\n
\n
\n
\n\n\n\n
\n
\n
{<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"responseCode\"<\/code>:\u00a0<\/code>\"00\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"responseMessage\"<\/code>:\u00a0<\/code>\"Offers available\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"offers\"<\/code>: [<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>{<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"offerId\"<\/code>:\u00a0<\/code>\"FI12345\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"amountOffered\"<\/code>: 1000000,\u00a0<\/code>\/\/ Ten thousand naira only<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"interest\"<\/code>\u00a0: 12.5\u00a0<\/code>\/\/ In percentage: 12.5%<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"amountPayable\"<\/code>: 1250000,\u00a0<\/code>\/\/ Ten thousand, two hundred and fifty naira only<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"tenure\"<\/code>: 30,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"expiryDate\"<\/code>:\u00a0<\/code>\"2017-05-30T16:49:12Z\"<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"currency\"<\/code>:\u00a0<\/code>\"566\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>\"description\"<\/code>:\u00a0<\/code>\"N10,000 to pay back N12,500 in 30 days\"<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>}<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>]<\/code><\/div>\n
}<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n
Sample Response (failure)<\/h5>\n
\n
\n
\n
\n\n\n\n
\n
\n
{<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"responseCode\"<\/code>:\u00a0<\/code>\"01\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"responseMessage\"<\/code>:\u00a0<\/code>\"You have an existing loan\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"offers\"<\/code>: []<\/code><\/div>\n
}<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":169,"featured_media":0,"parent":2944,"menu_order":0,"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\/2945"}],"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=2945"}],"version-history":[{"count":2,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2945\/revisions"}],"predecessor-version":[{"id":4384,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2945\/revisions\/4384"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2944"}],"next":[{"title":"Accept Tenured Offer","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/value-financing\/accept-tenured-offer\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2947"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2945"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}