( ! ) 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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.23119260312rest_get_server( )...\rest-api.php:403
110.23129263248do_action( )...\rest-api.php:577
120.23129263624WP_Hook->do_action( )...\plugin.php:517
130.23129263624WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.23209302824Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.23239310816Jetpack::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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.292611050808WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.292611051136header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.293611050752WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.293611051072header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.294711050944WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.294711051312header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.295511050832WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.295511051152header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.296311050896WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.296311051264header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.297011050944WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.297011051312header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.368911318696WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.368911318696WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.369011319336header ( )...\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.0001402968{main}( )...\index.php:0
20.0001403248require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23069232552wp( )...\wp-blog-header.php:16
40.23069232576WP->main( )...\functions.php:1334
50.23069232576WP->parse_request( )...\class-wp.php:780
60.23119259264do_action_ref_array( )...\class-wp.php:399
70.23119259264WP_Hook->do_action( )...\plugin.php:565
80.23119259264WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23119260280rest_api_loaded( )...\class-wp-hook.php:308
100.292511051152WP_REST_Server->serve_request( )...\rest-api.php:410
110.368911318696WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.370111318696WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.370111319016header ( )...\class-wp-rest-server.php:1762
{"id":4404,"date":"2022-12-08T09:58:55","date_gmt":"2022-12-08T09:58:55","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/fintech-card-processing-spec-document-v2\/api-specification\/reversal\/"},"modified":"2022-12-08T11:37:55","modified_gmt":"2022-12-08T11:37:55","slug":"reversal","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/fintech-card-processing-spec-document-v2\/api-specification\/reversal\/","title":{"rendered":"Reversal"},"content":{"rendered":"\n

Request<\/strong><\/p>\n\n\n\n
POST \/reversal<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request atrributes<\/h4>\n\n\n\n
Attribute<\/th>Type<\/th>Description<\/th>Required<\/th><\/tr><\/thead>
requestId<\/td>String<\/td>A unique id for every request sent across. Very necessary for the mac<\/td>True<\/td><\/tr>
walletId<\/td>String<\/td>The wallet id of the wallet to reverse an amount on<\/td>True<\/td><\/tr>
amount<\/td>Long<\/td>The amount to be reversed (in minor)<\/td>True<\/td><\/tr>
transactionReference<\/td>String<\/td>The transaction reference of this transaction<\/td>True<\/td><\/tr>
originalTransactionReference<\/td>String<\/td>The transaction reference of the transaction to reverse<\/td>True<\/td><\/tr>
mac<\/td>String<\/td>The hash included in every request that is used to make sure the request is fromthe actual source it should be and has not been tampered with<\/td>True<\/td><\/tr>
transactionDateTime<\/td>LocalDateTime<\/td>This is the date and time the transaction occurred<\/td>False<\/td><\/tr>
terminalId<\/td>String<\/td>This is an identifier for the terminal the transaction came from<\/td>False<\/td><\/tr>
terminalType<\/td>String<\/td>A 2 digit string that defines the type of terminal.<\/td>False<\/td><\/tr>
merchantId<\/td>String<\/td>The merchant that accepted the card<\/td>False<\/td><\/tr>
acquiringInstitutionId<\/td>String<\/td>An id to identify the institution that acquired the transaction<\/td>False<\/td><\/tr>
currencyCode<\/td>String<\/td>A code that identifies the currency the transaction was done on<\/td>True<\/td><\/tr>
cardAcceptorNameLocation<\/td>String<\/td>The name and location of the card acceptor<\/td>True<\/td><\/tr>
rrn<\/td>String<\/td>This is the Retrieval Ref Number<\/td>True<\/td><\/tr>
stan<\/td>String<\/td>This is the System Trace Audit Number<\/td>True<\/td><\/tr>
transactionFee<\/td>Long<\/td>The transaction fee in minor<\/td>True<\/td><\/tr>
additionalFields<\/td>Map<\/td>Any other Iso field needed by a fintech<\/td>False<\/td><\/tr><\/tbody><\/table>\n\n\n\n
Request Mac<\/h5>\n\n\n\n

The request mac is generated by concatenating the following attributes in the order which they occur, generate a HMAC using the shared private key and get the hex string of the result. More details about the MAC in section 1.0<\/p>\n\n\n\n

transactionReference<\/em><\/p>\n\n\n\n

originalTransactionReference<\/em><\/p>\n\n\n\n

requestId<\/em><\/p>\n\n\n\n

walletId<\/em><\/p>\n\n\n\n

amount<\/em><\/p>\n\n\n\n

currencyCode<\/em><\/p>\n\n\n\n

stan<\/em><\/p>\n\n\n\n

rrn<\/em><\/p>\n\n\n\n

transactionFee<\/em><\/p>\n\n\n\n

Response atrributes<\/h4>\n\n\n\n
Attribute<\/th>Type<\/th>Description<\/th>Required<\/th><\/tr><\/thead>
requestId<\/td>String<\/td>The request id that came with the request.<\/td>True<\/td><\/tr>
responseCode<\/td>String<\/td>The code that signifies the status of the operation.<\/td>True<\/td><\/tr>
amount<\/td>Long<\/td>The amount that came with the request.<\/td>True<\/td><\/tr>
transactionReference<\/td>String<\/td>The reference that came with the request<\/td>True<\/td><\/tr>
originalTransactionReference<\/td>String<\/td>The original transaction reference that came with the request<\/td>True<\/td><\/tr>
mac<\/td>String<\/td>The hash included in every response that is used to make sure the request is fromthe actual source it should be and has not been tampered with<\/td>True<\/td><\/tr><\/tbody><\/table>\n\n\n\n
Response Mac<\/h5>\n\n\n\n

The response mac is generated by concatenating the following attributes in the order which they occur, generate a HMAC using the shared private key and get the hex string of the result. More details about the MAC in section 1.0<\/p>\n\n\n\n

transactionReference<\/em><\/p>\n\n\n\n

requestId<\/em><\/p>\n\n\n\n

responseCode<\/em><\/p>\n\n\n\n

Sample requests<\/h4>\n\n\n\n

The sample requests for the reversal only covers for 3 scenarios. It should be noted that the difference with a response from the other is just the response code. The response code table in section 4.0 can be used to know the response code that can be used for other scenarios that might not be covered in the sample requests.<\/p>\n\n\n\n

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

Request<\/strong><\/p>\n\n\n\n
{\"requestId\": \"1\",<\/code>
\"walletId\": \"1234567894\",<\/code>
\"amount\": 100,<\/code>
\"transactionReference\": \"11123456789\",<\/code>
\"originalTransactionReference\": \"11123456789\",<\/code>
\"mac\": \"hexdigest\",<\/code>
\"transactionDateTime\": \"2020-05-15T13:32:09\",<\/code>
\"terminalId\": \"3IWPDVNA\",<\/code>
\"terminalType\": \"21\",<\/code>
\"merchantId\": \"WEBPAYDIRECTVNA\",<\/code>
\"acquiringInstitutionId\": \"428051043\",<\/code>
\"currencyCode\": \"566\",<\/code>
\"cardAcceptorNameLocation\": \"MATRIX ENERGY LIMITE   LA           LANG\",<\/code>
\"rrn\"<\/code> : \"000111000111\",<\/code>
\"stan\"<\/code> : \"000018\",<\/code>
\"additionalFields={\"processingCode\":\"000000\",\"merchantType\":\"8850\"}}<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n

Response<\/strong><\/p>\n\n\n\n
{\"amount\": 100,<\/code>
\"responseCode\": \"00\",<\/code>
\"transactionReference\": \"11123456789\",<\/code>
\"originalTransactionReference\": \"11123456789\",<\/code>
\"requestId\": \"1\",<\/code>
\"mac\": \"hexdigest\"}<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n
Invalid mac<\/h5>\n\n\n\n

Request<\/strong><\/p>\n\n\n\n
{\"requestId\": \"1\",<\/code>
\"walletId\": \"1234567894\",<\/code>
\"amount\": 1000,<\/code>
\"transactionReference\": \"11123456789\",<\/code>
\"originalTransactionReference\": \"11123456789\",<\/code>
\"mac\": \"hexdigest\",<\/code>
\"transactionDateTime\": \"2020-05-15T13:32:09\",<\/code>
\"terminalId\": \"3IWPDVNA\",<\/code>
\"terminalType\": \"21\",<\/code>
\"merchantId\": \"WEBPAYDIRECTVNA\",<\/code>
\"acquiringInstitutionId\": \"428051043\",<\/code>
\"currencyCode\": \"566\",<\/code>
\"cardAcceptorNameLocation\": \"MATRIX ENERGY LIMITE   LA           LANG\",<\/code>
\"rrn\"<\/code> : \"000111000111\",<\/code>
\"stan\"<\/code> : \"000018\",<\/code>
\"additionalFields={\"processingCode\":\"000000\",\"merchantType\":\"8850\"}}<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n

Response<\/strong><\/p>\n\n\n\n
{\"amount\": 1000,<\/code>
\"responseCode\": \"12\",<\/code>
\"transactionReference\": \"11123456789\",<\/code>
\"originalTransactionReference\": \"11123456789\",<\/code>
\"requestId\": \"1\",<\/code>
\"mac\": \"hexdigest\"}<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n
Original transaction not found<\/h5>\n\n\n\n

Request<\/strong><\/p>\n\n\n\n
{\"requestId\": \"1\",<\/code>
\"walletId\": \"1234567894\",<\/code>
\"amount\": 1000,<\/code>
\"transactionReference\": \"11123456789\",<\/code>
\"originalTransactionReference\": \"11123456700\",<\/code>
\"mac\": \"hexdigest\",<\/code>
\"transactionDateTime\": \"2020-05-15T13:32:09\",<\/code>
\"terminalId\": \"3IWPDVNA\",<\/code>
\"terminalType\": \"21\",<\/code>
\"merchantId\": \"WEBPAYDIRECTVNA\",<\/code>
\"acquiringInstitutionId\": \"428051043\",<\/code>
\"currencyCode\": \"566\",<\/code>
\"cardAcceptorNameLocation\": \"MATRIX ENERGY LIMITE   LA           LANG\",<\/code>
\"rrn\"<\/code> : \"000111000111\",<\/code>
\"stan\"<\/code> : \"000018\",<\/code>
\"additionalFields={\"processingCode\":\"000000\",\"merchantType\":\"8850\"}}<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n

Response<\/strong><\/p>\n\n\n\n
{\"amount\": 1000,<\/code>
\"responseCode\": \"05\",<\/code>
\"transactionReference\": \"11123456789\",<\/code>
\"originalTransactionReference\": \"11123456700\",<\/code>
\"requestId\": \"1\",<\/code>
\"mac\": \"hexdigest\"}<\/code><\/td><\/tr><\/tbody><\/table>\n","protected":false},"author":4976,"featured_media":0,"parent":4399,"menu_order":1,"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\/4404"}],"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\/4976"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=4404"}],"version-history":[{"count":2,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4404\/revisions"}],"predecessor-version":[{"id":4423,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4404\/revisions\/4423"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4399"}],"next":[{"title":"Enquiry","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/fintech-card-processing-spec-document-v2\/api-specification\/enquiry\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4405"}],"prev":[{"title":"Debit","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/fintech-card-processing-spec-document-v2\/api-specification\/debit\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4403"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=4404"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=4404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}