( ! ) 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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.24079257232rest_get_server( )...\rest-api.php:403
110.24089260168do_action( )...\rest-api.php:577
120.24089260544WP_Hook->do_action( )...\plugin.php:517
130.24089260544WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.24189299744Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.24219307736Jetpack::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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.303411047728WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.303411048056header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.304611047672WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.304611047992header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.305911047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.305911048232header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.306811047752WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.306811048072header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.307611047816WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.307611048184header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.308411047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.308511048232header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.369011282744WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.369011282744WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.369011283256header ( )...\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.24019229472wp( )...\wp-blog-header.php:16
40.24019229496WP->main( )...\functions.php:1334
50.24019229496WP->parse_request( )...\class-wp.php:780
60.24079256184do_action_ref_array( )...\class-wp.php:399
70.24079256184WP_Hook->do_action( )...\plugin.php:565
80.24079256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24079257200rest_api_loaded( )...\class-wp-hook.php:308
100.303311048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.369011282744WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.370211282744WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.370211283064header ( )...\class-wp-rest-server.php:1762
{"id":2245,"date":"2017-12-18T08:46:38","date_gmt":"2017-12-18T08:46:38","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-lending-service\/interswitch-lending-service-channels\/accept-offers\/"},"modified":"2021-06-03T09:12:13","modified_gmt":"2021-06-03T09:12:13","slug":"accept-offers","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/accept-offers\/","title":{"rendered":"Accept Offers"},"content":{"rendered":"\n

This Endpoint is to accept a loan offer. On calling this endpoint, the service will mark an offer as accepted and then notify the provider of this decision while providing them with the account details of the customer.<\/p>\n\n\n\n

<\/a>Request Message description<\/h3>\n\n\n\n
Field#<\/th>Field name<\/th>Data type<\/th>Max length<\/th>Required<\/th>Description<\/th><\/tr><\/thead>
1<\/td>customerId<\/td>String<\/td>
<\/td>
true<\/td>The Email or Mobile Number of the Customer.<\/td><\/tr>
3<\/td>creditMethod<\/td>Object<\/td>
<\/td>

<\/td>
The Object containing the properties of the account to be credited for the loan amount. This is required when the creditMethodId<\/em> is not provided.<\/td><\/tr>
3a.<\/td>accountNumber<\/td>Numeric String<\/td>
<\/td>
true<\/td>The Account Number to be credited.<\/td><\/tr>
3b.<\/td>bankCode<\/td>Numeric String<\/td>
<\/td>
true<\/td>The CBN Bank Code representing the Bank of the Account to be credited. E.g 011<\/td><\/tr>
3c.<\/td>id<\/td>Numeric<\/td>
<\/td>
false<\/td>The ID of the Account to be credited.<\/td><\/tr>
4<\/td>debitMethod<\/td>Object<\/td>
<\/td>

<\/td>
The Object containing the properties of the Card to be debited when the loan is due. This is required when the debitMethodId<\/em> is not provided.<\/td><\/tr>
4a.<\/td>identifier<\/td>String<\/td>
<\/td>
false<\/td>The Payment Method Identifier (GUID) of the Card to be debited.<\/td><\/tr>
4b.<\/td>authData<\/td>String<\/td>
<\/td>
true<\/td>The AuthData of the Card to be debited. It is the encryption of the Card PAN or Identifier, Expiry Date, PIN, and CVV.<\/td><\/tr>
4c.<\/td>useCreditMethod<\/td>Boolean<\/td>
<\/td>
false<\/td>A flag to indicate whether to use account number as means of collection (payback) as opposed to the card details. This is strictly for USSD Channel integration that supports direct to account debit functionalities.<\/td><\/tr>
5<\/td>channelCode<\/td>String<\/td>
<\/td>
true<\/td>The Code of the Channel from which this request is being sent.<\/td><\/tr>
6<\/td>providerCode<\/td>String<\/td>
<\/td>
true<\/td>The Code of the provider from which this offer was retrieved.<\/td><\/tr><\/tbody><\/table>\n\n\n\n

<\/a>Endpoint<\/h4>\n\n\n\n

POST \/offers\/{offerId}\/accept<\/code> <\/p>\n\n\n\n

<\/a>Headers<\/h4>\n\n\n\n

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

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

<\/a>Sample Request One ( accept offer with Payment Method Identifier )<\/h4>\n\n\n\n

{
\"customerId\": \"2348123456789\",
\"channelCode\": \"0002\",
\"providerCode\": \"ABCREDIT\",
\"debitMethod\": {
\"identifier\": \"0123456789\"
},
\"creditMethod\": {
\"id\": \"9876543210\"
}
}<\/code><\/p>\n\n\n\n

<\/a>Sample Request Two ( accept offer with Payment Method Identifier or card)<\/h4>\n\n\n\n

{
\"customerId\": \"2348123456789\",
\"channelCode\": \"0002\",
\"providerCode\": \"ABCREDIT\",
\"debitMethod\": {
\"identifier\": \"ADA4C1FFE6DE40C584ABD3CBAFDA0D08\",
\"authData\": \"OjlDC8aB24QNtbc654TAmTC7s\/J4WG7LVf3HursqxMj9Kx0iMLWg8chKuQrB3E4SaBoegl7znXDTZ0QTwS+gr5IrFX+7LplB5My\/eJ9a3VgY7SL9izhXWPowDIT7y2SZzgJIpYgGp2bTKZcDO0vUPREV\/0NMxPOktxFlXHKkeYe3nn2WrP877Tw09XCN4eZfe7M5dD4wdb0IRcMktHCdbbdyZa60UTkxhTDWk9t5Nm3opWda5zV+ERQhgpod99rG61odZE0brQ9iGf5KPYmaoynfL00I6CQYjnANoEnjOTh5Kt7uhaRrhUSk9zKIV4woME8LXetvdvQUee+ZXcbXPg==\"
},
\"creditMethod\": {
\"id\": \"9876543210\"
}
}<\/code><\/p>\n\n\n\n

<\/a>Sample Request Three (accept offer with card)<\/h4>\n\n\n\n

{
\"customerId\": \"2348123456789\",
\"channelCode\": \"0002\",
\"providerCode\": \"ABCREDIT\",
\"debitMethod\": {
\"authData\": \"NQkmlsofwtUI\/h8M9jN8xYjCYRmzdIfM\/v2X2q9eVjnuU75E31MPKTYYlinxuzSthjY0C1S2i4+A0vyAAFwth6sJx6p9ekp9H4hsiO3iG+x587KqVwhBY5DC76oArxINzzxP4F09Aw\/a527jVb4Agx5aTDQiyAKV8WSTzjHY7KH8XB2\/lI+WwUEOhs49yCRPXh+tXJCGdefZgZYFyI09WNp2w8AWDQUZvRpzPFzS09QAeiI4qWuFZ01F\/HAF4D09I8Gg+61lWwclw4zcPLXWB17zzb\/BrMZcjJvyrouCbbn6n7zaUqyFG4H4r3NTRAcuVxCnDCC2wjRO9ZRq2la4lA==\"
},
\"creditMethod\": {
\"accountNumber\": \"0123456789\",
\"bankCode\": \"058\"
}
}<\/code><\/p>\n\n\n\n

Sample Request Four (accept offer with account number)<\/h4>\n\n\n\n

{
\"customerId\": \"2348123456789\",
\"channelCode\": \"0002\",
\"providerCode\": \"ABCREDIT\",
\"debitMethod\": {
\"useCreditMethod\": true
},
\"creditMethod\": {
\"accountNumber\": \"0123456789\",
\"bankCode\": \"058\"
}
} <\/code><\/p>\n\n\n\n

<\/a>Response Message  field description<\/h4>\n\n\n\n
Field<\/strong>\n

 <\/p>\n

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

Field name<\/strong><\/td>Description<\/strong><\/td><\/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><\/tbody><\/table>\n\n\n\n

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

{
\"responseCode\": \"00\",
\"responseMessage\": \"Transaction successful. Account would be credited shortly\"
}<\/code><\/p>\n\n\n\n

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

{
\"responseCode\": \"96\",
\"responseMessage\": \"Oops. Something went wrong. Please try again later\"
}<\/code><\/p>\n\n\n\n

 <\/h3>\n\n\n\n

 <\/h3>\n","protected":false},"author":169,"featured_media":0,"parent":2235,"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\/2245"}],"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=2245"}],"version-history":[{"count":4,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2245\/revisions"}],"predecessor-version":[{"id":3763,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2245\/revisions\/3763"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2235"}],"next":[{"title":"Get Customer Status","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-customer-status\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2247"}],"prev":[{"title":"Get Offers V3","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/channels\/get-offers-v3\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3758"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2245"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}