v1
latestOpenAPI 3.1.02026-07-24270180.3 KBCreate a vault token
Create a new vault payment token representing user’s payment information.
post/v1/vault/payment_sources
Headers
x-user-secret-keystring required
Your API private/secret key. This can be found in the powerboard dashboard.
Content-Typestring required
Content-Type will always be application/json
Request body
Response
200
Example response
{
"status": 201,
"resource": {
"type": "payment_source",
"data": {
"vault_token": "93a44003-1184-4f98-b539-ae6e7377fc78",
"type": "card",
"company_id": "678842c71cd4d8d8488a83f3",
"card_name": "test 78676",
"card_number_last4": "0008",
"card_number_bin": "51234500",
"card_scheme": "mastercard",
"status": "active",
"expire_month": 1,
"expire_year": 2039,
"created_at": "2025-02-07T05:09:44.848Z",
"updated_at": "2025-02-07T05:10:02.787Z",
"_source_ip_address": "130.41.2.221",
"vault_ccv_stored": true,
"vault_type": "permanent"
}
}
}