Using SEK currency for making payment

ips1
Contributor
Contributor

Hi There, I am using vault to store credit card detail and used vault id to make payment. To store vault I am refering this article and for making payment using https://api.sandbox.paypal.com/v1/payments/payment API with below body,

{
  "intent": "sale",
  "payer": {
    "payment_method": "credit_card",
    "funding_instruments": [
      {
        "credit_card_token": {
          "credit_card_id": "CARD-4HA88457VB123810AAAAAAAA"
        }
      }
    ]
  },
  "transactions": [
    {
      "amount": {
        "total": "50",
        "currency": "SEK"
      },
      "description": "Payment by vaulted credit card."
    }
  ]
}

It gives sucessfull response if I use USD as currency but with SEK it gives CURRENCY_NOT_ALLOWED.

Can you please suggest?

 

Thanks

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.