refund sale 403
tekinfo
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-18-2021
02:32 AM
I can read sale,but where I refund sale,the API return PERMISSION_DENIED.
====
https://api.sandbox.paypal.com/v1/payments/sale/5LG41347KJ201330R/refund
{
"name": "PERMISSION_DENIED",
"message": "Permission denied.",
"debug_id": "1079024faebad"
}
===
{
"id": "5LG41347KJ201330R",
"state": "completed",
"amount": {
"total": "2.00",
"currency": "USD",
"details": {
"subtotal": "2.00"
}
},
"payment_mode": "INSTANT_TRANSFER",
"protection_eligibility": "ELIGIBLE",
"protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
"transaction_fee": {
"value": "0.37",
"currency": "USD"
},
"invoice_number": "",
"create_time": "2021-10-18T06:32:26Z",
"update_time": "2021-10-18T06:32:26Z",
"links": [
{
"rel": "self",
"method": "GET"
},
{
"rel": "refund",
"method": "POST"
}
]
}
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.
Related Content
- Customising Paypal Checkout Button in PayPal Payments Standard
- Button in PayPal Payments Standard
- I want to implement subscription functionality. in REST APIs
- Receiving a PAYMENT.SALE.COMPLETED webhook notification - how can I trace the parent Subscription in REST APIs
- third party direct payments towards developers in REST APIs