Hi @luketto Thanks for posting your question on our community forum, Basically, you would get this type of error when you are using a Payment method that is not allowed on your country. The error internally, would look like this: "401 - UNAUTHORIZED_PAYMENT" When you receive the error "401 - UNAUTHORIZED_PAYMENT" it means that something in your REST API request is not passed correctly referring to the payment method. The payment method can be "paypal" for payments with a PayPal account and cards (only managed by PayPal checkout page where the buyer has to fill-in his card details on PayPal and not on your website) or "credit_card" for direct card payments where the buyer can provide his card details directly on your website (not on PayPal checkout). This last method is only reserved for PRO accounts in Uk, Us and Canada. But as your account is not PRO (not from UK, US or Canada) you will receive this error. Pass the value "paypal" instead and you will able to process account card payments correctly as the buyer will log in into his/her PayPal account that will use the card already added in it or will be offered, where available, the Guest Checkout with card. Here a link with all the details: - https://developer.paypal.com/docs/api/payments/#payment_create - https://developer.paypal.com/docs/api/payments/#definition-payer payment_method enum The payment method. The possible values are: credit_card. Credit card. paypal. A PayPal Wallet payment. pay_upon_invoice. Pay upon invoice. carrier. Carrier. alternate_payment. Alternate payment. bank. Bank. "intent": "sale",
"payer": {
"payment_method": "paypal"
},
"transactions": [
{
"amount": {
"total": "30.11",
"currency": "USD", If you need further information, please open a ticket to our Technical Department in here. Thanks, Was my post helpful? If so, please give me a kudos!
... View more