# Invalid currency error while creating payment

**URL:** https://community.rapyd.net/t/invalid-currency-error-while-creating-payment/59748
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions
**Tags:** collect-api
**Created:** [April 10, 2025, 11:47am UTC](https://community.rapyd.net/t/invalid-currency-error-while-creating-payment/59748 "2025-04-10T11:47:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dharmesh0415](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@Dharmesh0415](https://community.rapyd.net/u/Dharmesh0415)
#### Post date: [April 10, 2025, 11:47am UTC](https://community.rapyd.net/t/invalid-currency-error-while-creating-payment/59748/1 "2025-04-10T11:47:16Z")

</div>

I am trying to implement a create payment api and want to test it out but here I’m facing some issue while calling the create payment api.

URL : [https://sandboxapi.rapyd.net/v1/payments](https://sandboxapi.rapyd.net/v1/payments)  
Headers & Payload : [https://paste.ofcode.org/SYBuiLXeC6dJfuMqmSRw27](https://paste.ofcode.org/SYBuiLXeC6dJfuMqmSRw27)

Response :

“status”: {  
“error\_code”: “INVALID\_CURRENCY”,  
“status”: “ERROR”,  
“message”: “The request attempted an operation that requires a currency, but the value was missing or not recognized. The request was rejected. Corrective action: Use the correct 3-letter ISO 4217 code for the currency in uppercase letters.”,  
“response\_code”: “INVALID\_CURRENCY”,  
“operation\_id”: “618ae138-3fd2-4e83-8d6b-c4242b4fae22”  
}

Can anyone please let me know what is wrong with this?

---

<div class="post-metadata">

### Author: ![McKay\_Duffin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/mckay_duffin/32/1544_2.png) [@McKay\_Duffin](https://community.rapyd.net/u/McKay_Duffin)
#### Post date: [April 11, 2025, 5:17pm UTC](https://community.rapyd.net/t/invalid-currency-error-while-creating-payment/59748/2 "2025-04-11T17:17:39Z")

</div>

Hi Dharmesh 0415,

One way to test whether you are using a supported currency for the payment method type you selected is to run the List Payment Method by Country API call. It is documented here: [List Payment Methods by Country](https://docs.rapyd.net/en/list-payment-methods-by-country.html)

The response will give you a list of payment methods for that country, and a list of supported currencies for each payment method. It is possible you were using an unsupported currency for the payment.
