Top up a card (USDT debit from partner balance)
curl --request POST \
--url https://api.imbawallet.com/partner/cards/{card_id}/topups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount_usdt": "12.50",
"ext_id": "card-issue-20260710-003"
}
'import requests
url = "https://api.imbawallet.com/partner/cards/{card_id}/topups"
payload = {
"amount_usdt": "12.50",
"ext_id": "card-issue-20260710-003"
}
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({amount_usdt: '12.50', ext_id: 'card-issue-20260710-003'})
};
fetch('https://api.imbawallet.com/partner/cards/{card_id}/topups', 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/{card_id}/topups",
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([
'amount_usdt' => '12.50',
'ext_id' => 'card-issue-20260710-003'
]),
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/{card_id}/topups"
payload := strings.NewReader("{\n \"amount_usdt\": \"12.50\",\n \"ext_id\": \"card-issue-20260710-003\"\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/{card_id}/topups")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount_usdt\": \"12.50\",\n \"ext_id\": \"card-issue-20260710-003\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.imbawallet.com/partner/cards/{card_id}/topups")
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 \"amount_usdt\": \"12.50\",\n \"ext_id\": \"card-issue-20260710-003\"\n}"
response = http.request(request)
puts response.read_body{
"ext_id": "card-issue-20260710-003",
"topup_id": "<string>",
"card_id": "<string>",
"amount": "12.50",
"fee": "12.50",
"status": "accepted",
"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
Top up a card (USDT debit from partner balance)
POST
/
partner
/
cards
/
{card_id}
/
topups
Top up a card (USDT debit from partner balance)
curl --request POST \
--url https://api.imbawallet.com/partner/cards/{card_id}/topups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount_usdt": "12.50",
"ext_id": "card-issue-20260710-003"
}
'import requests
url = "https://api.imbawallet.com/partner/cards/{card_id}/topups"
payload = {
"amount_usdt": "12.50",
"ext_id": "card-issue-20260710-003"
}
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({amount_usdt: '12.50', ext_id: 'card-issue-20260710-003'})
};
fetch('https://api.imbawallet.com/partner/cards/{card_id}/topups', 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/{card_id}/topups",
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([
'amount_usdt' => '12.50',
'ext_id' => 'card-issue-20260710-003'
]),
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/{card_id}/topups"
payload := strings.NewReader("{\n \"amount_usdt\": \"12.50\",\n \"ext_id\": \"card-issue-20260710-003\"\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/{card_id}/topups")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount_usdt\": \"12.50\",\n \"ext_id\": \"card-issue-20260710-003\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.imbawallet.com/partner/cards/{card_id}/topups")
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 \"amount_usdt\": \"12.50\",\n \"ext_id\": \"card-issue-20260710-003\"\n}"
response = http.request(request)
puts response.read_body{
"ext_id": "card-issue-20260710-003",
"topup_id": "<string>",
"card_id": "<string>",
"amount": "12.50",
"fee": "12.50",
"status": "accepted",
"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
Path Parameters
Example:
"00112233445566778899aabb"
Body
application/json
Response
Topup accepted
Partner-side idempotency key (unique per partner)
Required string length:
1 - 128Example:
"card-issue-20260710-003"
Pattern:
^-?\d+(\.\d+)?$Example:
"12.50"
Pattern:
^-?\d+(\.\d+)?$Example:
"12.50"
Example:
"accepted"
Correlation id for support
⌘I