( ! ) 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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.64229289328rest_get_server( )...\rest-api.php:403
110.64229292264do_action( )...\rest-api.php:577
120.64229292640WP_Hook->do_action( )...\plugin.php:517
130.64229292640WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.64319331840Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.64339405368Jetpack::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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.703811079824WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.703811080152header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.705111079768WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.705111080088header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.706311079960WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.706311080328header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.707211079848WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.707211080168header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.708311079912WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.708311080280header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.709111079960WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.709111080328header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.883611421888WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.883611421888WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.883611422400header ( )...\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.64169261568wp( )...\wp-blog-header.php:16
40.64169261592WP->main( )...\functions.php:1334
50.64169261592WP->parse_request( )...\class-wp.php:780
60.64219288280do_action_ref_array( )...\class-wp.php:399
70.64219288280WP_Hook->do_action( )...\plugin.php:565
80.64229288280WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.64229289296rest_api_loaded( )...\class-wp-hook.php:308
100.703711080168WP_REST_Server->serve_request( )...\rest-api.php:410
110.883611421888WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.884811421888WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.884911422208header ( )...\class-wp-rest-server.php:1762
{"id":4075,"date":"2021-09-14T10:34:03","date_gmt":"2021-09-14T10:34:03","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/card-management\/"},"modified":"2022-06-02T14:28:06","modified_gmt":"2022-06-02T14:28:06","slug":"card-management","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/card-management\/","title":{"rendered":"Virtual Card Management"},"content":{"rendered":"\n


Create Virtual Prepaid Card Endpoint<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/create<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Request Message description<\/h4>\n\n\n\n
Field#<\/th>Field name<\/th>Data type<\/th>Max length<\/th>Required<\/th>Description<\/th><\/tr><\/thead>
2<\/td>pin<\/td>Numeric<\/td>4<\/td>Yes<\/td>This is a default pin configured on the client end for card creation.<\/td><\/tr>
3<\/td>firstName<\/td>String<\/td>100<\/td>No<\/td>
<\/td><\/tr>
4<\/td>lastName<\/td>String<\/td>100<\/td>No<\/td>
<\/td><\/tr>
5<\/td>nameOnCard<\/td>String<\/td>100<\/td>No<\/td>
<\/td><\/tr>
6<\/td>mobileNr<\/td>String<\/td>25<\/td>Yes<\/td>
<\/td><\/tr>
7<\/td>emailAddress<\/td>String<\/td>50<\/td>Yes<\/td>
<\/td><\/tr>
8<\/td>streetAddress<\/td>String<\/td>255<\/td>No<\/td>
<\/td><\/tr>
9<\/td>streetAddressLine2<\/td>String<\/td>255<\/td>No<\/td>
<\/td><\/tr>
10<\/td>city<\/td>String<\/td>255<\/td>Yes<\/td>
<\/td><\/tr>
11<\/td>state<\/td>String<\/td>50<\/td>No<\/td>
<\/td><\/tr>
12<\/td>postalCode<\/td>String<\/td>50<\/td>No<\/td>
<\/td><\/tr>
13<\/td>countryCode<\/td>String<\/td>3<\/td>Yes<\/td>
<\/td><\/tr>
14<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Plain Sample Request<\/strong><\/h4>\n\n\n\n

{
      “pin”:”1234″,
      “firstName”:”Edson”,
      “lastName”:”Rock”,
      “nameOnCard”:”Adewoye Adeyelr”,
      “mobileNr”:”2348055186175″,
      “emailAddress”:”adewoyeadeyel@eexptest.com<\/a>“,
      “streetAddress”:”12 vvv Road”,
      “streetAddressLine2″:”Off Adden Boulevard”,
      “city”:”Lagos”,
      “state”:”Lagos”,
      “postalCode”:”23401″,
      “countryCode”:”NGN”,
     “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

Encrypted Sample Request<\/strong><\/h4>\n\n\n\n

{
   “data”:”T4DZPBE42uzXl61X+3D47lTyB1uXkvgTY\/Q2ATx5\/A2Qm\/8fAlkbJbMtmpGciOCIOimf44BRnntAsX7mn5UwFd6yE+fnVQvWLti+MYKud6ywK5fckw8b0ZrzR5+nvNLEaTA9jFptCBq0nNN1tCk7QzcgajBbad1\/pbC8QUf7oYZ1rVqQ\/Kghyi0aC5tIyL2h3ul\/jiPyjEmb18I0xTSz3w==”
}<\/p>\n\n\n\n

Response Message description<\/h4>\n\n\n\n
Field#<\/th>Field name<\/th>Data type<\/th>Max length<\/th>Required<\/th>Description<\/th><\/tr>
1<\/td>responseCode<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
2<\/td>responseMessage<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
3<\/td>pan<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
4<\/td>cvv<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
5<\/td>cvv2<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
6<\/td>pinInfo<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
7<\/td>pinOffset<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
8<\/td>track2<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
9<\/td>seqNr<\/td>numeric<\/td>
<\/td>

<\/td>

<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

{
      “responseCode”:”00″,
      “responseMessage”:”Successful”,
      “data”:{\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b
            “pan”:”5063210000000005255″,
            “seqNr”:”001″,
            “defaultAccountType”:”20″,
            “expiryDate”:”2407″,
            “pinOffset”:”7928″,
            “cvv”:”829″,
            “cvv2″:”801”,
            “pinInfo”:”AC47A9D62D435C76″,
            “track2″:”5063210000000005255=2407101007928829”,
            “customerId”:”PC5063215255-001″
       }\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b<\/p>\n\n\n\n

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

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

{
      “responseCode”: “W104”,
      “responseMessage”: “A card already exists for this customer on this domain”,
      “errors”: []
}<\/p>\n\n\n\n

Create Virtual Debit Card Endpoint<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/create\/debit<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Request Message 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>accountType<\/td>Numeric<\/td>2<\/td>Yes<\/td>Two digit representation of the Account Type.20<\/strong> – Current Account<\/strong>10<\/strong> – Savings Account<\/strong><\/td><\/tr>
2<\/td>accountId<\/td>Numeric<\/td>10<\/td>Yes<\/td>
<\/td><\/tr>
3<\/td>pin<\/td>Numeric<\/td>4<\/td>Yes<\/td>This is a default pin configured on the client end for card creation.<\/td><\/tr>
4<\/td>firstName<\/td>String<\/td>100<\/td>No<\/td>
<\/td><\/tr>
5<\/td>lastName<\/td>String<\/td>100<\/td>No<\/td>
<\/td><\/tr>
6<\/td>nameOnCard<\/td>String<\/td>100<\/td>No<\/td>
<\/td><\/tr>
7<\/td>mobileNr<\/td>String<\/td>25<\/td>Yes<\/td>
<\/td><\/tr>
8<\/td>emailAddress<\/td>String<\/td>50<\/td>Yes<\/td>
<\/td><\/tr>
9<\/td>streetAddress<\/td>String<\/td>255<\/td>No<\/td>
<\/td><\/tr>
10<\/td>streetAddressLine2<\/td>String<\/td>255<\/td>No<\/td>
<\/td><\/tr>
11<\/td>city<\/td>String<\/td>255<\/td>Yes<\/td>
<\/td><\/tr>
12<\/td>state<\/td>String<\/td>50<\/td>No<\/td>
<\/td><\/tr>
13<\/td>postalCode<\/td>String<\/td>50<\/td>No<\/td>
<\/td><\/tr>
14<\/td>countryCode<\/td>String<\/td>3<\/td>Yes<\/td>
<\/td><\/tr>
15<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Plain Sample Request<\/strong><\/h4>\n\n\n\n

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

      “accountType”:”20″,<\/p>\n\n\n\n

      “accountId”:”1234567890″,
      “pin”:”1234″,
      “firstName”:”Edson”,
      “lastName”:”Rock”,
      “nameOnCard”:”Adewoye Adeyelr”,
      “mobileNr”:”2348055186175″,
      “emailAddress”:”adewoyeadeyel@eexptest.com<\/a>“,
      “streetAddress”:”12 vvv Road”,
      “streetAddressLine2″:”Off Adden Boulevard”,
      “city”:”Lagos”,
      “state”:”Lagos”,
      “postalCode”:”23401″,
      “countryCode”:”NGN”,
      “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

Encrypted Sample Request<\/strong><\/h4>\n\n\n\n

{
   “data”:”T4DZPBE42uzXl61X+3D47lTyB1uXkvgTY\/Q2ATx5\/A2Qm\/8fAlkbJbMtmpGciOCIOimf44BRnntAsX7mn5UwFd6yE+fnVQvWLti+MYKud6ywK5fckw8b0ZrzR5+nvNLEaTA9jFptCBq0nNN1tCk7QzcgajBbad1\/pbC8QUf7oYZ1rVqQ\/Kghyi0aC5tIyL2h3ul\/jiPyjEmb18I0xTSz3w==”
}<\/p>\n\n\n\n

Response Message description<\/h4>\n\n\n\n
Field#<\/th>Field name<\/th>Data type<\/th>Max length<\/th>Required<\/th>Description<\/th><\/tr>
1<\/td>responseCode<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
2<\/td>responseMessage<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
3<\/td>pan<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
4<\/td>cvv<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
5<\/td>cvv2<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
6<\/td>pinInfo<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
7<\/td>pinOffset<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
8<\/td>track2<\/td>String<\/td>
<\/td>

<\/td>

<\/td><\/tr>
9<\/td>seqNr<\/td>numeric<\/td>
<\/td>

<\/td>

<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

{
      “responseCode”:”00″,
      “responseMessage”:”Successful”,
      “data”:{\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b
            “pan”:”5063210000000005255″,
            “seqNr”:”001″,
            “defaultAccountType”:”20″,
            “expiryDate”:”2407″,
            “pinOffset”:”7928″,
            “cvv”:”829″,
            “cvv2″:”801”,
            “pinInfo”:”AC47A9D62D435C76″,
            “track2″:”5063210000000005255=2407101007928829”,
            “customerId”:”PC5063215255-001″
       }\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b<\/p>\n\n\n\n

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

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

{
      “responseCode”: “W104”,
      “responseMessage”: “A card already exists for this customer on this domain”,
      “errors”: []
}<\/p>\n\n\n\n

Block Virtual Card Endpoint<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/block<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Request Message 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>mobileNumber<\/td>String<\/td>25<\/td>Yes<\/td>
<\/td><\/tr>
2<\/td>pin<\/td>Numeric<\/td>4<\/td>Yes<\/td>
<\/td><\/tr>
3<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Plain Sample Request<\/strong><\/p>\n\n\n\n

{
       “pin”:”1234″,
       “mobileNumber”:”2348055186175″,
       “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

Encrypted Sample Request<\/strong><\/h4>\n\n\n\n

{
   “data”:”T4DZPBE42uzXl61X+3D47lTyB1uXkvgTY\/Q2ATx5\/A2Qm\/8fAlkbJbMtmpGciO”
}<\/p>\n\n\n\n

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

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,
      “data”: {
            “maskedPan”: “506321*********5396”
      }
}<\/p>\n\n\n\n

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

{
      “responseCode”: “W102”,
      “responseMessage”: “Failed to complete request”,
      “errors”: [
            {
                  “fieldName”: null<\/strong>,
                  “code”: “E39”,
                  “message”: “No Card acceptor ID has been defined for this client.”
             }
       ]
}<\/p>\n\n\n\n

Unblock Virtual Card Endpoint<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/unblock<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Request Message 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>mobileNumber<\/td>String<\/td>25<\/td>Yes<\/td>
<\/td><\/tr>
2<\/td>pin<\/td>Numeric<\/td>4<\/td>Yes<\/td>
<\/td><\/tr>
3<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Plain Sample Request<\/strong><\/p>\n\n\n\n

{
       “pin”:”1234″,
       “mobileNumber”:”2348055186175″,
        “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

Encrypted Sample Request<\/strong><\/h4>\n\n\n\n

{
   “data”:”T4DZPBE42uzXl61X+3D47lTyB1uXkvgTY\/Q2ATx5\/A2Qm\/8fAlkbJbMtmpGciOCIO”
}<\/p>\n\n\n\n

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

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,
      “data”: {
            “maskedPan”: “506321*********5396”
      }
}<\/p>\n\n\n\n

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

{
      “responseCode”: “W102”,
      “responseMessage”: “Failed to complete request”,
      “errors”: [
            {
                  “fieldName”: null<\/strong>,
                  “code”: “E39”,
                  “message”: “No Card acceptor ID has been defined for this client.”
             }
       ]
}<\/p>\n\n\n\n

Change Card Pin Endpoint – This endpoint must be called after successful card creation to activate the card.<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/change-pin<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Authorization: {passport generated bearer token}<\/h4>\n\n\n\n

Request Message 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>mobileNumber<\/td>String<\/td>25<\/td>Yes<\/td>
<\/td><\/tr>
2<\/td>oldPin<\/td>Numeric<\/td>4<\/td>Yes<\/td>This is a default pin configured on the client end that was used to create the card. After the successful activation, subsequent call to this endpoint, the user old pin will then be passed.<\/td><\/tr>
3<\/td>newPin<\/td>Numeric<\/td>4<\/td>Yes<\/td>This is the user’s preferred pin. <\/td><\/tr>
4<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Plain Sample Request<\/strong><\/p>\n\n\n\n

{
      “newPin”:”1234″,
      “oldPin”:”1234″,
      “mobileNumber”:”2348055186175″,
      “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

Encrypted Sample Request<\/strong><\/h4>\n\n\n\n

{
   “data”:”T4DZPBE42uzXl61X+3D47lTyB1uXkvgTY\/Q2ATx5\/A2Qm\/8fAlkbJbzcgajBbad1\/pbC8QUf7oYZ1rVqQ\/Kghyi0aC5tIyL2h3ul\/jiPyjEmb18I0xTSz3w==”
}<\/p>\n\n\n\n

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

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,
      “data”: {
            “maskedPan”: “506321*********5396”
      }
}<\/p>\n\n\n\n

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

{
      “responseCode”: “W102”,
      “responseMessage”: “Failed to complete request”,
      “errors”: [
            {
                  “fieldName”: null<\/strong>,
                  “code”: “E39”,
                  “message”: “No Card acceptor ID has been defined for this client.”
             }
       ]
}<\/p>\n\n\n\n

Get Card balance  Endpoint<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/card-balance<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Request Message 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>mobileNumber<\/td>String<\/td>25<\/td>Yes<\/td>
<\/td><\/tr>
2<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

{
    “mobileNumber” : “2348065186175”,
     “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

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

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,<\/p>\n\n\n\n

      “data”:{<\/p>\n\n\n\n

            “ledgerBalance”:”00″,<\/p>\n\n\n\n

            “availableBalance”:”0.00″,<\/p>\n\n\n\n

            “cashLimit”:”0.00″,<\/p>\n\n\n\n

            “cashNrTransLimit”:”0.00″,<\/p>\n\n\n\n

            “paymentLimit”:”0.00″,<\/p>\n\n\n\n

            “paymentNrTransLimit”:”0.00″,<\/p>\n\n\n\n

            “depositCreditLimit”:”0.00″<\/p>\n\n\n\n

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

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

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

{
    “responseCode”: “W102”,
    “responseMessage”: “Failed to complete request”,
    “errors”: [
        {
            “fieldName”: null,
            “code”: “10400”,
            “message”: “Bad request Error 1: pan-> not a valid card number”
        }
    ]
}<\/p>\n\n\n\n

Get Account Statement Endpoint<\/strong><\/h4>\n\n\n\n
POST {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/account-statement<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Request Message 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>fromDate<\/td>String<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
2<\/td>toDate<\/td>String<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
3<\/td>transCount<\/td>Integer<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
4<\/td>reference<\/td>Integer<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
5<\/td>forward<\/td>Integer<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
6<\/td>ordering<\/td>Integer<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
7<\/td>mobileNumber<\/td>String<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
8<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

{
    “fromDate” : “03\/05\/2018”,
    “toDate” : “03\/05\/2018”,
    “transCount” : 10,
    “reference” : 1,
    “forward” : 1,
    “ordering” : 1,
    “mobileNumber” : “2348065186175”,
     “cardIdentifier” : “my-card”
}<\/p>\n\n\n\n

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

{
  “responseCode”: “00”,
  “responseMessage”: “Successful”,
  “data”: {
    “statementRecords”: [
      {
        “tranType”: “50”,
        “tranAmount”: “-23250”,
        “tranLocalDatetime”: “1406497152000”,
        “tranPostedDatetime”: “1406497152230”,
        “cardAcceptorNameLocation”: “QTBPWCGMO\/ayo\/999923430 LANG”
      },
      {
        “tranType”: “50”,
        “tranAmount”: “-20000”,
        “tranLocalDatetime”: “1406497152005”,
        “tranPostedDatetime”: “1406497152210”,
        “cardAcceptorNameLocation”: “QTBPWCGMO\/ayo\/999923430 LANG”
      }
    ]
  }
}<\/p>\n\n\n\n

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

{
    “responseCode”: “W102”,
    “responseMessage”: “Failed to complete request”,
    “errors”: [
        {
            “fieldName”: null,
            “code”: “10400”,
            “message”: “Bad request Error 1: pan-> not a valid card number”
        }
    ]
}<\/p>\n\n\n\n

Get Customer Details Endpoint<\/strong><\/h4>\n\n\n\n
GET {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/customer-details<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Header Message 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>mobileNumber<\/td>String<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Sample Response<\/strong><\/p>\n\n\n\n

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,
      “data”: {
            “customer”:{<\/p>\n\n\n\n

                “id”: 1,
                 “createdAt”: “2021-07-22 13:59:19”,
                 “updatedAt”: null<\/strong>,
                 “firstName”:”John”,
                 “lastName”:”Doe”,
                 “nameOnCard”:”John Doe”,
                 “mobileNumber”:”234807564996655″,
                 “gender”:”Male”,
                 “email”:”john.doe@interswitchgroup.com”,
                 “streetAddress”:”7 Ako Awo Street”,
                 “streetAddressLine2″:”7 Ako Awo Street”<\/p>\n\n\n\n

            },<\/p>\n\n\n\n

            “domain”:{<\/p>\n\n\n\n

                 “id”: 1,
                 “createdAt”: “2021-07-22 13:59:19”,
                 “updatedAt”: null<\/strong>,
                 “domainCode”:”FBN”,
                 “clientId”:”virtual-card”,
                 “domainName”:”First bank”,
                 “issuerNr”:”2″,
                 “currencyCode”:”NGN”,
                 “cardProgram”:”UAT wallet”,
                 “channel”:”quicktellermobile”,
                 “merchantId”:”QTMOBILE1IZTTIS”,
                 “enabled”:true<\/p>\n\n\n\n

            },<\/p>\n\n\n\n

           “cardDetails”: [
                   {
                         “cardIdentifier”: “default”,
                        “maskedPan”: “506321*********0545”,
                         “status”: “unblocked”
                  },
                 {
                        “cardIdentifier”: “my-card”,
                       “maskedPan”: “506321*********1733”,
                         “status”: “unblocked”
                  }
              ]<\/p>\n\n\n\n


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

Get Card Details Endpoint<\/strong><\/h4>\n\n\n\n
GET {scheme}:\/\/{host}:{port}\/virtual-card\/api\/v1\/cards\/card-details<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Request Type is application\/json<\/p>\n\n\n\n

Authorization: {passport generated bearer token}<\/p>\n\n\n\n

Header Message 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>mobileNumber<\/td>String<\/td>
<\/td>
Yes<\/td>
<\/td><\/tr>
2<\/td>cardIdentifier<\/td>String<\/td>100<\/td>Yes<\/td>This is a name to identify each card attached to the same account<\/td><\/tr><\/tbody><\/table>\n\n\n\n

Sample Response<\/strong><\/p>\n\n\n\n

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,
      “data”: {
            “safeTokenStatus”: “SUCCESSFUL”,<\/p>\n\n\n\n

            “payPhoneStatus”: “SUCCESSFUL”,<\/p>\n\n\n\n

            “maskedPan”: “506321*********5396”,<\/p>\n\n\n\n

            “currencyCode”: “NGN”,<\/p>\n\n\n\n

            “seqNr”: “001”,<\/p>\n\n\n\n

            “pan”: “5063210987654345396”,<\/p>\n\n\n\n

            “cvv”: “333”,<\/p>\n\n\n\n

            “cvv2”: “233”,<\/p>\n\n\n\n

            “expiry”: “2501”,     <\/p>\n\n\n\n

            “status”: “unblocked”<\/p>\n\n\n\n

      }
}<\/p>\n","protected":false},"author":4618,"featured_media":0,"parent":4074,"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\/4075"}],"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\/4618"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=4075"}],"version-history":[{"count":10,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4075\/revisions"}],"predecessor-version":[{"id":4290,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4075\/revisions\/4290"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4074"}],"next":[{"title":"Enrollment","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/enrollment\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4100"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=4075"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=4075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}