Issue a card
curl --request POST \
--url https://api.imbawallet.com/partner/cards \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ext_id": "card-issue-20260710-003",
"card_product": 12,
"cardholder": {
"first_name": "<string>",
"last_name": "<string>",
"phone": "+35795196083",
"email": "jsmith@example.com",
"country": "CY",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
},
"quantity": 1
}
'import requests
url = "https://api.imbawallet.com/partner/cards"
payload = {
"ext_id": "card-issue-20260710-003",
"card_product": 12,
"cardholder": {
"first_name": "<string>",
"last_name": "<string>",
"phone": "+35795196083",
"email": "jsmith@example.com",
"country": "CY",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
},
"quantity": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ext_id: 'card-issue-20260710-003',
card_product: 12,
cardholder: {
first_name: '<string>',
last_name: '<string>',
phone: '+35795196083',
email: 'jsmith@example.com',
country: 'CY',
middle_name: '<string>',
birth_date: '2023-12-25',
address: {
line1: '<string>',
line2: '<string>',
city: '<string>',
region: '<string>',
postal_code: '<string>'
}
},
quantity: 1
})
};
fetch('https://api.imbawallet.com/partner/cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.imbawallet.com/partner/cards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ext_id' => 'card-issue-20260710-003',
'card_product' => 12,
'cardholder' => [
'first_name' => '<string>',
'last_name' => '<string>',
'phone' => '+35795196083',
'email' => 'jsmith@example.com',
'country' => 'CY',
'middle_name' => '<string>',
'birth_date' => '2023-12-25',
'address' => [
'line1' => '<string>',
'line2' => '<string>',
'city' => '<string>',
'region' => '<string>',
'postal_code' => '<string>'
]
],
'quantity' => 1
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.imbawallet.com/partner/cards"
payload := strings.NewReader("{\n \"ext_id\": \"card-issue-20260710-003\",\n \"card_product\": 12,\n \"cardholder\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"phone\": \"+35795196083\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"CY\",\n \"middle_name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"address\": {\n \"line1\": \"<string>\",\n \"line2\": \"<string>\",\n \"city\": \"<string>\",\n \"region\": \"<string>\",\n \"postal_code\": \"<string>\"\n }\n },\n \"quantity\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.imbawallet.com/partner/cards")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ext_id\": \"card-issue-20260710-003\",\n \"card_product\": 12,\n \"cardholder\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"phone\": \"+35795196083\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"CY\",\n \"middle_name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"address\": {\n \"line1\": \"<string>\",\n \"line2\": \"<string>\",\n \"city\": \"<string>\",\n \"region\": \"<string>\",\n \"postal_code\": \"<string>\"\n }\n },\n \"quantity\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.imbawallet.com/partner/cards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ext_id\": \"card-issue-20260710-003\",\n \"card_product\": 12,\n \"cardholder\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"phone\": \"+35795196083\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"CY\",\n \"middle_name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"address\": {\n \"line1\": \"<string>\",\n \"line2\": \"<string>\",\n \"city\": \"<string>\",\n \"region\": \"<string>\",\n \"postal_code\": \"<string>\"\n }\n },\n \"quantity\": 1\n}"
response = http.request(request)
puts response.read_body{
"ext_id": "card-issue-20260710-003",
"order_id": "<string>",
"card_id": "<string>",
"card_product": 123,
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "insufficient_balance",
"message": "<string>"
}{
"error": "insufficient_balance",
"message": "<string>"
}Cards
Issue a card
Async issue. On stuck processing with no progress, IMBA closes the
document as failed with error=issue_timeout and sends webhook
card_issue.status_changed. Retry with a new ext_id (documents are
not deleted). Synchronous failures return JSON {error,message}.
For ban_rus products: phone must not be +7…, country ≠ RU,
Latin names.
POST
/
partner
/
cards
Issue a card
curl --request POST \
--url https://api.imbawallet.com/partner/cards \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ext_id": "card-issue-20260710-003",
"card_product": 12,
"cardholder": {
"first_name": "<string>",
"last_name": "<string>",
"phone": "+35795196083",
"email": "jsmith@example.com",
"country": "CY",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
},
"quantity": 1
}
'import requests
url = "https://api.imbawallet.com/partner/cards"
payload = {
"ext_id": "card-issue-20260710-003",
"card_product": 12,
"cardholder": {
"first_name": "<string>",
"last_name": "<string>",
"phone": "+35795196083",
"email": "jsmith@example.com",
"country": "CY",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
},
"quantity": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ext_id: 'card-issue-20260710-003',
card_product: 12,
cardholder: {
first_name: '<string>',
last_name: '<string>',
phone: '+35795196083',
email: 'jsmith@example.com',
country: 'CY',
middle_name: '<string>',
birth_date: '2023-12-25',
address: {
line1: '<string>',
line2: '<string>',
city: '<string>',
region: '<string>',
postal_code: '<string>'
}
},
quantity: 1
})
};
fetch('https://api.imbawallet.com/partner/cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.imbawallet.com/partner/cards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ext_id' => 'card-issue-20260710-003',
'card_product' => 12,
'cardholder' => [
'first_name' => '<string>',
'last_name' => '<string>',
'phone' => '+35795196083',
'email' => 'jsmith@example.com',
'country' => 'CY',
'middle_name' => '<string>',
'birth_date' => '2023-12-25',
'address' => [
'line1' => '<string>',
'line2' => '<string>',
'city' => '<string>',
'region' => '<string>',
'postal_code' => '<string>'
]
],
'quantity' => 1
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.imbawallet.com/partner/cards"
payload := strings.NewReader("{\n \"ext_id\": \"card-issue-20260710-003\",\n \"card_product\": 12,\n \"cardholder\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"phone\": \"+35795196083\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"CY\",\n \"middle_name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"address\": {\n \"line1\": \"<string>\",\n \"line2\": \"<string>\",\n \"city\": \"<string>\",\n \"region\": \"<string>\",\n \"postal_code\": \"<string>\"\n }\n },\n \"quantity\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.imbawallet.com/partner/cards")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ext_id\": \"card-issue-20260710-003\",\n \"card_product\": 12,\n \"cardholder\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"phone\": \"+35795196083\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"CY\",\n \"middle_name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"address\": {\n \"line1\": \"<string>\",\n \"line2\": \"<string>\",\n \"city\": \"<string>\",\n \"region\": \"<string>\",\n \"postal_code\": \"<string>\"\n }\n },\n \"quantity\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.imbawallet.com/partner/cards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ext_id\": \"card-issue-20260710-003\",\n \"card_product\": 12,\n \"cardholder\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"phone\": \"+35795196083\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"CY\",\n \"middle_name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"address\": {\n \"line1\": \"<string>\",\n \"line2\": \"<string>\",\n \"city\": \"<string>\",\n \"region\": \"<string>\",\n \"postal_code\": \"<string>\"\n }\n },\n \"quantity\": 1\n}"
response = http.request(request)
puts response.read_body{
"ext_id": "card-issue-20260710-003",
"order_id": "<string>",
"card_id": "<string>",
"card_product": 123,
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "insufficient_balance",
"message": "<string>"
}{
"error": "insufficient_balance",
"message": "<string>"
}Authorizations
Access token from POST /auth/v1/partner/token
Body
application/json
Partner-side idempotency key (unique per partner)
Required string length:
1 - 128Example:
"card-issue-20260710-003"
Example:
12
KYC for the end customer. Flat aliases address_line1/city/region/postal_code are accepted and normalized into nested address.*. For ban_rus products: phone must not be +7…, country ≠ RU, Latin first/last name.
Show child attributes
Show child attributes
Issue N cards (ext_id, ext_id#2, …); response includes items[]
Required range:
1 <= x <= 20