{ "intent": "sale", "payer": { "payment_method": "paypal" }, "transactions": [ { "amount": { "total": "1.00", "currency": "USD" }, "related_resources": [] } ], "redirect_urls": { "return_url": "https://example.com/your_redirect_url.html", "cancel_url": "https://example.com/your_cancel_url.html" }, "id": "PAYID-MY5OGQY8BG09407UK2405918", "state": "created", "create_time": "2024-05-08T02:28:18Z", "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-MY5OGQY8BG09407UK2405918", "rel": "self", "method": "GET" }, { "href": "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-8WG86988E1546723X", "rel": "approval_url", "method": "REDIRECT" }, { "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-MY5OGQY8BG09407UK2405918/execute", "rel": "execute", "method": "POST" } ] } Redirect user to approval_url: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-8WG86988E1546723X