Cards/ListCards error

There appears to be an issue with the cards/listcards documentation.

Also, the nodejs has followed the API documentation, therefore is also broken due to this error.

API explorer returns the following:

{
  "cards": [
    {
      "id": "ccof:xxxx",
      "card_brand": "VISA",
      "last_4": "1111",
      "exp_month": 11,
     ...

The API docs say it should be:

{
  "cards": [
    {
      "card": {
        "id": "ccof:uIbfJXhXETSP197M3GB",
        "billing_address": {
          "address_line_1": "500 Electric Ave",
          "address_line_2": "Suite 600",
          "locality": "New York",
    ....

Can you please rectify ASAP?

I’ve logged a bug against node js.

:wave: Sorry about the delay. Thanks for bringing this to our attention. The team is looking into this.

1 Like