Create card
Attach a credit card (tokenized via Stripe) to the current user.
Request body
Example request
{
"token": "tok_1N3T00LkdIwHu7ixt44h1F8k"
}Response
ID of the card.
Example response
{
"data": "crd_XXXXXXXXXXXXXXXXXXXXXXXXX"
}Changes
Changed in 5 of the 41 revisions of this API.632
- ▲
the response's body type/format changed from
/toobject/for status400response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status401response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status429response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status500response-body-type-changed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status400response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status401response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status429response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status500response-body-all-of-removed
- ○
added the optional property
detailsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the401statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the429statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the500statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the400statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the401statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the429statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the500statusresponse-optional-property-added
- ○
added the required property
codeto the response with the400statusresponse-required-property-added
- ○
added the required property
codeto the response with the401statusresponse-required-property-added
- ○
added the required property
codeto the response with the429statusresponse-required-property-added
- ○
added the required property
codeto the response with the500statusresponse-required-property-added
- ○
added the required property
messageto the response with the400statusresponse-required-property-added
- ○
added the required property
messageto the response with the401statusresponse-required-property-added
- ○
added the required property
messageto the response with the429statusresponse-required-property-added
- ○
added the required property
messageto the response with the500statusresponse-required-property-added
- ○
added the required property
typeto the response with the400statusresponse-required-property-added
- ○
added the required property
typeto the response with the401statusresponse-required-property-added
- ○
added the required property
typeto the response with the429statusresponse-required-property-added
- ○
added the required property
typeto the response with the500statusresponse-required-property-added
- ▲
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
removed the required property
resultfrom the response with the200statusresponse-required-property-removed
- ○
api operation id
postCardwas addedapi-operation-id-added
- ○
api tag
Cardsaddedapi-tag-added
- ○
added the required property
datato the response with the200statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲