Skip to content

Instantly share code, notes, and snippets.

@jrichardsz
Last active January 29, 2021 16:26
Show Gist options
  • Save jrichardsz/fc1ca0d738c7211b23c3215e82014795 to your computer and use it in GitHub Desktop.
Save jrichardsz/fc1ca0d738c7211b23c3215e82014795 to your computer and use it in GitHub Desktop.
Rest api endpoints exampes
{
"id": "CARD-64A330373A378373JLRWF6GY",
"state": "ok",
"external_customer_id": "123123-myUser1@something.com",
"external_card_id": "CardNumber1235c6c5f1b5657c",
"merchant_id": "MyStore1",
"type": "visa",
"number": "xxxxxxxxxxxx7702",
"expire_month": "11",
"expire_year": "2019",
"first_name": "Joe",
"last_name": "Shopper",
"valid_until": "2022-02-18T00:00:00Z",
"create_time": "2019-02-19T19:55:07Z",
"update_time": "2019-02-19T19:55:07Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/vault/credit-cards/CARD-64A330373A378373JLRWF6GY",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.sandbox.paypal.com/v1/vault/credit-cards/CARD-64A330373A378373JLRWF6GY",
"rel": "delete",
"method": "DELETE"
},
{
"href": "https://api.sandbox.paypal.com/v1/vault/credit-cards/CARD-64A330373A378373JLRWF6GY",
"rel": "patch",
"method": "PATCH"
}
]
}
https://gist.github.com/LeCoupa/85e71a30eb51d2eae76b
https://cruitcast.com/user/vendor/paypal/rest-api-sdk-php/sample/vault/GetCreditCard.php
https://cruitcast.com/user/vendor/paypal/rest-api-sdk-php/sample/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment