( ! ) 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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.23399257232rest_get_server( )...\rest-api.php:403
110.23409260168do_action( )...\rest-api.php:577
120.23409260544WP_Hook->do_action( )...\plugin.php:517
130.23409260544WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.23499299744Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.23519307736Jetpack::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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.296211047728WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.296211048056header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.297211047672WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.297211047992header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.298411047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.298411048232header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.299211047752WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.299211048072header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.300011047816WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.300011048184header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.300811047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.300911048232header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.370911282776WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.370911282776WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.370911283288header ( )...\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.23339229472wp( )...\wp-blog-header.php:16
40.23339229496WP->main( )...\functions.php:1334
50.23339229496WP->parse_request( )...\class-wp.php:780
60.23399256184do_action_ref_array( )...\class-wp.php:399
70.23399256184WP_Hook->do_action( )...\plugin.php:565
80.23399256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23399257200rest_api_loaded( )...\class-wp-hook.php:308
100.296111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.370911282776WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.372111282776WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.372111283096header ( )...\class-wp-rest-server.php:1762
{"id":2275,"date":"2017-12-18T09:56:50","date_gmt":"2017-12-18T09:56:50","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/interswitch-lending-service-providers\/debit-customer\/"},"modified":"2021-04-06T11:54:11","modified_gmt":"2021-04-06T11:54:11","slug":"debit-customer","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/providers\/debit-customer\/","title":{"rendered":"Debit Customer"},"content":{"rendered":"\n

This endpoint will be used by the providers for loan collection when the loan repayment is due.<\/p>\n\n\n\n

Currently, there are two<\/strong> implementations in the debit customer endpoint. The same request will be used for both, but the response differs depending on which implementation is triggered. They are:<\/p>\n\n\n\n

  1. Debit Customer from Card<\/strong>: The service will use the customer’s provided payment debit card to trigger a payment request to IPG with the specified amount.<\/li>
  2. Debit Customer from Bank Account<\/strong>:  The service will use the customer’s bank account details to send a payment request to the specified bank. (NOTE<\/strong>: this will ONLY happen for banks that have provided their Direct-to-Account Debit APIs)<\/li><\/ol>\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> 50<\/td>true<\/td>The Email or Mobile Number of the User.<\/td><\/tr>
    2<\/td>loanId<\/td>Numeric String<\/td> 50<\/td>true<\/td>The loan id of the loan for which this debit is for.<\/td><\/tr>
    3<\/td>amount<\/td>Long<\/td> <\/td>true<\/td>The Amount to be debited from the user’s payment card. (This is in lower denomination KOBO)<\/td><\/tr>
    4.<\/td>providerCode<\/td>String<\/td>50<\/td>True<\/td>The provider code<\/td><\/tr>
    5<\/td>transactionId<\/td>String<\/td>15<\/td>false<\/td>The Identifier for this transaction. This will be used to requery this transaction if needs be<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

    POST \/loans\/{loanId}\/debit<\/code> <\/p>\n\n\n\n

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

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

    <\/a>Sample Request<\/h4>\n\n\n\n

    {
    \"customerId\": \"2348123456789\",
    \"providerCode\": \"MINES\",
    \"transactionId\": \"958984578597843798438\",
    \"amount\": 1000000 \/\/ ten thousand naira only.
    } <\/code><\/p>\n\n\n\n

    <\/a>Response Message\u00a0 field description<\/h4>\n\n\n\n
    Field#<\/th>Field name<\/th>Data Type<\/th>Max Length<\/th>Required<\/th>Description<\/th><\/tr><\/thead>
    1<\/td>responseCode<\/td>Numeric String<\/td>5<\/td>true<\/td>The code indicating the result of the processing of this request.<\/td><\/tr>
    2<\/td>responseDescription<\/td>String<\/td>255<\/td>true<\/td>The Description of the responseCode.<\/td><\/tr>
    3<\/td>transactionRef<\/td>String<\/td>50<\/td>true<\/td>The Quickteller Transaction Reference of the Debit done.<\/td><\/tr>
    4<\/td>balance<\/td>Long<\/td>
    <\/td>
    false<\/td>The customer\u2019s balance will be returned when he\/she does not have sufficient funds to pay back the loan.<\/td><\/tr>
    5<\/td>transactionId<\/td>String<\/td>
    <\/td>

    <\/td>
    The Identifier of this transaction. This will be used of requery of this transaction if needs be.<\/td><\/tr>
    6<\/td>transactionDate<\/td>String<\/td>
    <\/td>
    false<\/td>This is the date\/timestamp of the direct-to-account debit request.<\/td><\/tr>
    7.<\/td>requestReference<\/td>String<\/td>20<\/td>false<\/td>This is the unique identifier for all direct-to-account debit requests.<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

    {
    \"responseCode\": \"00\",
    \"responseDescription\": \"Successful\",
    \"transactionRef\": \"UBN|WEB|ILS|20170501120945|0198849\",
    \"transactionId\": \"958984578597843798438\"
    }<\/code><\/p>\n\n\n\n

    <\/p>\n\n\n\n

    Sample Response for Account Debit (success)<\/h4>\n\n\n\n

    {
    \"responseCode\": \"00\",
    \"responseMessage\": \"Successful\",
    \"transactionId\": \"12341234abcd\",
    \"amount\": 5000,
    \"transactionDate\": \"2019-12-17 14:21:06\",
    \"requestReference\": \"2634301\"
    }<\/code>
    <\/a><\/p>\n\n\n\n

    Sample Response Card Debit (failure)<\/h4>\n\n\n\n

    {
    \"responseCode\": \"96\",
    \"responseMessage\": \"Issuer or Switch Inoperative.\"
    } <\/code><\/p>\n\n\n\n

    <\/p>\n\n\n\n

    Sample Response Account Debit (failure)<\/h4>\n\n\n\n

    {
    \"responseCode\": \"07\",
    \"responseMessage\": \"Invalid Account\",
    \"transactionId\": \"2214201090888345937\",
    \"amount\": \"2000\",
    \"transactionDate\": \"2019-12-17 14:08:38\",
    \"requestReference\": \"2634279\"
    }<\/code><\/p>\n\n\n\n

    Sample Response for Account Debit (duplicate)<\/h4>\n\n\n\n

    {
    \"responseCode\": \"94\",
    \"responseMessage\": \"Duplicate Transaction\",
    \"transactionId\": \"12341234abcd\",
    \"amount\": 5000,
    \"transactionDate\": \"2019-12-17 14:21:39\",
    \"requestReference\": \"2634302\"
    }<\/code><\/p>\n","protected":false},"author":169,"featured_media":0,"parent":2270,"menu_order":3,"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\/2275"}],"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=2275"}],"version-history":[{"count":3,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2275\/revisions"}],"predecessor-version":[{"id":3778,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2275\/revisions\/3778"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2270"}],"next":[{"title":"Do Payment","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/providers\/do-payment\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2277"}],"prev":[{"title":"Do Funds Transfer","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/ils\/providers\/do-funds-transfer\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2273"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2275"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}