cancel
Showing results for 
Search instead for 
Did you mean: 

REST Payments get error 401 UNAUTHORIZED

Moderator

REST Payments get error 401 UNAUTHORIZED

The most common cause for this error is the payment method passed in your REST API request.

 

"payment_method": "credit_card" VS "payment_method": "paypal"

The payment method can be "paypal" for payments with PayPal accounts and cards (where the buyer has to fill-in his card details on PayPal checkout page and not on your website).Or it can be "credit_card" for direct card payments where the buyer can provide his card details directly on your website (not on PayPal checkout page).

 

The "credit_card" value is reserved ONLY for PRO accounts in UK, US and Canada. In case you receive this error and is due to this then you have 2 options:

 

  1. Pass "paypal" instead of "credit_card" and you can still process card payments where available, all the card details will be collected on a PayPal page
  2. Evaluate, eventually, to upgrade to PRO if your country is Uk, Us or Canada
2 REPLIES 2
Contributor

Re: REST Payments get error 401 UNAUTHORIZED

Why reserve features for people who are not even in development, this makes no sense...
New Community Member

Re: REST Payments get error 401 UNAUTHORIZED

You need to upgrade to a merchant pro account, starting at 30$ USD Per Month.

 

It will allow you to use API to "pass" your credit card.

 

Thanks,

ER