Updates to API Urls

- api.sandbox.paypal.com was changed to api-s.sandbox.paypal.com
- api.paypal.com was changed to api-s.paypal.com
This commit is contained in:
Jay Patel
2015-02-12 15:20:45 -06:00
parent d613361e69
commit d50d980cb8
39 changed files with 119 additions and 119 deletions

View File

@@ -19,9 +19,9 @@ class PayPalConstants
*/ */
const APPROVAL_URL = 'approval_url'; const APPROVAL_URL = 'approval_url';
const REST_SANDBOX_ENDPOINT = "https://api.sandbox.paypal.com/"; const REST_SANDBOX_ENDPOINT = "https://api-s.sandbox.paypal.com/";
const OPENID_REDIRECT_SANDBOX_URL = "https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect"; const OPENID_REDIRECT_SANDBOX_URL = "https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect";
const REST_LIVE_ENDPOINT = "https://api.paypal.com/"; const REST_LIVE_ENDPOINT = "https://api-s.paypal.com/";
const OPENID_REDIRECT_LIVE_URL = "https://www.paypal.com/webapps/auth/protocol/openidconnect"; const OPENID_REDIRECT_LIVE_URL = "https://www.paypal.com/webapps/auth/protocol/openidconnect";
} }

View File

@@ -40,7 +40,7 @@
{ {
"credit_card": { "credit_card": {
"type": "visa", "type": "visa",
"number": "4417119669820331", "number": "4204466604263862",
"expire_month": "12", "expire_month": "12",
"expire_year": "2017", "expire_year": "2017",
"cvv2": "128" "cvv2": "128"

View File

@@ -92,27 +92,27 @@
}, },
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/suspend", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/suspend",
"rel": "suspend", "rel": "suspend",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/re-activate", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/re-activate",
"rel": "re_activate", "rel": "re_activate",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/cancel", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/cancel",
"rel": "cancel", "rel": "cancel",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/bill-balance", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/bill-balance",
"rel": "self", "rel": "self",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/set-balance", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/set-balance",
"rel": "self", "rel": "self",
"method": "POST" "method": "POST"
} }

View File

@@ -92,27 +92,27 @@
}, },
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/suspend", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/suspend",
"rel": "suspend", "rel": "suspend",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/re-activate", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/re-activate",
"rel": "re_activate", "rel": "re_activate",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/cancel", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/cancel",
"rel": "cancel", "rel": "cancel",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/bill-balance", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/bill-balance",
"rel": "self", "rel": "self",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/set-balance", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/set-balance",
"rel": "self", "rel": "self",
"method": "POST" "method": "POST"
} }

View File

@@ -92,27 +92,27 @@
}, },
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/suspend", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/suspend",
"rel": "suspend", "rel": "suspend",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/re-activate", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/re-activate",
"rel": "re_activate", "rel": "re_activate",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/cancel", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/cancel",
"rel": "cancel", "rel": "cancel",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/bill-balance", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/bill-balance",
"rel": "self", "rel": "self",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/set-balance", "href": "https://api-s.sandbox.paypal.com/v1/payments/billing-agreements/I-XTN3V7NY6KG7/set-balance",
"rel": "self", "rel": "self",
"method": "POST" "method": "POST"
} }

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-WW57-VFCD-X5H4-XTUP/cancel", "path": "v1/invoicing/invoices/INV2-WW57-VFCD-X5H4-XTUP/cancel",
"method": "POST", "method": "POST",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": { "body": {
"subject": "Past due", "subject": "Past due",

View File

@@ -21,7 +21,7 @@
"path": "v1/invoicing/invoices/", "path": "v1/invoicing/invoices/",
"method": "POST", "method": "POST",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": {"merchant_info": { "body": {"merchant_info": {
"email": "jaypatel512-facilitator@hotmail.com", "email": "jaypatel512-facilitator@hotmail.com",

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-92MG-CNXV-ND7G-P3D2", "path": "v1/invoicing/invoices/INV2-92MG-CNXV-ND7G-P3D2",
"method": "DELETE", "method": "DELETE",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": {} "body": {}
}, },

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-RF6D-L66T-D7H2-CRU7", "path": "v1/invoicing/invoices/INV2-RF6D-L66T-D7H2-CRU7",
"method": "GET", "method": "GET",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": {} "body": {}
}, },

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices?page=0&page_size=10&total_count_required=true", "path": "v1/invoicing/invoices?page=0&page_size=10&total_count_required=true",
"method": "GET", "method": "GET",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": {} "body": {}
}, },

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-S6FG-ZZCK-VXMM-8KKP/qr-code", "path": "v1/invoicing/invoices/INV2-S6FG-ZZCK-VXMM-8KKP/qr-code",
"method": "GET", "method": "GET",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": {} "body": {}
}, },

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-T4UQ-VW4W-K7N7-XM2R/remind", "path": "v1/invoicing/invoices/INV2-T4UQ-VW4W-K7N7-XM2R/remind",
"method": "POST", "method": "POST",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": { "body": {
"subject": "Past due", "subject": "Past due",

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/search/", "path": "v1/invoicing/search/",
"method": "POST", "method": "POST",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": { "body": {
"page": 0, "page": 0,

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-EHNV-LJ5S-A7DZ-V6NJ/send", "path": "v1/invoicing/invoices/INV2-EHNV-LJ5S-A7DZ-V6NJ/send",
"method": "POST", "method": "POST",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": {} "body": {}
}, },

View File

@@ -19,7 +19,7 @@
"path": "v1/invoicing/invoices/INV2-8UZ6-Q3DK-VZXV-SXQB", "path": "v1/invoicing/invoices/INV2-8UZ6-Q3DK-VZXV-SXQB",
"method": "PUT", "method": "PUT",
"headers": { "headers": {
"X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api.paypal.com/v1/payments/.*\",\"https://api.paypal.com/v1/vault/credit-card/.*\",\"https://api.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}" "X-PAYPAL-SECURITY-CONTEXT": "{\"actor\":{\"auth_claims\":[\"CLIENT_ID_SECRET\"],\"auth_state\":\"LOGGEDIN\",\"account_number\":\"1942617323817135416\",\"encrypted_account_number\":\"6QNCBKP95EWWN\",\"party_id\":\"1942617323817135416\"},\"auth_token\":\"A015vRRfXmgj2UscSiBbwz1Elw8RW.ypMlPJsMH77snr6fc\",\"auth_token_type\":\"ACCESS_TOKEN\",\"last_validated\":1405632568,\"scopes\":[\"openid\",\"https://uri.paypal.com/services/invoicing\",\"https://uri.paypal.com/services/subscriptions\",\"https://api-s.paypal.com/v1/payments/.*\",\"https://api-s.paypal.com/v1/vault/credit-card/.*\",\"https://api-s.paypal.com/v1/vault/credit-card\"],\"client_id\":\"AewC1RCK3i4Z7WTbE0cz5buvd_NW17sYbYI4kc29c5qGxeh-0P7sMuXh2chc\",\"claims\":{\"actor_payer_id\":\"6QNCBKP95EWWN\"},\"subjects\":[]}"
}, },
"body": { "body": {
"merchant_info": { "merchant_info": {

View File

@@ -24,7 +24,7 @@
"funding_instruments": [ "funding_instruments": [
{ {
"credit_card": { "credit_card": {
"number": "4417119669820331", "number": "4160285494148633",
"type": "visa", "type": "visa",
"expire_month": 11, "expire_month": 11,
"expire_year": 2018, "expire_year": 2018,
@@ -115,17 +115,17 @@
"parent_payment": "PAY-17S8410768582940NKEE66EQ", "parent_payment": "PAY-17S8410768582940NKEE66EQ",
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U", "href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U/refund", "href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
"rel": "refund", "rel": "refund",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -137,7 +137,7 @@
], ],
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
} }

View File

@@ -144,17 +144,17 @@
"parent_payment": "PAY-17S8410768582940NKEE66EQ", "parent_payment": "PAY-17S8410768582940NKEE66EQ",
"links": [ "links": [
{ {
"href": "https: //api.paypal.com/v1/payments/sale/4RR959492F879224U", "href": "https: //api-s.paypal.com/v1/payments/sale/4RR959492F879224U",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https: //api.paypal.com/v1/payments/sale/4RR959492F879224U/refund", "href": "https: //api-s.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
"rel": "refund", "rel": "refund",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https: //api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ", "href": "https: //api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -166,7 +166,7 @@
], ],
"links": [ "links": [
{ {
"href": "https: //api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ", "href": "https: //api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
} }

View File

@@ -65,17 +65,17 @@
"parent_payment": "PAY-34629814WL663112AKEE3AWQ", "parent_payment": "PAY-34629814WL663112AKEE3AWQ",
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/sale/1KE4800207592173L", "href": "https://api-s.paypal.com/v1/payments/sale/1KE4800207592173L",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/sale/1KE4800207592173L/refund", "href": "https://api-s.paypal.com/v1/payments/sale/1KE4800207592173L/refund",
"rel": "refund", "rel": "refund",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -87,7 +87,7 @@
], ],
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
} }

View File

@@ -76,17 +76,17 @@
"parent_payment": "PAY-17S8410768582940NKEE66EQ", "parent_payment": "PAY-17S8410768582940NKEE66EQ",
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U", "href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U/refund", "href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
"rel": "refund", "rel": "refund",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -98,7 +98,7 @@
], ],
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
} }

View File

@@ -62,12 +62,12 @@
"parent_payment": "PAY-5YK922393D847794YKER7MUI", "parent_payment": "PAY-5YK922393D847794YKER7MUI",
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/sale/36C38912MN9658832", "href": "https://api-s.paypal.com/v1/payments/sale/36C38912MN9658832",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/sale/36C38912MN9658832/refund", "href": "https://api-s.paypal.com/v1/payments/sale/36C38912MN9658832/refund",
"rel": "refund", "rel": "refund",
"method": "POST" "method": "POST"
}, },
@@ -77,7 +77,7 @@
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -89,7 +89,7 @@
], ],
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
} }

View File

@@ -39,17 +39,17 @@
"parent_payment": "PAY-17S8410768582940NKEE66EQ", "parent_payment": "PAY-17S8410768582940NKEE66EQ",
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K", "href": "https://api-s.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K/refund", "href": "https://api-s.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K/refund",
"rel": "refund", "rel": "refund",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-48W25034R6080713AKRH64KY", "href": "https://api-s.sandbox.paypal.com/v1/payments/payment/PAY-48W25034R6080713AKRH64KY",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }

View File

@@ -41,17 +41,17 @@
"parent_payment": "PAY-17S8410768582940NKEE66EQ", "parent_payment": "PAY-17S8410768582940NKEE66EQ",
"links": [ "links": [
{ {
"href": "https://api.paypal.com/v1/payments/refund/4CF18861HF410323U", "href": "https://api-s.paypal.com/v1/payments/refund/4CF18861HF410323U",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/payment/PAY-46E69296BH2194803KEE662Y", "href": "https://api-s.paypal.com/v1/payments/payment/PAY-46E69296BH2194803KEE662Y",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.paypal.com/v1/payments/sale/2MU78835H4515710F", "href": "https://api-s.paypal.com/v1/payments/sale/2MU78835H4515710F",
"rel": "sale", "rel": "sale",
"method": "GET" "method": "GET"
} }

View File

@@ -62,12 +62,12 @@
"links":[ "links":[
{ {
"rel":"self", "rel":"self",
"href":"https://api.sandbox.paypal.com/v1/payments/payouts-item/1421342", "href":"https://api-s.sandbox.paypal.com/v1/payments/payouts-item/1421342",
"method":"GET" "method":"GET"
}, },
{ {
"rel":"batch", "rel":"batch",
"href":"https://api.sandbox.paypal.com/v1/payments/payouts/20140724", "href":"https://api-s.sandbox.paypal.com/v1/payments/payouts/20140724",
"method":"GET" "method":"GET"
} }
] ]

View File

@@ -87,7 +87,7 @@
"time_processed": "2014-46-14T06:46:23Z", "time_processed": "2014-46-14T06:46:23Z",
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payouts-item/VHBFGN95AWV82", "href": "https://api-s.sandbox.paypal.com/v1/payments/payouts-item/VHBFGN95AWV82",
"rel": "item", "rel": "item",
"method": "GET" "method": "GET"
} }
@@ -96,7 +96,7 @@
], ],
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payouts/CDZEC5MJ8R5HY", "href": "https://api-s.sandbox.paypal.com/v1/payments/payouts/CDZEC5MJ8R5HY",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
} }

View File

@@ -50,12 +50,12 @@
}, },
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payouts-item/HUUQ5YASYLQFN", "href": "https://api-s.sandbox.paypal.com/v1/payments/payouts-item/HUUQ5YASYLQFN",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payouts/LNLSEVGU4P85S", "href": "https://api-s.sandbox.paypal.com/v1/payments/payouts/LNLSEVGU4P85S",
"rel": "batch", "rel": "batch",
"method": "GET" "method": "GET"
} }

View File

@@ -5,7 +5,7 @@
"operationId": "web-profile.create", "operationId": "web-profile.create",
"user": { "user": {
"scopes": [ "scopes": [
"https://api.paypal.com/v1/payments/.*" "https://api-s.paypal.com/v1/payments/.*"
] ]
}, },
"credentials": { "credentials": {

View File

@@ -5,7 +5,7 @@
"operationId": "web-profile.delete", "operationId": "web-profile.delete",
"user": { "user": {
"scopes": [ "scopes": [
"https://api.paypal.com/v1/payments/.*" "https://api-s.paypal.com/v1/payments/.*"
] ]
}, },
"credentials": { "credentials": {

View File

@@ -5,7 +5,7 @@
"operationId": "web-profile.get", "operationId": "web-profile.get",
"user": { "user": {
"scopes": [ "scopes": [
"https://api.paypal.com/v1/payments/.*" "https://api-s.paypal.com/v1/payments/.*"
] ]
}, },
"credentials": { "credentials": {

View File

@@ -5,7 +5,7 @@
"operationId": "web-profile.get-list", "operationId": "web-profile.get-list",
"user": { "user": {
"scopes": [ "scopes": [
"https://api.paypal.com/v1/payments/.*" "https://api-s.paypal.com/v1/payments/.*"
] ]
}, },
"credentials": { "credentials": {

View File

@@ -5,7 +5,7 @@
"operationId": "web-profile.partial-update", "operationId": "web-profile.partial-update",
"user": { "user": {
"scopes": [ "scopes": [
"https://api.paypal.com/v1/payments/.*" "https://api-s.paypal.com/v1/payments/.*"
] ]
}, },
"credentials": { "credentials": {

View File

@@ -5,7 +5,7 @@
"operationId": "web-profile.update", "operationId": "web-profile.update",
"user": { "user": {
"scopes": [ "scopes": [
"https://api.paypal.com/v1/payments/.*" "https://api-s.paypal.com/v1/payments/.*"
] ]
}, },
"credentials": { "credentials": {

View File

@@ -55,17 +55,17 @@
], ],
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"update", "rel":"update",
"method":"PATCH" "method":"PATCH"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"delete", "rel":"delete",
"method":"DELETE" "method":"DELETE"
} }

View File

@@ -51,22 +51,22 @@
"valid_until":"2013-07-24T21:39:15Z", "valid_until":"2013-07-24T21:39:15Z",
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/payments/authorization/2DC87612EK520411B", "href":"https://api-s.paypal.com/v1/payments/authorization/2DC87612EK520411B",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/payments/authorization/2DC87612EK520411B/capture", "href":"https://api-s.paypal.com/v1/payments/authorization/2DC87612EK520411B/capture",
"rel":"capture", "rel":"capture",
"method":"POST" "method":"POST"
}, },
{ {
"href":"https://api.paypal.com/v1/payments/authorization/2DC87612EK520411B/void", "href":"https://api-s.paypal.com/v1/payments/authorization/2DC87612EK520411B/void",
"rel":"void", "rel":"void",
"method":"POST" "method":"POST"
}, },
{ {
"href":"https://api.paypal.com/v1/payments/payment/PAY-36246664YD343335CKHFA4AY", "href":"https://api-s.paypal.com/v1/payments/payment/PAY-36246664YD343335CKHFA4AY",
"rel":"parent_payment", "rel":"parent_payment",
"method":"GET" "method":"GET"
} }
@@ -74,12 +74,12 @@
}, },
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA", "href":"https://api-s.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA/resend", "href":"https://api-s.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA/resend",
"rel":"resend", "rel":"resend",
"method":"POST" "method":"POST"
} }

View File

@@ -53,22 +53,22 @@
"valid_until": "2013-07-24T21:39:15Z", "valid_until": "2013-07-24T21:39:15Z",
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/authorization/2DC87612EK520411B", "href": "https://api-s.sandbox.paypal.com/v1/payments/authorization/2DC87612EK520411B",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/authorization/2DC87612EK520411B/capture", "href": "https://api-s.sandbox.paypal.com/v1/payments/authorization/2DC87612EK520411B/capture",
"rel": "capture", "rel": "capture",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/authorization/2DC87612EK520411B/void", "href": "https://api-s.sandbox.paypal.com/v1/payments/authorization/2DC87612EK520411B/void",
"rel": "void", "rel": "void",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-36246664YD343335CKHFA4AY", "href": "https://api-s.sandbox.paypal.com/v1/payments/payment/PAY-36246664YD343335CKHFA4AY",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -76,12 +76,12 @@
}, },
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA", "href": "https://api-s.sandbox.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA/resend", "href": "https://api-s.sandbox.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA/resend",
"rel": "resend", "rel": "resend",
"method": "POST" "method": "POST"
} }
@@ -109,22 +109,22 @@
"valid_until": "2013-07-24T21:39:15Z", "valid_until": "2013-07-24T21:39:15Z",
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/authorization/HATH7S72EK520411B", "href": "https://api-s.sandbox.paypal.com/v1/payments/authorization/HATH7S72EK520411B",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/authorization/HATH7S72EK520411B/capture", "href": "https://api-s.sandbox.paypal.com/v1/payments/authorization/HATH7S72EK520411B/capture",
"rel": "capture", "rel": "capture",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/authorization/HATH7S72EK520411B/void", "href": "https://api-s.sandbox.paypal.com/v1/payments/authorization/HATH7S72EK520411B/void",
"rel": "void", "rel": "void",
"method": "POST" "method": "POST"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-HATH7S72EK520411B", "href": "https://api-s.sandbox.paypal.com/v1/payments/payment/PAY-HATH7S72EK520411B",
"rel": "parent_payment", "rel": "parent_payment",
"method": "GET" "method": "GET"
} }
@@ -132,12 +132,12 @@
}, },
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/notfications/webhooks-events/HTSPGS710X687430LKGECATA", "href": "https://api-s.sandbox.paypal.com/v1/notfications/webhooks-events/HTSPGS710X687430LKGECATA",
"rel": "self", "rel": "self",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/notfications/webhooks-events/HTSPGS710X687430LKGECATA/resend", "href": "https://api-s.sandbox.paypal.com/v1/notfications/webhooks-events/HTSPGS710X687430LKGECATA/resend",
"rel": "resend", "rel": "resend",
"method": "POST" "method": "POST"
} }
@@ -147,12 +147,12 @@
"count": 2, "count": 2,
"links": [ "links": [
{ {
"href": "https://api.sandbox.paypal.com/v1/notifications/webhooks-events/?start_time=2014-08-04T12:46:47-07:00&end_time=2014-09-18T12:46:47-07:00&page_size=2&move_to=next&index_time=2014-09-17T23:07:35Z&index_id=3", "href": "https://api-s.sandbox.paypal.com/v1/notifications/webhooks-events/?start_time=2014-08-04T12:46:47-07:00&end_time=2014-09-18T12:46:47-07:00&page_size=2&move_to=next&index_time=2014-09-17T23:07:35Z&index_id=3",
"rel": "next", "rel": "next",
"method": "GET" "method": "GET"
}, },
{ {
"href": "https://api.sandbox.paypal.com/v1/notifications/webhooks-events/?start_time=2014-08-04T12:46:47-07:00&end_time=2014-09-18T12:46:47-07:00&page_size=2&move_to=previous&index_time=2014-09-17T23:07:35Z&index_id=0", "href": "https://api-s.sandbox.paypal.com/v1/notifications/webhooks-events/?start_time=2014-08-04T12:46:47-07:00&end_time=2014-09-18T12:46:47-07:00&page_size=2&move_to=previous&index_time=2014-09-17T23:07:35Z&index_id=0",
"rel": "previous", "rel": "previous",
"method": "GET" "method": "GET"
} }

View File

@@ -44,17 +44,17 @@
], ],
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"update", "rel":"update",
"method":"PATCH" "method":"PATCH"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"delete", "rel":"delete",
"method":"DELETE" "method":"DELETE"
} }

View File

@@ -46,17 +46,17 @@
], ],
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/40Y916089Y8324740", "href":"https://api-s.paypal.com/v1/notifications/webhooks/40Y916089Y8324740",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/40Y916089Y8324740", "href":"https://api-s.paypal.com/v1/notifications/webhooks/40Y916089Y8324740",
"rel":"update", "rel":"update",
"method":"PATCH" "method":"PATCH"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/40Y916089Y8324740", "href":"https://api-s.paypal.com/v1/notifications/webhooks/40Y916089Y8324740",
"rel":"delete", "rel":"delete",
"method":"DELETE" "method":"DELETE"
} }
@@ -77,17 +77,17 @@
], ],
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"update", "rel":"update",
"method":"PATCH" "method":"PATCH"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"delete", "rel":"delete",
"method":"DELETE" "method":"DELETE"
} }

View File

@@ -51,22 +51,22 @@
"valid_until":"2013-07-24T21:39:15Z", "valid_until":"2013-07-24T21:39:15Z",
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/payments/authorization/2DC87612EK520411B", "href":"https://api-s.paypal.com/v1/payments/authorization/2DC87612EK520411B",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/payments/authorization/2DC87612EK520411B/capture", "href":"https://api-s.paypal.com/v1/payments/authorization/2DC87612EK520411B/capture",
"rel":"capture", "rel":"capture",
"method":"POST" "method":"POST"
}, },
{ {
"href":"https://api.paypal.com/v1/payments/authorization/2DC87612EK520411B/void", "href":"https://api-s.paypal.com/v1/payments/authorization/2DC87612EK520411B/void",
"rel":"void", "rel":"void",
"method":"POST" "method":"POST"
}, },
{ {
"href":"https://api.paypal.com/v1/payments/payment/PAY-36246664YD343335CKHFA4AY", "href":"https://api-s.paypal.com/v1/payments/payment/PAY-36246664YD343335CKHFA4AY",
"rel":"parent_payment", "rel":"parent_payment",
"method":"GET" "method":"GET"
} }
@@ -74,12 +74,12 @@
}, },
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA", "href":"https://api-s.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA/resend", "href":"https://api-s.paypal.com/v1/notfications/webhooks-events/8PT597110X687430LKGECATA/resend",
"rel":"resend", "rel":"resend",
"method":"POST" "method":"POST"
} }

View File

@@ -56,17 +56,17 @@
], ],
"links":[ "links":[
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"self", "rel":"self",
"method":"GET" "method":"GET"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"update", "rel":"update",
"method":"PATCH" "method":"PATCH"
}, },
{ {
"href":"https://api.paypal.com/v1/notifications/webhooks/0EH40505U7160970P", "href":"https://api-s.paypal.com/v1/notifications/webhooks/0EH40505U7160970P",
"rel":"delete", "rel":"delete",
"method":"DELETE" "method":"DELETE"
} }

View File

@@ -16,9 +16,9 @@ mode=sandbox
;Service Configuration ;Service Configuration
[Service] [Service]
service.EndPoint="https://api.sandbox.paypal.com" service.EndPoint="https://api-s.sandbox.paypal.com"
; Uncomment this line for integrating with the live endpoint ; Uncomment this line for integrating with the live endpoint
; service.EndPoint="https://api.paypal.com" ; service.EndPoint="https://api-s.paypal.com"
;Logging Information ;Logging Information