Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewrossanderson/d37277163f20effea71127d261d03c17 to your computer and use it in GitHub Desktop.
Save matthewrossanderson/d37277163f20effea71127d261d03c17 to your computer and use it in GitHub Desktop.
POST /v1/tokens
2017/12/19 15:52:00
Summary
ID
req_oXkw1iMAbnVZE4
Time
2017/12/19 15:52:00
Method
POST
URL
/v1/tokens
Status
200
IP address
68.196.43.179
Version
2017-12-14 (latest)
Source
Stripe/v1 JavaBindings/5.25.0
Request query parameters
No query parameters
Request POST body
{
"card": {
"number": "************1881",
"exp_year": "19",
"cvc": "***",
"object": "card",
"name": "Richard Morey",
"last4": "1881",
"exp_month": "6"
}
}
Response body
{
"id": "tok_1Bas4CGfSfILnI0biSjCndoE",
"object": "token",
"card": {
"id": "card_1Bas4CGfSfILnI0bDuNSpcBH",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "CA",
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 6,
"exp_year": 2019,
"funding": "credit",
"last4": "1881",
"metadata": {
},
"name": "Richard Morey",
"tokenization_method": null
},
"client_ip": "68.196.43.179",
"created": 1513716720,
"livemode": false,
"type": "card",
"used": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment