# Error\_card\_not\_authenticated

**URL:** <https://community.rapyd.net/t/error-card-not-authenticated/59241>\
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions\
**Tags:** question\
**Created:** [March 22, 2024, 10:30am UTC](https://community.rapyd.net/t/error-card-not-authenticated/59241 "2024-03-22T10:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khurram1](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/khurram1/32/22593_2.png) [@Khurram1](https://community.rapyd.net/u/Khurram1)\
**Post date:** [March 22, 2024, 10:30am UTC](https://community.rapyd.net/t/error-card-not-authenticated/59241/1 "2024-03-22T10:30:54Z")

</div>

I have added a card under customer from this api

[https://sandboxapi.rapyd.net/v1/customers/customer\_id/payment\_methods](https://sandboxapi.rapyd.net/v1/customers/customer_id/payment_methods)

{  
“type”: “us\_atmdebit\_card”,  
“fields”: {  
“number”: “4242424242424242”,  
“expiration\_month”: “10”,  
“expiration\_year”: “25”,  
“cvv”: “123”,  
“name”: “John Doe”  
},  
“metadata”: {  
“merchant\_defined”: true  
}  
}

and make this card as default.

but when i am making payment using this api:

[https://sandboxapi.rapyd.net/v1/payments](https://sandboxapi.rapyd.net/v1/payments)  
{  
“amount”: 30,  
“currency”: “USD”,  
“customer”: customer\_id,  
“capture”: true  
}

it gives me ERROR\_CARD\_NOT\_AUTHENTICATED error.

---

<div class="post-metadata">

**Author:** ![Legato](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/legato/32/41_2.png) [@Legato](https://community.rapyd.net/u/Legato)\
**Post date:** [March 26, 2024, 2:47pm UTC](https://community.rapyd.net/t/error-card-not-authenticated/59241/2 "2024-03-26T14:47:06Z")

</div>

Hi Khurram1,  
Welcome to the Rapyd developer community!  
Please see this documentation page on [card numbers for testing](https://docs.rapyd.net/en/card-numbers-for-testing.html).

Thanks
