v1
latestOpenAPI 3.0.02026-08-06363576.8 KBTemporary payment method
Create a temporary payment method from a credit card
The resulting token is a reference to a temporary payment method. You have to confirm this payment method by e.g. using it to activate a subscription, or adding a new payment method to a customer. Requires a public api key.
post/temporarypaymentmethod/
Request body
Example request
{
"card_number": "9999999999999999",
"expiration_year": "22",
"expiration_month": "11",
"cvv_number": "123",
"plan": 1
}Response
Response when creating a temporary payment method
Example response
{
"token": "637302f0412e2e11adc0ba21adafcf11",
"card_verification_url": "https://askell.is/verify/637302f0412e2e11adc0ba21adafcf11/"
}