Verify and save a card without a charge
POST
/billing/card-check
const url = 'https://api.global.stillbox.example/v1/billing/card-check';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.global.stillbox.example/v1/billing/card-check \ --header 'Authorization: Bearer <token>'Returns the address of the payment provider’s page, where an owner saves a card without paying: the card
automatic top-ups charge. Where a region requires it, organizations that haven’t added credits do this before
their sandboxes run. A region that can’t save a card without a payment answers 409 (see card_check).
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The page
Media typeapplication/json
object
url
required
string
Example generated
{ "url": "example"}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}No such sandbox in your organization (or no such file)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}This region can’t save a card without a payment
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}