This error occurs when the PayPal account owner refuses the payment when redirected to the PayPal payment page.
In such cases, the platform can contact the user to know more about the refusal.
In the example below, the API response when viewing a pay-in for which the PayPal account owner refused the payment when redirected to the PayPal payment page.
{
"Id": "163292963",
"Tag": "custom meta",
"CreationDate": 1677570271,
"AuthorId": "146476890",
"CreditedUserId": "146476890",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 1200
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 1188
},
"Fees": {
"Currency": "EUR",
"Amount": 12
},
"Status": "FAILED",
"ResultCode": "201004",
"ResultMessage": "PayPal account's owner has not approved payment",
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "148968396",
"DebitedWalletId": null,
"PaymentType": "PAYPAL",
"ExecutionType": "WEB",
"RedirectURL": "https://www.sandbox.paypal.com/checkoutnow?token=91D07406JE924441B",
"ReturnURL": "http://www.my-site.com/returnURL/?transactionId=163292963",
"Culture": "FR",
"ShippingAddress": {
"RecipientName": "John Doe",
"Address": {
"AddressLine1": "The Oasis",
"AddressLine2": "Rue des Plantes",
"City": "Paris",
"Region": "Ile de France",
"PostalCode": "75001",
"Country": "FR"
}
},
"PaypalBuyerAccountEmail": null,
"StatementDescriptor": "Nov2022"
}