{ "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-M4WFUOA3R509833RB912054R", "state": "created", "create_time": "2024-11-07T06:12:07Z", "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-M4WFUOA3R509833RB912054R", "rel": "self", "method": "GET" }, { "href": "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-2N053352G8426670W", "rel": "approval_url", "method": "REDIRECT" }, { "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-M4WFUOA3R509833RB912054R/execute", "rel": "execute", "method": "POST" } ] } Redirect user to approval_url: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-2N053352G8426670W