Ana içeriğe atla
POST
/
customer
/
v2
/
topup
/
confirm
Confirm Top-Up Transaction
curl --request POST \
  --url https://orbitflare.com/api/customer/v2/topup/confirm \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "transaction": "<string>",
  "wallet_address": "<string>",
  "amount": 6
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "balance": 123,
    "amount_credited": 123,
    "invoice_reference": "<string>",
    "transaction_signature": "<string>"
  }
}

Yetkilendirmeler

Authorization
string
header
gerekli

Bearer token from device or wallet auth

Gövde

application/json
transaction
string
gerekli

Base64-encoded signed Solana transaction.

wallet_address
string
gerekli

Wallet that signed the transaction.

Required string length: 32 - 44
amount
number<float>
gerekli

Expected USDC amount (must match on-chain transfer).

Gerekli aralık: x >= 5

Yanıt

Balance credited successfully.

success
boolean
Örnek:

true

message
string
data
object