Update Card Spend Limits
curl --request PUT \
--url https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits', 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.laikipay.com/v1/merchant/cards/{id}/spend-limits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyVirtual Cards API
Update Card Spend Limits
Set per-transaction, daily, monthly, and all-time spending thresholds
PUT
/
cards
/
{id}
/
spend-limits
Update Card Spend Limits
curl --request PUT \
--url https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits', 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.laikipay.com/v1/merchant/cards/{id}/spend-limits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.laikipay.com/v1/merchant/cards/{id}/spend-limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyConfigure granular spending controls on a virtual card. Transactions exceeding these configured limits will be declined automatically.
Response (
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Bearer <accessToken> |
Content-Type | string | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Virtual card ID (crd_...) or unique reference. |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
transactionLimit | number | No | Maximum spend allowed on a single transaction in USD. |
dailyLimit | number | No | Maximum cumulative spend allowed per calendar day in USD. |
monthlyLimit | number | No | Maximum cumulative spend allowed per calendar month in USD. |
allTimeLimit | number | No | Total lifetime spend cap permitted on this card in USD. |
Request Example
cURL
curl -X PUT "https://api.laikipay.com/v1/merchant/cards/crd_8f921ab0c1/spend-limits" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"transactionLimit": 500.00,
"dailyLimit": 1000.00,
"monthlyLimit": 5000.00,
"allTimeLimit": 20000.00
}'
Response (200 OK)
{
"status": "success",
"data": {
"message": "Card spend limits updated successfully",
"cardId": "crd_8f921ab0c1",
"spendLimits": {
"transactionLimit": 500.0,
"dailyLimit": 1000.0,
"monthlyLimit": 5000.0,
"allTimeLimit": 20000.0
}
},
"timestamp": "2026-10-12T07:30:00.000Z",
"path": "/api/v1/merchant/cards/crd_8f921ab0c1/spend-limits"
}

