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": "+79991234567",
"email": "jsmith@example.com",
"country": "RU",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
}
}
'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": "+79991234567",
"email": "jsmith@example.com",
"country": "RU",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
}
}
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: '+79991234567',
email: 'jsmith@example.com',
country: 'RU',
middle_name: '<string>',
birth_date: '2023-12-25',
address: {
line1: '<string>',
line2: '<string>',
city: '<string>',
region: '<string>',
postal_code: '<string>'
}
}
})
};
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' => '+79991234567',
'email' => 'jsmith@example.com',
'country' => 'RU',
'middle_name' => '<string>',
'birth_date' => '2023-12-25',
'address' => [
'line1' => '<string>',
'line2' => '<string>',
'city' => '<string>',
'region' => '<string>',
'postal_code' => '<string>'
]
]
]),
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\": \"+79991234567\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"RU\",\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}")
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\": \"+79991234567\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"RU\",\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}")
.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\": \"+79991234567\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"RU\",\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}"
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",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "insufficient_balance",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "insufficient_balance",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Cards
Issue a card
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": "+79991234567",
"email": "jsmith@example.com",
"country": "RU",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
}
}
'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": "+79991234567",
"email": "jsmith@example.com",
"country": "RU",
"middle_name": "<string>",
"birth_date": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>"
}
}
}
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: '+79991234567',
email: 'jsmith@example.com',
country: 'RU',
middle_name: '<string>',
birth_date: '2023-12-25',
address: {
line1: '<string>',
line2: '<string>',
city: '<string>',
region: '<string>',
postal_code: '<string>'
}
}
})
};
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' => '+79991234567',
'email' => 'jsmith@example.com',
'country' => 'RU',
'middle_name' => '<string>',
'birth_date' => '2023-12-25',
'address' => [
'line1' => '<string>',
'line2' => '<string>',
'city' => '<string>',
'region' => '<string>',
'postal_code' => '<string>'
]
]
]),
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\": \"+79991234567\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"RU\",\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}")
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\": \"+79991234567\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"RU\",\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}")
.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\": \"+79991234567\",\n \"email\": \"jsmith@example.com\",\n \"country\": \"RU\",\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}"
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",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "insufficient_balance",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "insufficient_balance",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Access token from POST /auth/v1/partner/token
Body
application/json
⌘I