Request Object
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
{
"type": "visa",
"number": "4917912523797702",
"expire_month": "11",
"expire_year": "2019",
"cvv2": "012",
"first_name": "Joe",
"last_name": "Shopper",
"merchant_id": "MyStore1",
"external_card_id": "CardNumber123676d060736b75",
"external_customer_id": "123123-myUser1@something.com"
}
Response Object
Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/vault/credit-cards.
{
"name": "VALIDATION_ERROR",
"message": "Invalid request - see details",
"debug_id": "594f83007f829",
"information_link": "https://developer.paypal.com/docs/api/vault/#errors",
"details": [
{
"field": "expire_month, expire_year",
"location": "body",
"issue": "Invalid expiration (cannot be in the past)"
}
],
"links": []
}