Skip to content
Docs
Menu
View as Markdown

Create Card

Creates an inactive card linked to an existing customer. Supported types: GIFT, REFUND, MEAL.

Keep card uuid for activation later.

POSThttps://api-dev.wittix.com/v1/cards/cards/create

Request body application/json

FieldTypeDescription
typerequiredstringCard type. Supported values: GIFT, REFUND, MEAL.One of: GIFT, REFUND, MEAL
expiry_yearrequiredintegerCard expiry year.
company_uuidrequiredstringPublic PayPlus company UUID.
expiry_monthrequiredintegerCard expiry month.
customer_uuidstringOptional customer UUID to assign the card to.
Edit the request body

Responses

200 Success response envelope
FieldTypeDescription
datarequiredobject
data.typerequiredstring
data.uuidrequiredstring
data.last4requiredstring
data.statusrequiredstring
data.balancerequiredinteger
data.currencyrequiredstring
data.expiry_yearrequiredinteger
data.company_uuidrequiredstring
data.expiry_monthrequiredinteger
data.customer_uuidrequiredstring
resultsrequiredobject
results.coderequiredinteger
results.statusrequiredstring
400 Error response envelope
FieldTypeDescription
datarequiredobject | null
resultsrequiredobject
results.coderequiredinteger
results.statusrequiredstring
results.messagerequiredstring
results.descriptionrequiredstring
401 Error response envelope
FieldTypeDescription
datarequiredobject | null
resultsrequiredobject
results.coderequiredinteger
results.statusrequiredstring
results.messagerequiredstring
results.descriptionrequiredstring
Was this page helpful?
Ask AI

Ask a question about PayPlus. Answers come from the published docs, with links to the pages they use.

AI answers can be wrong. Check the linked pages.

Your PayPlus accountOpen in a new tab