Create a payment session gives 500 error

Tejas-Ambalia
Tourist
4 0 4

I am trying to create payment session using below API call and response

 

curl -X POST https://elb.deposit.shopifycs.com/sessions \
-d '{
  "credit_card": {
    "number": "4242424242424242",
    "first_name": "John",
    "last_name": "Smith",
    "month": "5",
    "year": "15",
    "verification_value": "123"
  }
}'

Response:
HTTP 500 Internal Server Error
ID: 158c7b0ebf7a8ab8-60bdc785

 

Reply 1 (1)
camelmasa
Shopify Partner
83 10 27

Me too.

 

curl -d '{"credit_card":{"number":"4242424242424242","first_name":"John","last_name":"Smith","month":"11","year":"21","verification_value":"123"}}' \
-X POST "https://elb.deposit.shopifycs.com/sessions" \
-H "X-Shopify-Access-Token: shpat_xxx"