PaymentsCards & Services
Celo
CUSD wallet operations exposed by Cobru's legacy API surface.
Celo support is documented from legacy Spotlight materials and should be treated as an advanced or beta capability until re-verified.
What Cobru exposes
The original Cobru materials describe a Celo / cUSD surface with these operations:
- create or retrieve a wallet with
GET /celo/ - transfer cUSD with
POST /celo/ - retrieve account export details with
POST /celo/account/ - list wallet transactions with
GET /celo/transactions/cusd/ - estimate or purchase cUSD in related helper flows
Recommended audience
Only ship against this surface if your product explicitly needs:
- blockchain settlement visibility
- cUSD treasury operations
- wallet-level transfers between Cobru-managed accounts
For standard checkout, PSE, BRE-B, or QR experiences, stay on Cobrus first.
Example: get or create the wallet
curl -X GET https://dev.cobru.co/celo/ \
-H "x-api-key: $COBRU_API_KEY" \
-H "Authorization: Bearer $COBRU_ACCESS_TOKEN"const response = await fetch('https://dev.cobru.co/celo/', {
method: 'GET',
headers: {
'x-api-key': process.env.COBRU_API_KEY!,
Authorization: `Bearer ${accessToken}`,
},
});
const wallet = await response.json();
console.log(wallet.address, wallet.balance);import requests
response = requests.get(
"https://dev.cobru.co/celo/",
headers={
"x-api-key": COBRU_API_KEY,
"Authorization": f"Bearer {access_token}",
},
)
print(response.json())<?php
use GuzzleHttp\Client;
$client = new Client();
$response = $client->request('GET', 'https://dev.cobru.co/celo/', [
'headers' => [
'x-api-key' => getenv('COBRU_API_KEY'),
'Authorization' => 'Bearer ' . $accessToken,
],
]);
$wallet = json_decode((string) $response->getBody(), true, 512, JSON_THROW_ON_ERROR);
var_dump($wallet);