curl --request POST \
--url https://dev.cashweb.cash/api/v1/partner/transactions \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"crypto_currency": "usdt",
"merchant_reference": "order-4551",
"network": "bep20",
"fiat_amount": "49000.00",
"merchant_id": "mrc_001",
"quote_id": "9f8ad58e-f8d5-4e4f-b3f2-f44eaf8f95d1",
"seller_phone": "08031234567",
"terminal_id": "term_01"
}
'{
"data": {
"amount": "161500.00",
"crypto_amount": "100.00",
"crypto_currency": "usdt",
"deposit_address": "0x9d8D32b6D7DfDdAb66f6a79b9dA8fA2E30A91B7a",
"expires_at": "2026-02-12T12:00:00Z",
"id": "01917f00-7b4c-7f56-8a2b-15998d58c9f3",
"merchant_id": "mrc_001",
"merchant_reference": "order-4551",
"network": "bep20",
"rate": "1615.00",
"status": "awaiting_deposit",
"terminal_id": "term_01"
},
"success": true
}Creates a partner transaction and reserves a deposit address. Use Idempotency-Key for safe retries and provide a canonical merchant_reference for recovery lookups. Request pricing must use either quote mode (quote_id) or direct mode (fiat_amount + crypto_currency + network).
curl --request POST \
--url https://dev.cashweb.cash/api/v1/partner/transactions \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"crypto_currency": "usdt",
"merchant_reference": "order-4551",
"network": "bep20",
"fiat_amount": "49000.00",
"merchant_id": "mrc_001",
"quote_id": "9f8ad58e-f8d5-4e4f-b3f2-f44eaf8f95d1",
"seller_phone": "08031234567",
"terminal_id": "term_01"
}
'{
"data": {
"amount": "161500.00",
"crypto_amount": "100.00",
"crypto_currency": "usdt",
"deposit_address": "0x9d8D32b6D7DfDdAb66f6a79b9dA8fA2E30A91B7a",
"expires_at": "2026-02-12T12:00:00Z",
"id": "01917f00-7b4c-7f56-8a2b-15998d58c9f3",
"merchant_id": "mrc_001",
"merchant_reference": "order-4551",
"network": "bep20",
"rate": "1615.00",
"status": "awaiting_deposit",
"terminal_id": "term_01"
},
"success": true
}Idempotency key for safe retries
Create a partner transaction. Use either quote mode (quote_id) or direct mode (fiat_amount + crypto_currency + network).
Token symbol (only for direct mode).
"usdt"
Canonical partner reference for recovery and reconciliation.
1 - 255"order-4551"
Network expected for this transaction.
"bep20"
Fiat amount in NGN (only for direct mode).
"49000.00"
Merchant identifier from partner systems.
"mrc_001"
Quote identifier previously returned from /quotes.
"9f8ad58e-f8d5-4e4f-b3f2-f44eaf8f95d1"
Seller phone for assisted flow.
"08031234567"
Terminal identifier from partner systems.
"term_01"
Transaction created successfully
Standard API response wrapper for all successful responses