( ! ) 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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.25279333456rest_get_server( )...\rest-api.php:403
111.25289336392do_action( )...\rest-api.php:577
121.25289336768WP_Hook->do_action( )...\plugin.php:517
131.25289336768WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.25379375968Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.25399383960Jetpack::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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.315711123952WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.315811124280header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.316911123896WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.317011124216header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.318411124088WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.318411124456header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.319311123976WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.319311124296header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.320211124040WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.320211124408header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.320911124088WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.320911124456header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.392711389040WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.392711389040WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.392711389584header ( )...\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
31.25229305696wp( )...\wp-blog-header.php:16
41.25229305720WP->main( )...\functions.php:1334
51.25229305720WP->parse_request( )...\class-wp.php:780
61.25279332408do_action_ref_array( )...\class-wp.php:399
71.25279332408WP_Hook->do_action( )...\plugin.php:565
81.25279332408WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25279333424rest_api_loaded( )...\class-wp-hook.php:308
101.315611124296WP_REST_Server->serve_request( )...\rest-api.php:410
111.392711389040WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.393911389040WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.393911389360header ( )...\class-wp-rest-server.php:1762
{"id":2933,"date":"2018-07-13T05:53:52","date_gmt":"2018-07-13T05:53:52","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/accept-merchant-offer\/"},"modified":"2022-12-22T11:21:54","modified_gmt":"2022-12-22T11:21:54","slug":"accept-merchant-offer","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/accept-merchant-offer\/","title":{"rendered":"Accept Merchant Offer"},"content":{"rendered":"\n

<\/p>\n\n\n

Accept Merchant Offer<\/h3>\n

During the Accept Offer processing, a request will be sent from Interswitch Lending Service to Provider to notify them of the User’s decision. The Request and Response format expected are as follows:<\/p>\n

Request Message Description<\/h4>\n
\n<\/colgroup>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Field<\/td>\nField Name<\/td>\nData type<\/td>\nMax length<\/td>\nRequired<\/td>\nDescription<\/td>\n<\/tr>\n
1<\/td>\ncustomerId<\/td>\nString<\/td>\n50<\/td>\ntrue<\/td>\nThe Email or Mobile Number of the User who is accepting this offer.<\/td>\n<\/tr>\n
2<\/td>\nofferId<\/td>\nString<\/td>\n50<\/td>\ntrue<\/td>\nThe Id of the Offer that is being accepted. This is the Id that was returned by the provider during “Get Offers” call to them.<\/td>\n<\/tr>\n
3<\/td>\nmerchantId<\/td>\nString<\/td>\n20<\/td>\ntrue<\/td>\nThe originating merchantId<\/td>\n<\/tr>\n
4<\/td>\nmerchantCode<\/td>\nString<\/td>\n20<\/td>\ntrue<\/td>\nThe originating merchantCode<\/td>\n<\/tr>\n
5<\/td>\notp<\/td>\nString<\/td>\n20<\/td>\ntrue<\/td>\n736996<\/td>\n<\/tr>\n
6<\/td>\naccountType<\/td>\nString<\/td>\n20<\/td>\ntrue<\/td>\nsavings<\/td>\n<\/tr>\n
7<\/td>\ncustomerAccountNumber<\/td>\nString<\/td>\n10<\/td>\ntrue<\/td>\n1004110901<\/td>\n<\/tr>\n
8<\/td>\ncustomerBankCode<\/td>\nString<\/td>\n5<\/td>\ntrue<\/td>\n030<\/td>\n<\/tr>\n
9<\/td>\n\n

bvn<\/p>\n<\/td>\n

String<\/td>\n5<\/td>\ntrue<\/td>\n5123454698121048737<\/td>\n<\/tr>\n
\n

10<\/p>\n<\/td>\n

token<\/td>\nNumeric string<\/td>\n20<\/td>\nFalse<\/td>\nThe Payment Card token from which the loan debt will be taken after the due date<\/td>\n<\/tr>\n
11<\/td>\nloanReferenceId<\/td>\nString<\/td>\n100<\/td>\nFalse<\/td>\nA unique identifier assigned to the loan<\/td>\n<\/tr>\n
12<\/td>\ntokenExpiryDate<\/td>\nNumeric<\/td>\n4<\/td>\nFalse<\/td>\nExpiry date for the payment card token in format (YYMM)<\/td>\n<\/tr>\n
13<\/td>\notpRequestReference<\/td>\nString<\/td>\n50<\/td>\nFalse<\/td>\nRequest reference for OTP<\/td>\n<\/tr>\n

\u00a0<\/code><\/td>\n
\u00a0<\/td>\n\u00a0<\/td>\n\u00a0<\/td>\n\u00a0<\/td>\n\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n
\u00a0<\/div>\n
\u00a0<\/div>\n
\n
Endpoint<\/b><\/div>\n
\n
\n
\n\n\n\n
\n
\n
POST \/endpoint goes here. The Provider is expected to provide this and configured on the ILS Platform.<\/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
{
\n<\/span> \"customerId\"<\/span>: \"2347032389711\"<\/span>,
\n<\/span><\/code><\/div>\n
\"offerId\"<\/span>: \"017579ba-17bc-4867-9752-6f4ae50f7f7c\"<\/span>,
\n<\/span><\/code><\/div>\n
\"merchantId\"<\/span>: \"MX1065\"<\/span>,<\/span><\/code><\/div>\n
\"loanReferenceId\"<\/span>: \"INC16711274375962347032389711\"<\/span>,
\n<\/span> \"customerAccountNumber\"<\/span>: \"1004110901\"<\/span>,
\n<\/span><\/code><\/div>\n
\"customerBankCode\"<\/span>: \"030\"<\/span>,
\n<\/span><\/code><\/div>\n
\"token\"<\/span>: \"5123454698121048737\"<\/span>,
\n<\/span><\/code><\/div>\n
\"tokenExpiryDate\"<\/span>: \"2506\"<\/span>,
\n<\/span><\/code><\/div>\n
\"merchantCode\"<\/span>: \"MX1065\"<\/span>,
\n<\/span><\/code><\/div>\n
\"bvn\"<\/span>: \"22163536967\"<\/span>,
\n<\/span><\/code><\/div>\n
\"accountType\"<\/span>: \"savings\"<\/span>,<\/span><\/code><\/div>\n
\"otp\"<\/span>: \"736996\"<\/span>,<\/span><\/code><\/div>\n
\"otpRequestReference\"<\/span>: null<\/span><\/span><\/code><\/div>\n
}<\/span><\/code><\/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\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 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>\nThe Description of the Response Code from above.<\/td>\n<\/tr>\n
3<\/td>\nloanId<\/td>\nThe Id of the accepted loan from the provider<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n

\u00a0<\/p>\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>\"Successful\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"loanId\"<\/code>:<\/code>\"0002\"<\/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>\"4002\"<\/code>,<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>\"responseMessage\"<\/code>:\u00a0<\/code>\"Offer has expired.\"<\/code><\/div>\n
}<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"author":169,"featured_media":0,"parent":2297,"menu_order":4,"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\/2933"}],"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=2933"}],"version-history":[{"count":6,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2933\/revisions"}],"predecessor-version":[{"id":4428,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2933\/revisions\/4428"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2297"}],"next":[{"title":"Payment Notification","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/payment-notifcation\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2304"}],"prev":[{"title":"Accept Offers","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/ils-to-providers\/accept-offers\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2302"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2933"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}