Error while testing Shopify Vault through Postman HTTP 422 Response

New Member
1 0 1


I am creating a payment session by sending a request to the endpoint through postman.

Below is my request:

curl -X POST \ \
-H 'accept: application/json' \
-H 'authorization: Basic XXXX' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-H 'origin: https:/XXXX' \
-H 'postman-token: XXXX' \
-d '{
"credit_card": {
"number": "XXXX",
"first_name": "XXXX",
"last_name": "XXXX",
"month": "01",
"year": "20",
"verification_value": "123"

Returned Response: 



Am I sending the request correctly or am I missing something? 


Appreciate your help.