( ! ) 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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.22489260648rest_get_server( )...\rest-api.php:403
110.22489263584do_action( )...\rest-api.php:577
120.22489263960WP_Hook->do_action( )...\plugin.php:517
130.22489263960WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.22579303160Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.22609311152Jetpack::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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.284911051144WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.284911051472header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.286311051088WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.286311051408header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.287611051280WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.287611051648header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.288511051168WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.288511051488header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.289311051232WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.289411051600header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.290111051280WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.290111051648header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.337711269312WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.337711269312WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.337711269856header ( )...\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.0001403304{main}( )...\index.php:0
20.0001403584require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22429232888wp( )...\wp-blog-header.php:16
40.22429232912WP->main( )...\functions.php:1334
50.22429232912WP->parse_request( )...\class-wp.php:780
60.22489259600do_action_ref_array( )...\class-wp.php:399
70.22489259600WP_Hook->do_action( )...\plugin.php:565
80.22489259600WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22489260616rest_api_loaded( )...\class-wp-hook.php:308
100.284811051488WP_REST_Server->serve_request( )...\rest-api.php:410
110.337711269312WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.338711269312WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.338711269632header ( )...\class-wp-rest-server.php:1762
{"id":3671,"date":"2021-01-21T11:35:54","date_gmt":"2021-01-21T11:35:54","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/quickteller-sva\/epins\/create-voucher\/"},"modified":"2021-04-15T08:32:44","modified_gmt":"2021-04-15T08:32:44","slug":"create-voucher","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/quickteller-sva\/epins\/create-voucher\/","title":{"rendered":"Create Voucher"},"content":{"rendered":"\n

Request Endpoint: https:\/\/sandbox.interswitchng.com\/api\/v2\/quickteller\/vouchers\/create <\/code><\/p><\/blockquote>\n\n\n\n

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

Request Body 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>paymentCode<\/td>string<\/td>5<\/td>False <\/td>This is the payment  code<\/td><\/tr>
2<\/td>CustomerId<\/td>string<\/td>MAX<\/td>True<\/td>This is the id of the customer who is trying to create the voucher<\/td><\/tr>
3<\/td>Amount<\/td>Long<\/td>
<\/td>
True<\/td>This is the amount of voucher that needs to be created<\/td><\/tr>
4<\/td>Type<\/td>string<\/td>10<\/td>True<\/td>This is the type of voucher been created; gift | recharge <\/td><\/tr>
5<\/td>ExpiryDate<\/td>datetime<\/td>
<\/td>
True<\/td>This is the expiry date of the voucher<\/td><\/tr>
6<\/td>StartDate<\/td>dateTime<\/td>
<\/td>
True<\/td>This is the start date of the voucher<\/td><\/tr>
7<\/td>Redemption.Quantity<\/td> int<\/td>
<\/td>
False<\/td>This specifies the total number of time a user can redeem the voucher<\/td><\/tr>
8<\/td>CodeConfig.allowedChar<\/td>string<\/td>50<\/td>False<\/td>This specifies the length and pattern of the voucher<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Header<\/strong><\/p>\n\n\n\n

{
\"terminalId\" :\" 3DMO0001 \",
\"Content-Type\":\"application\/json\",
\"authorization\":\"InterswitchAuth SUtJQUYzRDNGMkQyMEY1MTM2REVGNUExMjUwMzZDN0U0QjgzMzgwQjBGMjA=\",
\"nonce\":\"a42a92fa5718bf480684cb75c3d25fb1\",
\"timeStamp\":\"1588858522\",
\"signature\":\"5+NUy30sMxQM3VzNIS\/CPTkjixo=\",
\"signatureMethod\":\"SHA1\"
} <\/code><\/p><\/blockquote>\n\n\n\n

Request<\/strong> Body<\/strong><\/p>\n\n\n\n

{
\u00a0\u00a0\u00a0\u00a0\"customerId\":\u00a0\"081242267646\",
\u00a0\u00a0\u00a0\u00a0\"amount\":\u00a0\"5000\",
\u00a0\u00a0\u00a0\u00a0\"type\":\u00a0\"recharge\",
\u00a0\u00a0\u00a0\u00a0\"startDate\":\u00a0\"2021-01-22\",
\u00a0\u00a0\u00a0\u00a0\"expiryDate\":\u00a0\"2023-11-29\"
} <\/code><\/p><\/blockquote>\n\n\n\n

Sample Response (Success)<\/strong><\/p>\n\n\n\n

{<\/code><\/p>

\"TransactionRef\": \"PBL|Web|3PBL0001|VOS|261119122709|3BYAHU7EB3\",
\"RechargePIN\": \"u865tO9ycr\",
\"ApprovedAmount\": \"5000\",
\"MiscData\": \"u865tO9ycr\",
\"ResponseCode\": \"90000\",
\"ResponseDescription\": \"Success\",
\"ResponseCodeGrouping\": \"SUCCESSFUL\" <\/code><\/p>

}<\/code><\/p><\/blockquote>\n\n\n\n

Sample Response (Failed)<\/strong><\/p>\n\n\n\n

{
    \"errors\": [
        {
            \"code\": \"90009\",
            \"message\": \"Transaction in Progress\",
            \"responseCodeGrouping\": \"PENDING\"
        }
    ],
    \"error\": {
        \"code\": \"90009\",
        \"message\": \"Transaction in Progress\",
        \"responseCodeGrouping\": \"PENDING\"
    }
} <\/code><\/p><\/blockquote>\n\n\n\n

Response Codes<\/h5>\n\n\n\n
Response Code<\/th>Response Message<\/th><\/tr><\/thead>
VS005<\/td>TYPE_CANNOT_BE_EMPTY<\/td><\/tr>
VS007<\/td>UNRECOGNISED_TYPE<\/td><\/tr>
VS008<\/td>VOUCHER_TYPE_NOT ALLOWED<\/td><\/tr>
VS009<\/td>INVALID_START_DATE<\/td><\/tr>
VS010<\/td>BAD_START_DATE_FORMAT<\/td><\/tr>
VS011<\/td>BAD_EXPIRY_DATE_FORMAT<\/td><\/tr>
VS012<\/td>GIFT_OBJECT_NOT_SPECIFIED<\/td><\/tr>
VS013<\/td>DISCOUNT_OBJECT_NOT_SPECIFIED<\/td><\/tr>
VS014<\/td>INVALID_GIFT_BALANCE<\/td><\/tr>
VS015<\/td>INVALID_LENGTH<\/td><\/tr>
VS016<\/td>INVALID_EXPIRY_DATE<\/td><\/tr>
VS017<\/td>INVALID_REDEEM_QUANTITY<\/td><\/tr>
VS019<\/td>INVALID_CODE_CONFIG_LENGTH<\/td><\/tr>
VS021<\/td>NOT_AUTHORISED_TO_REDEEM_VOUCHER<\/td><\/tr><\/tbody><\/table>\n","protected":false},"author":169,"featured_media":0,"parent":3668,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3671"}],"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=3671"}],"version-history":[{"count":7,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3671\/revisions"}],"predecessor-version":[{"id":3841,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3671\/revisions\/3841"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3668"}],"next":[{"title":"Redeem Voucher","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/quickteller-sva\/epins\/redeem-voucher\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3674"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=3671"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=3671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}