Get Card Order Status

This endpoint is to help our clients get the status updates on their physical card(s). The get card order status endpoint can view multiple cards at a time.

To trigger this endpoint via API, you would need to use this endpoint:

{{domain}}/api/v1/card_issuing/accounts/:account_id/card_order_status

For the :account_id in the URL, enter an existing account ID with a card order status. Here is a sample response when all of the details in the database tables are correctly implemented:

{
    "data": [
        {
            "activation_date": "2021-05-29T20:45:34Z",
            "order_shipping_method": "UPS",
            "order_status": "Success",
            "order_tracking_number": "123456789",
            "registration_date": "2021-05-28T20:30:41Z",
            "shipping_date": "December 24, 1988"
        },
        {
            "activation_date": "2021-05-29T20:45:34Z",
            "order_shipping_method": "UPS",
            "order_status": "Success",
            "order_tracking_number": "12345675",
            "registration_date": "2021-05-28T20:30:41Z",
            "shipping_date": "December 24, 1981"
        }
    ]
}

Here is a sample of one where the registration/activation date may not be added into the database yet:

{
    "data": [
        {
            "activation_date": "2021-05-29T20:45:34Z",
            "order_shipping_method": "UPS",
            "order_status": "Success",
            "order_tracking_number": "123456789",
            "registration_date": "2021-05-28T20:30:41Z",
            "shipping_date": "December 24, 1988"
        },
        {
            "activation_date": null,
            "order_shipping_method": "UPS",
            "order_status": "Success",
            "order_tracking_number": "12345675",
            "registration_date": null,
            "shipping_date": "December 24, 1981"
        }
    ]
}

Here is the expected response when a cardholder does not have a card order status:

{
    "data": null
}