Card Issuance
Card issuance method.
URL
Method: POST
- Production:
https://api.baas.kvell.group/v1/issue-card/applications/{application_id}/issue - Stage:
https://api.baas.stage.kvell.group/v1/issue-card/applications/{application_id}/issue
Request parameters
Name |
Data type | Required | Description |
|---|---|---|---|
application_id |
string | Yes | The application ID received when creating the card issuance application |
Request headers
| Name | Data type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique shop identifier |
X-Signature |
string | Yes | Signature |
The X-Signature signature is formed by concatenating X-Api-Key, application_id, and secret_key. A sha256 hash is
computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.
Response
Example response
{
"id": "11",
"created": "value",
"status": "success",
"auth_code": "value",
"remote_id": "value",
"response_code": null,
"error_message": null,
"card_mask": "value",
"card_expire": "value",
"application": {
"id": "value",
"created": "value",
"status": "success",
"request_id": "value",
"remote_id": null,
"error_message": null,
"additional_data": {
// request body
}
}
}
Response parameters
| Name | Type | Description |
|---|---|---|
id |
string | Card issuance identifier |
created |
string | Card issuance creation date (UTC) |
status |
string | Card issuance status |
remote_id |
string | Identifier on the provider's side |
error_message |
string | Error message |
auth_code |
string | Authorization code |
response_code |
string | Error code |
card_mask |
string | Masked card number |
card_expire |
string | Card expiration date |
application |
json | JSON object with application information |
status— card issuance status:new— card issuance createdsuccess— the card was issued successfullydeclined— card issuance declined, issuance refused