Paypal not accept INR currency when i do credit-card payment https://api.sandbox.paypal.com/v1/payments/payment (POST Method)
I'm trying to pay with INR currency, which is supported by PayPal, but get the Currency is not supported error
Note: Using Indian Paypal account and primary currency is INR
**Request:**
{
"intent": "sale",
"payer": {
"payment_method": "credit_card",
"funding_instruments": [
{
"credit_card_token": {
"credit_card_id": "CARD-7MR51074AF730652RL4J724Y",
"expire_month": 0,
"expire_year": 0
}
}
]
},
"transactions": [
{
"amount": {
"currency": "INR",
"total": "11.61"
},
"description": "Monthly Subscription"
}
]
}
**Response:**
{
"name": "CURRENCY_NOT_ALLOWED",
"message": "Currency is not supported.",
"information_link": "https://developer.paypal.com/docs/api/payments/#errors",
"debug_id": "809873b4c9820"
}
I'm trying in spring boot, paypal dependency.
<dependency>
<groupId>com.paypal.sdk</groupId>
<artifactId>rest-api-sdk</artifactId>
<version>LATEST</version>
</dependency>
thanks for advance.