Created
May 31, 2013 15:30
-
-
Save jcleblanc/5685779 to your computer and use it in GitHub Desktop.
HATEOAS link return structure from a successful auth request through the PayPal REST APIs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"links":[ | |
{ | |
"href":"https://api.sandbox.paypal.com/v1/payments/authorization/9T287484DP554682S", | |
"rel":"self", | |
"method":"GET" | |
}, | |
{ | |
"href":"https://api.sandbox.paypal.com/v1/payments/authorization/9T287484DP554682S/capture", | |
"rel":"capture", | |
"method":"POST" | |
}, | |
{ | |
"href":"https://api.sandbox.paypal.com/v1/payments/authorization/9T287484DP554682S/void", | |
"rel":"void", | |
"method":"POST" | |
}, | |
{ | |
"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAY-0R831151JU007784NKGSU2SA", | |
"rel":"parent_payment", | |
"method":"GET" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment