Card Top-Up
Top up an issued card using the card identifier idcard.
URL
Method: POST
- Production:
https://api.pay.kvell.group/v1/orders/payout/issue-card - Stage:
https://api.pay.stage.kvell.group/v1/orders/payout/issue-card
Request parameters
| Name | Required | Type | Comment |
|---|---|---|---|
card_id |
string | Yes | Identifier of the issued card |
amount |
integer | Yes | Top-up amount in kopecks |
transaction |
string | Yes | Unique transaction number |
description |
string | Yes | Description. Maximum 210 characters. |
customer |
string | No | Customer information |
extra_data |
json | No | Additional data |
Example request
{
"card_id": "string",
"amount": 1000,
"transaction": "string",
"description": "string",
"customer": "string"
}
Request headers
| Name | Data type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique shop identifier |
X-Signature |
string | Yes | Signature |
Building the signature
The request must be signed using an electronic signature. The RSA/SHA256 algorithm is used.
This value must be passed in the X-Signature HTTP request header.
The signature-building algorithm is the same as for making a payout.
Response
Example response
List of statuses
| Name | Description |
|---|---|
new |
New transaction |
processing |
Transaction is being processed |
canceled |
Transaction declined |
completed |
Transaction completed |