Error with Card Issuing in Sandbox

Hello
All the card_programs in my dashboard result to below error.
{
ā€œstatusā€: {
ā€œerror_codeā€: ā€œERROR_ISSUE_CARD_PROGRAM_UNAVAILABLEā€,
ā€œstatusā€: ā€œERRORā€,
ā€œmessageā€: ā€œThe request tried to issue a card, but the card program is not available. The request was rejected. Corrective action: For ā€˜card_programā€™, use the ID of a valid card program.ā€,
ā€œresponse_codeā€: ā€œERROR_ISSUE_CARD_PROGRAM_UNAVAILABLEā€,
ā€œoperation_idā€: ā€œ23c79532-114b-4a2b-a049-fceedefe87d6ā€
}
}
The one youā€™ve provided results to below error
{
ā€œstatusā€: {
ā€œerror_codeā€: ā€œERROR_GET_CARD_PROGRAMā€,
ā€œstatusā€: ā€œERRORā€,
ā€œmessageā€: ā€œā€,
ā€œresponse_codeā€: ā€œERROR_GET_CARD_PROGRAMā€,
ā€œoperation_idā€: ā€œ6467942c-b7cf-4fab-b944-aede71034696ā€
}
}
Please assist with valid card_program. Thanks.

Thanks, I cannot seem to replicate your error, have you followed the steps above? Did you hover over the card program to make sure you copied the full card program ID?

Here is another response I received when sending the Issue Card request.

Issue Card with Card Program

Endpoint
post https://sandboxapi.rapyd.net/v1/issuing/cards

Request

{
    "ewallet_contact": "cont_12f04d78f82ab76564c538563d4d2b69",
    "card_program": "Cardprog_e3d0530f4b42f8176f4d4bc34c43454e"
}

Response

{
    "status": {
        "error_code": "",
        "status": "SUCCESS",
        "message": "",
        "response_code": "",
        "operation_id": "d0100c5d-c4ba-406e-8a5f-31c1ebce5481"
    },
    "data": {
        "id": "ci_a2695a6ed4ca4f957c37634db3b1a348",
        "ewallet_contact": {
            "id": "cont_12f04d78f82ab76564c538563d4d2b69",
            "first_name": "Samson",
            "last_name": "Smith",
            "middle_name": "",
            "second_last_name": "",
            "gender": "not_applicable",
            "marital_status": "not_applicable",
            "house_type": "",
            "contact_type": "personal",
            "phone_number": "+14155551311",
            "email": "samson@rapyd.net",
            "identification_type": "PA",
            "identification_number": "1234567890",
            "issued_card_data": {
                "preferred_name": "",
                "transaction_permissions": "",
                "role_in_company": ""
            },
            "date_of_birth": "2000-11-22",
            "country": "US",
            "nationality": "US",
            "address": {
                "id": "address_44663a931ce056f7cfbf7ce8be382924",
                "name": "Samson Smith",
                "line_1": "123 Main Street",
                "line_2": "",
                "line_3": "",
                "city": "Anytown",
                "state": "NY",
                "country": "US",
                "zip": "12345",
                "phone_number": "+14155551111",
                "metadata": {},
                "canton": "",
                "district": "",
                "created_at": 1655855148
            },
            "ewallet": "ewallet_b58298eebc06e3c519c39c9d14781e97",
            "created_at": 1655855148,
            "metadata": {},
            "business_details": null,
            "compliance_profile": 0,
            "verification_status": "not verified",
            "send_notifications": false,
            "mothers_name": "Jane Smith"
        },
        "status": "INA",
        "card_id": "card_2debd08abb1c50db0907b91888a01773",
        "assigned_at": 1694194380,
        "activated_at": 0,
        "metadata": {},
        "country_iso_alpha_2": "MX",
        "created_at": 1694194381,
        "blocked_reason": "none",
        "card_tracking_id": null,
        "card_program": "cardprog_e3d0530f4b42f8176f4d4bc34c43454e",
        "public_details": {
            "bin": "540308",
            "last4": "9163",
            "sub_bin": "85",
            "expiration": "0926"
        },
        "card_number": "5403082854279163",
        "cvv": "323",
        "expiration_month": "09",
        "expiration_year": "26",
        "bin": "540308",
        "sub_bin": "85"
    }
}

Hello,
Thanks for your response.
Yes I have copied the full card program ID
Please see below request and response on

  1. Using one of the card_program ID In my dashboard
    Request
    {
    ā€œewallet_contactā€: ā€œcont_9c4ea3cf861e8d65e83cd71faec1afafā€,
    ā€œcard_programā€: ā€œCardprog_57c78d9f18a7199215509cd097041c19ā€
    }
    Response
    {
    ā€œstatusā€: {
    ā€œerror_codeā€: ā€œERROR_ISSUE_CARD_PROGRAM_UNAVAILABLEā€,
    ā€œstatusā€: ā€œERRORā€,
    ā€œmessageā€: ā€œThe request tried to issue a card, but the card program is not available. The request was rejected. Corrective action: For ā€˜card_programā€™, use the ID of a valid card program.ā€,
    ā€œresponse_codeā€: ā€œERROR_ISSUE_CARD_PROGRAM_UNAVAILABLEā€,
    ā€œoperation_idā€: ā€œ3199e4dd-7400-4da4-9e0d-b6ac4a0eab5dā€
    }
    }
  2. The one youā€™ve provided.
    Request
    {
    ā€œewallet_contactā€: ā€œcont_9c4ea3cf861e8d65e83cd71faec1afafā€,
    ā€œcard_programā€: ā€œCardprog_e3d0530f4b42f8176f4d4bc34c43454eā€
    }
    Response
    {
    ā€œstatusā€: {
    ā€œerror_codeā€: ā€œERROR_GET_CARD_PROGRAMā€,
    ā€œstatusā€: ā€œERRORā€,
    ā€œmessageā€: ā€œā€,
    ā€œresponse_codeā€: ā€œERROR_GET_CARD_PROGRAMā€,
    ā€œoperation_idā€: ā€œ6a9bbd36-cb88-448c-87f3-d396d94ac679ā€
    }
    }

Thanks.

The one I provided will not work for you since it would be under my own sandbox account. Lastly, just confirming this is in your sandbox account?

Hello, yes this is in my sandbox account.

Got it.

Iā€™m not sure why it is giving you an error, I donā€™t seem to have an issue on my account. I also tried multiple test accounts and I could issue another card with their existing card program.

Maybe try activating an existing card in Client Portal? (Screenshot below)

Can you take a screenshot also of your issuing page and card program in sandbox?

Please find attached.

Thanks @Frank_Arisah,

As far as cards issued you may find one if you select custom and select the date range to be from when you started your account to today.

Also, what country is your account registered in? If you want to play around with card issuing in Sandbox I would try and sign up in the US, UK, MX, BR, or SG. Issuing is an enterprise feature so some countries would be limited, as they would never be able to go live.

If you have any further questions about your account specifically, you can open up a support ticket within client portal.

As always weā€™d be happy to answer any other questions on the Rapyd API here in community.

2 Likes