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
גוף הבקשה application/json
| שדה | סוג | תיאור |
|---|
typeחובה | string | Card type. Supported values: GIFT, REFUND, MEAL.אחד מ: GIFT, REFUND, MEAL |
expiry_yearחובה | integer | Card expiry year. |
company_uuidחובה | string | Public PayPlus company UUID. |
expiry_monthחובה | integer | Card expiry month. |
customer_uuid | string | Optional customer UUID to assign the card to. |
עריכת גוף הבקשה
תשובות
200 Success response envelope
| שדה | סוג | תיאור |
|---|
dataחובה | object | |
data.typeחובה | string | |
data.uuidחובה | string | |
data.last4חובה | string | |
data.statusחובה | string | |
data.balanceחובה | integer | |
data.currencyחובה | string | |
data.expiry_yearחובה | integer | |
data.company_uuidחובה | string | |
data.expiry_monthחובה | integer | |
data.customer_uuidחובה | string | |
resultsחובה | object | |
results.codeחובה | integer | |
results.statusחובה | string | |
400 Error response envelope
| שדה | סוג | תיאור |
|---|
dataחובה | object | null | |
resultsחובה | object | |
results.codeחובה | integer | |
results.statusחובה | string | |
results.messageחובה | string | |
results.descriptionחובה | string | |
401 Error response envelope
| שדה | סוג | תיאור |
|---|
dataחובה | object | null | |
resultsחובה | object | |
results.codeחובה | integer | |
results.statusחובה | string | |
results.messageחובה | string | |
results.descriptionחובה | string | |
עודכן לאחרונה:
האם העמוד עזר לך?