curl --request POST \
--url https://crypto.westminister.tech/api/v1/auth/otc/deposits/draft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"method": "bank",
"fiat_amount": "<string>",
"fiat_currency": "<string>",
"idempotency_key": "<string>",
"payment_reference": "<string>",
"proof_url": "<string>",
"transfer_date": "<string>",
"phone_number": "<string>",
"sender_account_name": "<string>",
"sender_account_number_last4": "<string>",
"sender_bank_name": "<string>",
"sender_bank_branch": "<string>",
"receipt_number": "<string>",
"receipt_uploaded_at": "2023-11-07T05:31:56Z",
"proof_file_name": "<string>",
"proof_mime_type": "application/pdf",
"proof_size_bytes": 123,
"proof_file_sha256": "<string>",
"requested_asset": "USDT",
"requested_network": "tron",
"requested_crypto_amount": "<string>",
"pricing_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fx_rate_quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"deposit": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"method": "bank",
"fiat_amount": "<string>",
"fiat_currency": "<string>",
"status": "draft",
"payment_reference": "<string>",
"proof_url": "<string>",
"transfer_date": "2023-11-07T05:31:56Z",
"merchant_request_id": "<string>",
"checkout_request_id": "<string>",
"mpesa_receipt_number": "<string>",
"mpesa_phone_number": "<string>",
"sender_account_name": "<string>",
"sender_account_number_last4": "<string>",
"sender_bank_name": "<string>",
"sender_bank_branch": "<string>",
"receipt_number": "<string>",
"receipt_uploaded_at": "2023-11-07T05:31:56Z",
"proof_file_name": "<string>",
"proof_mime_type": "<string>",
"proof_size_bytes": 123,
"proof_file_sha256": "<string>",
"requested_asset": "<string>",
"requested_network": "<string>",
"requested_crypto_amount": "<string>",
"pricing_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fx_rate_quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed_at": "2023-11-07T05:31:56Z",
"confirmed_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rejected_at": "2023-11-07T05:31:56Z",
"rejected_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rejection_reason": "<string>",
"internal_note": "<string>",
"credited_at": "2023-11-07T05:31:56Z",
"credited_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"usdt_amount": "<string>",
"credited_asset": "<string>",
"credited_crypto_amount": "<string>",
"credited_to_address": "<string>",
"to_wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"idempotency_key": "<string>",
"submitted_at": "2023-11-07T05:31:56Z",
"assigned_to_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"idempotent_replay": true
}Starts the B2B wizard with status: draft (bank only on this path). Merchant completes pricing on PATCH .../quote, then submits for review on POST .../submit.
Optional Idempotency-Key header (or body idempotency_key, max 128 chars). Duplicate key returns 200 with idempotent_replay: true.
curl --request POST \
--url https://crypto.westminister.tech/api/v1/auth/otc/deposits/draft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"method": "bank",
"fiat_amount": "<string>",
"fiat_currency": "<string>",
"idempotency_key": "<string>",
"payment_reference": "<string>",
"proof_url": "<string>",
"transfer_date": "<string>",
"phone_number": "<string>",
"sender_account_name": "<string>",
"sender_account_number_last4": "<string>",
"sender_bank_name": "<string>",
"sender_bank_branch": "<string>",
"receipt_number": "<string>",
"receipt_uploaded_at": "2023-11-07T05:31:56Z",
"proof_file_name": "<string>",
"proof_mime_type": "application/pdf",
"proof_size_bytes": 123,
"proof_file_sha256": "<string>",
"requested_asset": "USDT",
"requested_network": "tron",
"requested_crypto_amount": "<string>",
"pricing_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fx_rate_quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"deposit": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"method": "bank",
"fiat_amount": "<string>",
"fiat_currency": "<string>",
"status": "draft",
"payment_reference": "<string>",
"proof_url": "<string>",
"transfer_date": "2023-11-07T05:31:56Z",
"merchant_request_id": "<string>",
"checkout_request_id": "<string>",
"mpesa_receipt_number": "<string>",
"mpesa_phone_number": "<string>",
"sender_account_name": "<string>",
"sender_account_number_last4": "<string>",
"sender_bank_name": "<string>",
"sender_bank_branch": "<string>",
"receipt_number": "<string>",
"receipt_uploaded_at": "2023-11-07T05:31:56Z",
"proof_file_name": "<string>",
"proof_mime_type": "<string>",
"proof_size_bytes": 123,
"proof_file_sha256": "<string>",
"requested_asset": "<string>",
"requested_network": "<string>",
"requested_crypto_amount": "<string>",
"pricing_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fx_rate_quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed_at": "2023-11-07T05:31:56Z",
"confirmed_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rejected_at": "2023-11-07T05:31:56Z",
"rejected_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rejection_reason": "<string>",
"internal_note": "<string>",
"credited_at": "2023-11-07T05:31:56Z",
"credited_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"usdt_amount": "<string>",
"credited_asset": "<string>",
"credited_crypto_amount": "<string>",
"credited_to_address": "<string>",
"to_wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"idempotency_key": "<string>",
"submitted_at": "2023-11-07T05:31:56Z",
"assigned_to_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"idempotent_replay": true
}Documentation Index
Fetch the complete documentation index at: https://docs.crypto.westminister.tech/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
128Bank-only draft (B2B Tab 1). Same fields as create deposit plus optional idempotency_key.
bank 128YYYY-MM-DD for bank
"application/pdf"
USDT, USDC tron, ethereum