Skip to content
Coinremitter API docsv1
Sign up

Litecoin API for Payment Integration

Use the Litecoin API to accept Litecoin payments from your own server. Create payment addresses or hosted invoices, get a webhook when you’re paid, check balances and send withdrawals.

Base URL
https://api.coinremitter.com/v1
Network
Mainnet
Symbol
LTC
Plan
All plans

Tools

To try requests with your own API key, import the Postman collection or open the OpenAPI file in Swagger UI. Start with a Test Coin wallet.

Quickstart

  1. Create a Litecoin wallet. In your Coinremitter dashboard, add a Litecoin wallet. You choose its password there.
  2. Copy the API key. Open the wallet and go to its API tab. Each wallet has its own API key and password, and they only work for that wallet.
  3. Make your first call. Replace WALLET_API_KEY and WALLET_API_PASSWORD with your wallet’s API key and password. This returns the wallet’s balance.

All fields: Get Balance. Next: create an invoice to take a payment, or create an address to give to a customer.

curl --request POST \
--url https://api.coinremitter.com/v1/wallet/balance \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD'
Response200
{
    "success": true,
    "data": {
        "wallet_id": "6746c765xxxxxxxxxxxxxx",
        "wallet_name": "LTC-wallet",
        "coin_symbol": "LTC",
        "balance": "84.73000000",
        "remaining_withdraw_limit_24h": "49",
        "minimum_deposit_amount": "0.1"
    }
}

Basics

Base URL
https://api.coinremitter.com/v1. Every endpoint is POST; a GET returns an HTML 404 page, not JSON.
One URL for every coin
The endpoints are the same for all coins. The wallet behind your API key decides which coin you work with.
Request body
JSON (Content-Type: application/json), form-urlencoded or multipart form data. The cURL examples use multipart (--form); the Node.js, PHP and Python examples send JSON.
Amounts
Returned as strings: coin amounts with 8 decimals, fiat amounts with up to 4. Send amounts as strings too, with at most 8 decimals, such as "0.00150000".
Dates
YYYY-MM-DD HH:mm:ss, in UTC.
Timestamps
Unix time. In API responses, fields ending in _timestamp are in milliseconds. In webhooks they’re in seconds.
Success
HTTP 200 with {"success": true, "data": {…}}
Errors
HTTP 4xx or 5xx with {"success": false, "error": "…", "error_code": 1001, "msg": "…"}. Check error_code in your code; msg is for people. Error codes
Success200
{
    "success": true,
    "data": {
        "key1": "value1",
        "key2": "value2",
        "key3": "value3"
    }
}
Error400
{
    "success": false,
    "error": "missing_required_field_or_invalid_value",
    "error_code": 1001,
    "msg": "Invalid invoice id"
}

Authentication

Send your wallet’s API key and password as headers with every call. The rate endpoints don’t need them.

Where to find them
In the dashboard, open the wallet and go to its API tab for the key. The password is the one you set when you created the wallet; you can change it on the same tab.
One wallet, one coin
Each wallet has its own key and password. They only work for that wallet’s coin.
Allowed IPs
Optional. If you list IP addresses in the wallet’s Settings → API access, calls from any other IP are refused.
Premium plan
These coins need an active Premium plan: Ethereum, Tron, USDC ERC20, USDT ERC20, USDT TRC20. Without one, calls return 401.
Withdrawals
Withdraw works only after you turn on API withdrawals on the wallet’s API tab.
Wrong credentials
After 5 failed attempts from one IP, that IP is refused for up to a minute.

If a call is refused

Status · codemsgWhat to do
403 · 1003Please provide API key and passwordSend both headers.
403 · 1003Invalid API key or password.Check both values. A deleted wallet’s key stops working.
401 · 1004Access denied. Your IP is not whitelisted.Add your server’s IP in the wallet’s Settings, or clear the list.
401 · 1004Access denied. You don't have permission to access this api. Please upgrade your membership.This coin needs a Premium plan. Upgrade, or test with TCN.
401 · 1004Your wallet is inactive. Please contact supportContact support. The same applies when the message says suspend.
400 · 1001API withdrawal permission denied.Turn on API withdrawals on the wallet’s API tab.
Request headers
x-api-key: WALLET_API_KEY
x-api-password: WALLET_API_PASSWORD

Rate limits

LimitApplies toOver the limit
100 requests per minute, 500 on a Premium planAll calls with an API key, counted per account across all its wallets429 · 1006 Rate limit exceed.
50 requests per minuteRate endpoints (no API key), per IP and user agent429 · 1006 Rate limit exceed.
One at a timeWithdraw, per wallet. Details429 · 1006 Too many withdraw requests!

Too many requests from one IP in a short time also block that IP for a while (429, Too many requests. Please try again later.). If it keeps happening, the wallet is suspended until support restores it.

Responses include x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-reset (Unix time in seconds when the count resets). Slow down when x-ratelimit-remaining gets close to 0.

Response headers
x-ratelimit-limit: 100
x-ratelimit-remaining: 97
x-ratelimit-reset: 1732080900

Webhooks

We POST to your server when money moves, so you don’t have to poll.

Wallet webhook
Set a webhook URL in the wallet’s Settings tab. We call it when the wallet receives a payment or sends one. Fields
Invoice notification
Set notify_url when you create an invoice. We call it when a payment for the invoice arrives. Fields
Format
POST, multipart/form-data. Every value is a string. Nested fields use brackets, such as total_amount[USD].
Reply
Return HTTP 200 within 5 seconds. Any other status, a redirect or a timeout counts as a failed delivery.
URL test
When you save a webhook URL, or create an invoice with notify_url, we first POST ping=site to it. If it doesn’t answer 200, the save or the invoice fails. The URL must be a public http or https address.
Failures
After 5 failed deliveries in a row, wallet webhooks stop. Fix your server, then save the URL again in the wallet’s Settings to restart them. Webhooks missed while stopped aren’t sent again. If your server was down, check with Get transaction or Get invoice.
Verify
Webhooks aren’t signed. Before you deliver an order, fetch the transaction or invoice again with its id and check the amount and status.
Duplicates
The same transaction can arrive more than once. Use id to process it only once.
Test request
POST /your-webhook-url HTTP/1.1
Content-Type: multipart/form-data

ping=site

Test with Test Coin

Test Coin (TCN) is a free coin on a test network. It works on the free plan and uses the same endpoints, parameters and responses as every other coin, so code you write with TCN works for Litecoin once you switch to that wallet’s API key and password.

  1. In your dashboard, create a Test Coin wallet. It starts with some TCN.
  2. Use its API key and password in the examples on this page, or in the Postman collection or the OpenAPI file.
  3. To test a payment, create a second TCN wallet and pay an address or invoice from it.

TCN has no value. Don’t send real coins to a TCN address; TCN can’t be sent to real wallets.

Test Coin API reference

API Responses: Error Codes With Meanings

Errors return a 4xx or 5xx status with "success": false. Use error_code (or error) in your code; msg explains the cause and can change. Identifiers are spelled exactly as shown.

error_codeHTTPerrorMeaning
1001400missing_required_field_or_invalid_valueThe request was rejected: a parameter is missing or invalid, or the action isn’t possible (for example, insufficient balance). msg says why.
1002500server_errorSomething failed on our side. Try again later.
1003403invalid_credencialThe API key or password is missing or wrong. Authentication
1004401unauthorizeThis call isn’t allowed: for example, a Premium coin without a Premium plan, an IP that isn’t on the wallet’s list, or an inactive wallet. msg says which.
1005404route_not_existsThe endpoint doesn’t exist. Check the path, and use POST.
1006429rate_limit_exceedToo many requests. Wait and try again. Rate limits
1007503service_under_maintenanceThe API is under maintenance. Try again later.
Example error403
{
    "success": false,
    "error": "invalid_credencial",
    "error_code": 1003,
    "msg": "Invalid API key or password."
}

Create New Address

POST/v1/wallet/address/create

Creates a new Litecoin address in your wallet. Give it to a customer to receive a payment, and add a label to tell addresses apart, for example by product or region.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

labelstring

Shown in your dashboard. Up to 20 characters: letters, numbers, spaces and hyphens.

Response

On success: HTTP 200 with "success": true and these fields in data.

wallet_idstring

Wallet id.

wallet_namestring

Wallet name.

coinstring

Coin full name. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

blockchain_network_namestring

Blockchain network name.

contract_addressstring

Contract address of token.

contract_address_urlstring

Explorer url of contract address.

chain_idstring

Blockchain id for EVM coins.

addressstring

It is address where Coins/Tokens is sent or received.

explorer_urlstring

Third party explorer URL where the address can be cross-checked.

labelstring

Label that is assigned to the newly created address.

qr_codestring

Image url of address QR code.

minimum_deposit_amountstring

Minimum deposit amount. Smaller payments aren’t credited.

remaining_address_limitinteger

It indicates remaining address limit for the wallet. If the value is -1, means you have a Premium plan and you can create unlimited addresses from this wallet.

wrn_msgstring

This warning message should display to the user.

expire_onstring

Expiry date of address. How address validity works

expire_on_timestampinteger

Timestamp of expiry time. Unix time in milliseconds.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001You have reached maximum address limit.Reuse an address, or upgrade to Premium.
400 · 1001You can not generate address from this wallet,please contact support.Contact support.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/address/create \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'label=""'
Response200
{
    "success": true,
    "data": {
        "wallet_id": "6746c765xxxxxxxxxxxxxx",
        "wallet_name": "LTC-wallet",
        "coin": "Litecoin",
        "coin_symbol": "LTC",
        "coin_logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/LTC.png",
        "blockchain_network_name": "Mainnet",
        "contract_address": "",
        "contract_address_url": "",
        "chain_id": "1",
        "address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "explorer_url": "https://blockchair.com/litecoin/address/xxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
        "label": "LTC1",
        "qr_code": "https://qr_code.com/qr?margin=1&size=200&text=xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "minimum_deposit_amount": "1",
        "remaining_address_limit": 499,
        "wrn_msg": "",
        "expire_on": "2025-06-21 09:34:07",
        "expire_on_timestamp": 1750498447000
    }
}

Validate Address

POST/v1/wallet/address/validate

Checks that a Litecoin address is valid before you send funds to it, so a typo doesn’t lose the funds.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

addressstringRequired

Address which you want to validate.

Response

On success: HTTP 200 with "success": true and these fields in data.

validboolean

true: If the address format correct.
false: If the address format NOT correct.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/address/validate \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'address=""'
Response200
{
    "success": true,
    "data": {
        "valid": true
    }
}

Estimate Withdrawal Cost

POST/v1/wallet/withdraw/estimate

Calculates what a Litecoin withdrawal would cost before you send it: the amount plus the transaction fee and the processing fee.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

amountstringRequired

Amount the address should receive, up to 8 decimals. Fees are added on top; total_amount in the response is what would leave your wallet.

addressstring

Optional. If you pass it, we check that it’s a valid address.

withdrawal_speedstring

low, medium or priority. Leave it out to use the wallet’s setting.

Response

On success: HTTP 200 with "success": true and these fields in data.

amountstring

Amount want to send.

transaction_feestring

Transactions fee for given amount.

processing_feestring

Processing fee for given amount.

total_amountstring

amount + transaction_fee + processing_fee: what would leave your wallet. 8 decimals.

fees_structureobject

The wallet’s fee rates for this coin.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001Address is invalid.Check the address, or leave it out.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/withdraw/estimate \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'amount=""' \
--form 'address=""' \
--form 'withdrawal_speed=""'
Response200
{
    "success": true,
    "data": {
        "amount": "1.00000000",
        "transaction_fee": "0.10000000",
        "processing_fee": "0.01000000",
        "total_amount": "1.11000000",
        "fees_structure": {
            "transaction_fee": "0.01",
            "processing_fee": "0.23%"
        }
    }
}

Withdraw

POST/v1/wallet/withdraw

Sends Litecoin from your wallet to an external address. Set the speed with withdrawal_speed: low is slower, priority is faster. For a custom speed, open a support ticket.

Withdrawals send real funds and can’t be undone. Call Withdraw from your server. To check fees first, use Estimate withdrawal.

Send one withdrawal at a time per wallet. A request sent while another is running gets 429 Too many withdraw requests!, and after 3 of those within a minute, withdrawals are turned off for the wallet until support turns them back on.

If a request times out, don’t send it again. Check the wallet’s balance with Get Balance, or its transactions in your dashboard, first, because the first request may have gone through.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

addressstringRequired

Destination address. Check it first with Validate address.

amountstringRequired

Amount the address receives, up to 8 decimals. Fees are added on top; total_amount in the response is what leaves your wallet.

withdrawal_speedstring

low, medium or priority. Leave it out to use the wallet’s setting.

Response

On success: HTTP 200 with "success": true and these fields in data.

idstring

Unique ID of withdrawal transaction.

txidstring

Blockchain transaction id. Empty when the withdrawal is waiting for admin approval: it was above the auto withdrawal limit, or the send could not be completed. Once approved it gets a txid; if declined, the full amount including fees is credited back to the wallet.

explorer_urlstring

Third party explorer URL where the transaction status can be cross-checked.

amountstring

Sent or Withdrawn amount to a given address.

transaction_feesstring

The transaction fees that are paid for sending or withdrawing the amount. Current rates are on the fees page.

processing_feesstring

The processing fees that are paid for sending or withdrawing the amount. Current rates are on the fees page.

total_amountstring

amount + transaction_fees + processing_fees: the amount taken from your wallet. 8 decimals.

to_addressstring

It is address where Coins/Tokens is sent or received.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

coinstring

Coin full name. E.g. Litecoin.

datestring

UTC date & time of transaction.

transaction_timestampinteger

Timestamp of transaction created. Unix time in milliseconds.

remaining_withdraw_limit_24hstring

How much you can still withdraw today.

Errors

Every call can also return the authentication and rate limit errors.

Some messages end in a different number of exclamation marks, for example Insufficient balance!, !! or !!!, and Too many withdraw requests! or !!. Rely on error_code and the HTTP status, not on the exact text.

StatusmsgWhat to do
400 · 1001API withdrawal permission denied.Turn on API withdrawals on the wallet’s API tab.
400 · 1001Withdraw disable in Current Wallet.Withdrawals are off for this wallet, for example after too many parallel requests. Contact support.
400 · 1001Withdrawal is temporarily disabled.Withdrawals for this coin are paused. Try again later.
400 · 1001Insufficient balance!!The amount plus fees is more than the balance. Check with Estimate withdrawal.
400 · 1001Minimum withdrawal amount is <min>.Send at least the minimum. It is checked against the amount plus fees.
400 · 1001You can withdraw maximum <n>. / Your daily withdrawal limit is exceeded.The first: the amount is more than what is left of today’s 24-hour limit, and the message shows what you can still withdraw. The second: the whole limit is used up. Get Balance shows remaining_withdraw_limit_24h.
400 · 1001You can not withdraw to own address.The address belongs to one of your Coinremitter wallets or invoices. Send to an external address.
429 · 1006Too many withdraw requests!One withdrawal at a time per wallet. See the note above.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/withdraw \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'amount=""' \
--form 'address=""' \
--form 'withdrawal_speed=""'
Response200
{
    "success": true,
    "data": {
        "id": "674edd35765xxxxxxxxxxxxxx",
        "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "amount": "1.00000000",
        "transaction_fees": "0.10000000",
        "processing_fees": "0.01000000",
        "total_amount": "1.11000000",
        "to_address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "wallet_id": "6746c765xxxxxxxxxxxxxx",
        "wallet_name": "LTC-wallet",
        "coin_symbol": "LTC",
        "coin": "Litecoin",
        "date": "2024-12-03 10:28:05",
        "transaction_timestamp": 1733221685000,
        "remaining_withdraw_limit_24h": "49"
    }
}

Get Transaction

POST/v1/wallet/transaction

Returns one Litecoin transaction by its Coinremitter id (not the blockchain transaction ID), so you can check whether it’s confirmed.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

idstringRequired

Unique id of your transaction. It is not blockchain transaction id. you will get this id from webhook data.

Response

On success: HTTP 200 with "success": true and these fields in data.

idstring

Unique id of transaction.

txidstring

Transaction ID of blockchain transaction. Empty while a withdrawal is waiting for admin approval.

explorer_urlstring

Third party explorer URL where the transaction status can be cross-checked.

typestring

receive: a payment to one of the wallet’s addresses. send: a withdrawal. invoice: a payment to an invoice.

statusstring

pending until the transaction has required_confirmations, then confirm.

status_codeinteger
Numeric version of status.
  • 0pending
  • 1confirm
coinstring

Coin full name. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

addressstring

It is address where Coins/Tokens is sent or received.

labelstring

Label of the address.

amountstring

Amount sent or received, without fees.

confirmationsinteger

Number of confirmation from the blockchain transaction.

required_confirmationsinteger

At least this number of confirmations is required to confirm the transaction.

datestring

UTC date & time of transaction.

transaction_timestampinteger

When the transaction was created. Unix time in milliseconds.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001Invalid transaction idUse the Coinremitter id, not the blockchain txid.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/transaction \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'id=""'
Response200
{
    "success": true,
    "data": {
        "id": "674edd35765xxxxxxxxxxxxxx",
        "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "confirmations": 5,
        "required_confirmations": 3,
        "status": "confirm",
        "status_code": 1,
        "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
        "type": "receive",
        "coin": "Litecoin",
        "coin_symbol": "LTC",
        "wallet_id": "6746c765xxxxxxxxxxxxxx",
        "wallet_name": "LTC-wallet",
        "address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "label": "LTC1",
        "amount": "1.00000000",
        "date": "2024-12-02 09:18:55",
        "transaction_timestamp": 1733131135000
    }
}

Get Transactions By Address

POST/v1/wallet/address/transactions

Lists the transactions on one of your wallet’s Litecoin addresses. It only tracks Coinremitter addresses.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

addressstringRequired

Address

Response

On success: HTTP 200 with "success": true and these fields in data.

coinstring

Coin full name. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

addressstring

It is address where Coins/Tokens is sent or received.

expire_onstring

Expiry date of address.

expire_on_timestampinteger

Timestamp of expiry time. Unix time in milliseconds.

labelstring

Label of the address.

required_confirmationsinteger

At least this number of confirmations is required to confirm the transaction.

confirm_amountstring

Total confirmed amount of address.

pending_amountstring

Total unconfirmed amount of address.

transactionsarray

Transactions on this address. Each item has the fields below.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001This address not registered with system.Only addresses created in this wallet are tracked.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/address/transactions \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'address=""'
Response200
{
    "success": true,
    "data": {
        "coin": "Litecoin",
        "coin_symbol": "LTC",
        "wallet_name": "LTC-wallet",
        "wallet_id": "6746c765xxxxxxxxxxxxxx",
        "address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "expire_on": "2025-05-26 07:16:53",
        "expire_on_timestamp": 1748243813000,
        "label": "LTC1",
        "required_confirmations": 3,
        "confirm_amount": "2.00000000",
        "pending_amount": "0.00000000",
        "transactions": [
            {
                "id": "674edd35765xxxxxxxxxxxxxx",
                "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "confirmations": 3,
                "status": "confirm",
                "status_code": 1,
                "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "type": "receive",
                "amount": "2.00000000",
                "date": "2024-11-29 11:15:20",
                "transaction_timestamp": 1732878920000,
                "confirm_amount": "2.00000000",
                "pending_amount": 0
            }
        ]
    }
}

Get Wallet Balance

POST/v1/wallet/balance

Returns your wallet’s Litecoin balance and how much you can still withdraw today.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Response

On success: HTTP 200 with "success": true and these fields in data.

balancestring

Total balance available in a wallet.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of wallet.

coinstring

Coin full name. E.g. Litecoin

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

blockchain_network_namestring

Blockchain network name.

contract_addressstring

Contract address of token.

contract_address_urlstring

Explorer url of contract address.

chain_idstring

Blockchain id for EVM coins.

explorer_urlstring

Third party explorer URL.

minimum_deposit_amountstring

Minimum deposit amount. Smaller payments aren’t credited.

remaining_withdraw_limit_24hstring

How much you can still withdraw today.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/balance \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD'
Response200
{
    "success": true,
    "data": {
        "wallet_id": "6746c765xxxxxxxxxxxxxx",
        "wallet_name": "LTC-wallet",
        "coin_symbol": "LTC",
        "coin": "Litecoin",
        "coin_logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/LTC.png",
        "blockchain_network_name": "Mainnet",
        "contract_address": "",
        "contract_address_url": "",
        "explorer_url": "https://blockchair.com/litecoin/transaction/",
        "chain_id": "1",
        "remaining_withdraw_limit_24h": "49",
        "balance": "84.73000000",
        "minimum_deposit_amount": "0.1"
    }
}

Create Invoice

POST/v1/invoice/create

Creates a hosted Litecoin payment invoice to share with a customer. Set notify_url and we POST to your server when it’s paid; success_url and fail_url send the payer back to your site.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

amountstringRequired

Invoice amount, up to 8 decimals. In LTC, or in fiat_currency if you set it. Must be within the wallet’s minimum and maximum invoice amount.

namestring

Shown on the invoice. Up to 30 characters: letters, spaces and hyphens. Defaults to the wallet name.

emailstring

We email the invoice to this address. Up to 255 characters.

fiat_currencystring

3-letter fiat code, such as USD, EUR or GBP (). When set, amount is in this currency and is converted to Litecoin at the current rate.

expiry_time_in_minutesinteger

Minutes until the invoice expires. Whole number, 1 or more. Default 1440 (24 hours). There is a maximum; if you go over it, the error tells you the limit.

notify_urlstring

We POST payment updates for this invoice here. When you create the invoice it must answer HTTP 200 to a test request (ping=site), or the call fails. How webhooks work

success_urlstring

Where we send the payer after paying. Must be a valid URL.

fail_urlstring

Where we send the payer if they cancel. Must be a valid URL.

descriptionstring

Shown on the invoice. Up to 250 characters: letters, numbers, spaces, hyphens and line breaks.

custom_data1string

Your own reference, such as an order ID. Returned in the invoice notification and Get invoice. Up to 50 characters: letters, numbers, spaces and . _ -.

custom_data2string

Your own reference, such as an order ID. Returned in the invoice notification and Get invoice. Up to 50 characters: letters, numbers, spaces and . _ -.

Response

On success: HTTP 200 with "success": true and these fields in data.

idstring

Unique ID of Invoice.

invoice_idstring

ID of Invoice.

urlstring

Public URL of invoice.

total_amountobject

Invoice amount in each currency.

paid_amountobject

How much has been paid so far, in each currency.

usd_amountstring

Total invoice amount in USD.

conversion_rateobject

Exchange rates fixed when the invoice was created.

fiat_currencystring

Fiat currency of the invoice, such as USD or EUR. Empty when you didn’t set fiat_currency.

coinstring

Coin full name. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

namestring

Name of the invoice.

descriptionstring

Description of the invoice. It will display on invoice.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

statusstring
Current state of the payment.
  • PendingIf the payment of the invoice is not received, then the invoice status is shown as "Pending". It will be initial status when the invoice is created.
  • PaidWhen invoice is received full amount, invoice status will be shown as "Paid".
  • Under PaidIf the payment of the invoice has been paid in part, the invoice status is shown as "Under Paid".
  • Over PaidIf the payment of the invoice is greater than amount value, the status of the invoice is shown as "Over Paid".
  • ExpiredIf the payment of the invoice does not complete before the expiry time, the status of the invoice is shown as "Expired".
  • CancelledCancelled invoices have status_code 5; the status text reads "Pending". You see this when you fetch the invoice later with Get Invoice.
status_codeinteger
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
payment_historyarray

Payments received for the invoice. Empty when the invoice is created.

notify_urlstring

Payment notification will be sent to this URL. See the example payload.

success_urlstring

If the invoice is successfully paid, the invoice page will be redirected to the success URL.

fail_urlstring

If invoice is cancelled by the user, invoice will be redirected to the failed URL.

expire_onstring

Expiry date of invoice. (UTC time)

expire_on_timestampinteger

Timestamp of expiry time. Unix time in milliseconds.

invoice_datestring

Invoice created date. (UTC time)

invoice_timestampinteger

Timestamp of invoice created date. Unix time in milliseconds.

delete_afterstring

When the invoice is deleted automatically. The period comes from a system setting, so use this date instead of a fixed number of days. Make sure no coins or tokens are sent to the invoice address once it has been deleted.

delete_after_timestampinteger

Timestamp of delete_after date. Unix time in milliseconds.

custom_data1string

Custom data 1 set by you.

custom_data2string

Custom data 2 set by you.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001Invalid currencyfiat_currency isn’t supported. See the list under fiat_currency.
400 · 1001You can create invoice of minimum <min> <COIN> / …maximum <max> <COIN>Keep amount within the wallet’s invoice limits.
400 · 1001Expire time must be less than <n> minutes.Lower expiry_time_in_minutes.
400 · 1001Invalid notify url. Make sure notify url exist and must return 200 HTTP status code of any post request.notify_url must answer our test POST (ping=site) with HTTP 200.
400 · 1001Invalid success url. / Invalid fail url.Use a full, valid URL.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/invoice/create \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'amount="2"' \
--form 'name=""' \
--form 'email=""' \
--form 'fiat_currency=""' \
--form 'expiry_time_in_minutes=""' \
--form 'notify_url=""' \
--form 'success_url=""' \
--form 'fail_url=""' \
--form 'description=""' \
--form 'custom_data1=""' \
--form 'custom_data2=""'
Response200
{
    "success": true,
    "data": {
        "id": "674edd35765xxxxxxxxxxxxxx",
        "invoice_id": "0wBxxxx",
        "url": "https://invoice.coinremitter.com/view/674edd35765xxxxxxxxxxxxxx",
        "total_amount": {
            "LTC": "0.03000000",
            "USD": "10.6293"
        },
        "paid_amount": {
            "LTC": "0.00000000",
            "USD": "0.0000"
        },
        "usd_amount": "10.6293",
        "conversion_rate": {
            "USD_LTC": "0.00282239",
            "LTC_USD": "354.31000000"
        },
        "fiat_currency": "",
        "coin": "Litecoin",
        "coin_symbol": "LTC",
        "name": "LTC-wallet",
        "description": "",
        "wallet_name": "LTC-wallet",
        "wallet_id": "673d6a3fdfxxxxxxxxxxxxxx",
        "status": "Pending",
        "status_code": 0,
        "payment_history": [],
        "success_url": "",
        "fail_url": "",
        "notify_url": "",
        "expire_on": "2024-12-04 10:41:13",
        "expire_on_timestamp": 1733308873000,
        "invoice_date": "2024-12-03 10:41:13",
        "custom_data1": "",
        "custom_data2": "",
        "invoice_timestamp": 1733222473000,
        "delete_after": "2025-06-01 10:41:13",
        "delete_after_timestamp": 1748774473000
    }
}

Get Invoice

POST/v1/invoice/get

Returns a Litecoin invoice’s status and how much has been paid. Use status_code to decide whether to deliver: the status text can differ in capitalisation.

Parameters

Headers

x-api-keystringRequired

Wallet API key

x-api-passwordstringRequired

Wallet API password

Body parameters

invoice_idstringRequired

ID of Invoice.

Response

On success: HTTP 200 with "success": true and these fields in data.

idstring

Unique ID of Invoice.

invoice_idstring

ID of Invoice.

urlstring

Public URL of invoice.

total_amountobject

Invoice amount in each currency.

paid_amountobject

How much has been paid so far, in each currency.

usd_amountstring

Total invoice amount in USD, with 2 decimals.

conversion_rateobject

Exchange rates fixed when the invoice was created.

fiat_currencystring

Fiat currency of the invoice, such as USD or EUR. Empty when you didn’t set fiat_currency.

coinstring

Coin full name. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

namestring

Name of the invoice.

descriptionstring

Description of the invoice. It will display on invoice.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

statusstring
Current state of the payment.
  • PendingIf the payment of the invoice is not received, then the invoice status is shown as "Pending". It will be initial status when the invoice is created.
  • PaidWhen invoice is received full amount, invoice status will be shown as "Paid".
  • Under PaidIf the payment of the invoice has been paid in part, the invoice status is shown as "Under Paid".
  • Over PaidIf the payment of the invoice is greater than amount value, the status of the invoice is shown as "Over Paid".
  • ExpiredIf the payment of the invoice does not complete before the expiry time, the status of the invoice is shown as "Expired".
  • CancelledCancelled invoices have status_code 5; the status text reads "Pending".
status_codeinteger
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
payment_historyarray

Payments received for the invoice.

notify_urlstring

Payment notification will be sent to this URL. See the example payload.

success_urlstring

If the invoice is successfully paid, the invoice page will be redirected to the success URL.

fail_urlstring

If invoice is cancelled by the user, invoice will be redirected to the failed URL.

expire_onstring

Expiry date of invoice. (UTC time)

expire_on_timestampinteger

Timestamp of expiry time. Unix time in milliseconds.

invoice_datestring

Invoice created date. (UTC time)

invoice_timestampinteger

Timestamp of invoice created date. Unix time in milliseconds.

delete_afterstring

When the invoice is deleted automatically. The period comes from a system setting, so use this date instead of a fixed number of days. Make sure no coins or tokens are sent to the invoice address once it has been deleted.

delete_after_timestampinteger

Timestamp of delete_after date. Unix time in milliseconds.

custom_data1string

Same data will return while creating an invoice.

custom_data2string

Same data will return while creating an invoice.

Errors

Every call can also return the authentication and rate limit errors.

StatusmsgWhat to do
400 · 1001Invalid invoice idCheck the invoice id.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/invoice/get \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'invoice_id=""'
Response200
{
    "success": true,
    "data": {
        "id": "674edd35765xxxxxxxxxxxxxx",
        "invoice_id": "FJkxxxx",
        "url": "https://invoice.coinremitter.com/view/674edd35765xxxxxxxxxxxxxx",
        "total_amount": {
            "LTC": "0.03000000",
            "USD": "10.6293"
        },
        "paid_amount": {
            "LTC": "0.01000000",
            "USD": "3.5431"
        },
        "usd_amount": "10.63",
        "conversion_rate": {
            "USD_LTC": "0.00282239",
            "LTC_USD": "354.31000000"
        },
        "fiat_currency": "",
        "coin": "Litecoin",
        "coin_symbol": "LTC",
        "name": "LTC-wallet",
        "description": "",
        "wallet_name": "LTC-wallet",
        "wallet_id": "673d6a3fdfxxxxxxxxxxxxxx",
        "payment_history": [
            {
                "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
                "amount": "0.01000000",
                "date": "2024-11-20 05:34:41",
                "confirmation": 5,
                "required_confirmations": 3
            }
        ],
        "status": "Under Paid",
        "status_code": 2,
        "success_url": "",
        "fail_url": "",
        "notify_url": "",
        "expire_on": "2024-11-21 05:33:57",
        "expire_on_timestamp": 1732167237000,
        "invoice_date": "2024-11-20 05:33:57",
        "custom_data1": "",
        "custom_data2": "",
        "invoice_timestamp": 1732080837000,
        "delete_after": "2025-05-19 05:33:57",
        "delete_after_timestamp": 1747632837000
    }
}

Get Fiat To Crypto Rate

POST/v1/rate/fiat-to-crypto

Converts a fiat amount into coin amounts at the current rate. No API key needed. Leave out crypto to get every active coin. Limit: 50 requests per minute per IP and user agent. Results are cached for 1 minute.

Parameters

Body parameters

fiatstringRequired

3-letter fiat code, such as USD.

fiat_amountstringRequired

Amount in that currency, up to 8 decimals. Must be greater than 0.

cryptostring

Coin symbol, such as BTC or LTC. Leave out for all coins.

Response

On success: HTTP 200 with "success": true. data is an array; every item has these fields.

pricestring

Amount of cryptocurrency.

short_namestring

Short name of cryptocurrency.

namestring

Full name of cryptocurrency.

Errors

Every call can also return the rate limit error.

StatusmsgWhat to do
400 · 1001Invalid crypto symbol / Invalid fiat symbolUse a symbol from Supported Currencies / a 3-letter fiat code.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/rate/fiat-to-crypto \
--form 'fiat=""' \
--form 'fiat_amount=""' \
--form 'crypto=""'
Response200
{
    "success": true,
    "data": [
        {
            "short_name": "ETH",
            "name": "Ethereum",
            "price": "0.01826164"
        },
        {
            "short_name": "BTC",
            "name": "Bitcoin",
            "price": "0.00078409"
        },
        {
            "short_name": "USDTERC20",
            "name": "Tether USD ERC20",
            "price": "50.00000000"
        }
    ]
}

Get Crypto To Fiat Rate

POST/v1/rate/crypto-to-fiat

Converts a coin amount into fiat amounts at the current rate. No API key needed. Leave out fiat to get every supported currency. Limit: 50 requests per minute per IP and user agent. Results are cached for 1 minute.

Parameters

Body parameters

cryptostringRequired

Coin symbol, such as LTC.

crypto_amountstringRequired

Coin amount, up to 8 decimals. Must be greater than 0.

fiatstring

3-letter fiat code. Leave out for all currencies.

Response

On success: HTTP 200 with "success": true. data is an array; every item has these fields.

codestring

Short name of fiat currency. E.g. USD

currencystring

Full name of fiat currency. E.g. United States Dollar

amountstring

Fiat value of the given coin amount, in this currency.

Errors

Every call can also return the rate limit error.

StatusmsgWhat to do
400 · 1001Invalid crypto symbol / Invalid fiat symbolUse a symbol from Supported Currencies / a 3-letter fiat code.
400 · 1001any other msgA parameter is missing or invalid; msg names it.
curl --request POST \
--url https://api.coinremitter.com/v1/rate/crypto-to-fiat \
--form 'crypto=""' \
--form 'crypto_amount=""' \
--form 'fiat=""'
Response200
{
    "success": true,
    "data": [
        {
            "code": "USD",
            "currency": "United States Dollar",
            "amount": "166.84"
        },
        {
            "code": "EUR",
            "currency": "Euro",
            "amount": "154.16"
        },
        {
            "code": "NZD",
            "currency": "New Zealand Dollar",
            "amount": "273.62"
        },
        {
            "code": "SGD",
            "currency": "Singapore Dollar",
            "amount": "225.23"
        }
    ]
}

Get Supported Currencies

POST/v1/rate/supported-currency

Lists every active coin with its network, explorer URL, minimum deposit, USD price and withdrawal fees. No API key needed. Limit: 50 requests per minute per IP and user agent. Results are cached for 1 minute.

Parameters

This endpoint takes no parameters, and needs no API key.

Response

On success: HTTP 200 with "success": true. data is an array; every item has these fields.

coin_symbolstring

Short name of coin. E.g. LTC for Litecoin

coinstring

Full name of coin. E.g. Litecoin

network_namestring

Coin network name. E.g. Mainnet for Litecoin

explorer_urlstring

Third party explorer URL where the transaction status can be cross-checked.

minimum_deposit_amountstring

Minimum deposit amount. Smaller payments aren’t credited.

price_in_usdstring

USD price of 1 Coin.

feesobject

Withdrawal fees by speed.

Errors

Every call can also return the rate limit error.

StatusmsgWhat to do
429 · 1006Rate limit exceed.More than 50 requests a minute from one IP and user agent. See Rate limits.
curl --request POST \
--url https://api.coinremitter.com/v1/rate/supported-currency
Response200
{
    "success": true,
    "data": [
        {
            "coin": "Bitcoin",
            "coin_symbol": "BTC",
            "network_name": "Bitcoin Network",
            "explorer_url": "https://www.blockchain.com/explorer/transactions/btc/",
            "logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/BTC.png",
            "minimum_deposit_amount": "0.00001",
            "price_in_usd": "63768",
            "fees": {
                "low": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.23",
                    "processing_fee": "0.23",
                    "transaction_fee_with_gasstation": "0.002",
                    "processing_fee_with_gasstation": "0.002"
                },
                "medium": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.003",
                    "processing_fee": "0.35",
                    "transaction_fee_with_gasstation": "0.002",
                    "processing_fee_with_gasstation": "0.002"
                },
                "priority": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.005",
                    "processing_fee": "0.5",
                    "transaction_fee_with_gasstation": "0.003",
                    "processing_fee_with_gasstation": "0.003"
                }
            }
        },
        {
            "coin": "Tether USD ERC20",
            "coin_symbol": "USDTERC20",
            "network_name": "USDT ERC20 Network",
            "explorer_url": "https://etherscan.io/tx/",
            "logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/USDTERC20.png",
            "minimum_deposit_amount": "3.1",
            "price_in_usd": "1",
            "fees": {
                "low": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.23",
                    "processing_fee": "0.23",
                    "transaction_fee_with_gasstation": "0.0003",
                    "processing_fee_with_gasstation": "0.22"
                },
                "medium": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.002",
                    "processing_fee": "0.24",
                    "transaction_fee_with_gasstation": "0.0003",
                    "processing_fee_with_gasstation": "0.23"
                },
                "priority": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.003",
                    "processing_fee": "0.2",
                    "transaction_fee_with_gasstation": "0.0004",
                    "processing_fee_with_gasstation": "0.23"
                }
            }
        },
        {
            "coin": "Ethereum",
            "coin_symbol": "ETH",
            "network_name": "Ethereum Coin Network",
            "explorer_url": "https://etherscan.io/tx/",
            "logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/ETH.png",
            "minimum_deposit_amount": "0.00012",
            "price_in_usd": "2737.98",
            "fees": {
                "low": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.00023",
                    "processing_fee": "0.00023",
                    "transaction_fee_with_gasstation": "0.0003",
                    "processing_fee_with_gasstation": "0.12"
                },
                "medium": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.0001",
                    "processing_fee": "0.0009",
                    "transaction_fee_with_gasstation": "0.0004",
                    "processing_fee_with_gasstation": "0.16"
                },
                "priority": {
                    "transaction_fees_type": "flat",
                    "processing_fees_type": "percentage",
                    "transaction_fee": "0.003",
                    "processing_fee": "0.3",
                    "transaction_fee_with_gasstation": "0.0005",
                    "processing_fee_with_gasstation": "0.2"
                }
            }
        }
    ]
}

Wallet Webhook

We POST this data to your webhook URL when your wallet receives or sends a payment. The content type is multipart/form-data.

Reply with HTTP 200 within 5 seconds. Webhooks aren’t signed, so confirm the transaction with Get transaction before you act on it. How webhooks work

Payload fields

idstring

Unique id of your transaction. It is not blockchain transaction id. you will get this id from webhook data.

txidstring

Blockchain transaction ID.

explorer_urlstring

Third party explorer URL where the transaction status can be cross-checked.

merchant_idstring

Unique ID of your account.

typestring
Direction of the transaction.
  • receiveWhen you receive the deposit amount from any address, the type will be shown as "receive".
  • sendWhen you send or withdraw an amount to any address, the type will be shown as "send".
coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

coinstring

Name of coin. E.g. Litecoin.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

labelstring

Label of the address.

addressstring

It is address where Coins/Tokens is sent or received.

amountstring

The amount of transactions that are sent / received.

confirmationsstring

Number of confirmation from the blockchain transaction.

datestring

UTC date & time of transaction.

date_timestampstring

Timestamp of transaction date. Unix time in seconds.

Example payloadmultipart/form-data
{
    "id":"674edd35765xxxxxxxxxxxxxx",
    "txid":"1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "explorer_url":"https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "merchant_id":"6746c765xxxxxxxxxxxxxx",
    "type":"receive",
    "coin_symbol":"LTC",
    "coin":"Litecoin",
    "wallet_id":"874rtd35765xxxxxxxxxxxxxx",
    "wallet_name":"LTC-wallet",
    "label":"address-label",
    "address":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "amount":"2",
    "confirmations":"3",
    "date":"2018-08-17 10:04:13",
    "date_timestamp":"1534480453"
}

Invoice Notify

We POST this data to your notify_url when a payment for an invoice arrives. The content type is multipart/form-data.

Reply with HTTP 200 within 5 seconds. Notifications aren’t signed, so confirm the invoice with Get invoice before you deliver the order. How webhooks work

Payload fields

idstring

Unique ID of Invoice.

invoice_idstring

ID of Invoice.

urlstring

Public URL of invoice.

total_amountobject

Invoice amount in each currency.

paid_amountobject

How much has been paid so far, in each currency.

amountstring

Invoice amount in cryptocurrency.

usd_amountstring

Total invoice amount in USD.

conversion_rateobject

Exchange rates fixed when the invoice was created.

fiat_currencystring

Fiat currency of the invoice, such as USD or EUR. Empty when you didn’t set fiat_currency.

coinstring

Coin full name. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

namestring

Name of the invoice.

descriptionstring

Description of the invoice. It will display on invoice.

wallet_idstring

Unique ID of wallet.

wallet_namestring

Name of the wallet.

merchant_idstring

Unique ID of merchant.

statusstring
Current state of the payment.
  • PendingIf the payment of the invoice is not received, then the invoice status is shown as "Pending". It will be initial status when the invoice is created.
  • PaidWhen invoice is received full amount, invoice status will be shown as "Paid".
  • Under PaidIf the payment of the invoice has been paid in part, the invoice status is shown as "Under Paid".
  • Over PaidIf the payment of the invoice is greater than amount value, the status of the invoice is shown as "Over Paid".
  • ExpiredIf the payment of the invoice does not complete before the expiry time, the status of the invoice is shown as "Expired".
  • CancelledCancelled invoices don't trigger this notification. Get Invoice returns them with status_code 5 and status "Pending".
status_codestring
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
payment_historyarray

Invoice payment history.

notify_urlstring

Payment notification will be sent to this URL. See the example payload.

success_urlstring

If the invoice is successfully paid, the invoice page will be redirected to the success URL.

fail_urlstring

If invoice is cancelled by the user, invoice will be redirected to the failed URL.

expire_onstring

Expiry date of invoice. (UTC time)

expire_on_timestampstring

Timestamp of expiry time. Unix time in seconds.

invoice_datestring

Invoice created date. (UTC time)

invoice_timestampstring

Timestamp of invoice created date. Unix time in seconds.

delete_afterstring

When the invoice is deleted automatically. The period comes from a system setting, so use this date instead of a fixed number of days. Make sure no coins or tokens are sent to the invoice address once it has been deleted.

delete_after_timestampstring

Timestamp of delete_after date. Unix time in seconds.

custom_data1string

Same data will return while creating an invoice.

custom_data2string

Same data will return while creating an invoice.

last_updated_datestring

Date of last Invoice Update.

last_updated_date_timestampstring

Timestamp of last Invoice Update. Unix time in seconds.

Example payloadmultipart/form-data
{
    "id": "674edd35765xxxxxxxxxxxxxx",
    "invoice_id": "FJkxxxx",
    "url": "https://invoice.coinremitter.com/view/674edd35765xxxxxxxxxxxxxx",
    "total_amount": {
        "LTC": "0.03000000",
        "USD": "10.6293"
    },
    "paid_amount": {
        "LTC": "0.01000000",
        "USD": "3.5431"
    },
    "usd_amount": "10.6293",
    "amount": "0.03000000",
    "conversion_rate": {
        "USD_LTC": "0.00282239",
        "LTC_USD": "354.31000000"
    },
    "fiat_currency": "",
    "coin": "Litecoin",
    "coin_symbol": "LTC",
    "name": "LTC-wallet",
    "description": "",
    "wallet_name": "LTC-wallet",
    "wallet_id": "673d6a3fdfxxxxxxxxxxxxxx",
    "merchant_id": "6746c765xxxxxxxxxxxxxx",
    "payment_history": [
        {
            "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
            "amount": "0.01000000",
            "date": "2024-11-20 05:34:41",
            "date_timestamp": "1732080881",
            "confirmation": "5",
            "required_confirmations": "3"
        }
    ],
    "status": "Under Paid",
    "status_code": "2",
    "success_url": "",
    "fail_url": "",
    "notify_url": "",
    "expire_on": "2024-11-21 05:33:57",
    "expire_on_timestamp": "1732167237",
    "invoice_date": "2024-11-20 05:33:57",
    "custom_data1": "",
    "custom_data2": "",
    "invoice_timestamp": "1732080837",
    "delete_after": "2025-11-20 05:33:57",
    "delete_after_timestamp": "1763616837",
    "last_updated_date": "2024-12-03 10:41:13",
    "last_updated_date_timestamp": "1733222473"
}

Pricing Widget Callback

We POST this data to your callback URL when a payment arrives at a pricing widget address. The content type is multipart/form-data.

Payload fields

widget_idstring

Unique id of widget.

widget_namestring

Widget name.

order_idstring

Unique id of order.

plan_namestring

Selected plan name.

wallet_namestring

Wallet name.

wallet_idstring

Wallet id.

widget_typestring

Widget type. E.g. pricing for pricing widget.

coinstring

Name of coin. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

crypto_amountstring

Order amount in crypto.

unit_crypto_amountstring

Crypto amount of single purchase.

fiat_amountstring

Order amount in fiat.

unit_fiat_amountstring

Fiat amount of single purchase.

usd_amountstring

Order amount in USD.

crypto_currencystring

The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.

fiat_currencystring

Fiat currency of the order, such as USD or EUR.

paid_crypto_amountstring

Paid crypto amount.

paid_fiat_amountstring

Paid fiat amount.

order_datastring

Contact details which is fill up by user while purchase the plan.

expire_onstring

Order expiry time.

expire_on_timestampstring

Order expiry timestamp.

status_codestring
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
statusstring
Current state of the payment.
  • PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.
  • PaidWhen order is received full amount, order status will be shown as "Paid".
  • Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".
  • Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".
  • ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".
  • CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
payment_historyarray

Order payment history.

order_datestring

UTC date & time of order.

order_timestampstring

Order timestamp.

Example payloadmultipart/form-data
{
    "widget_id": "xYLxxxxxxx",
    "widget_name": "Pricing Widget",
    "order_id": "RHWxxxxxxx",
    "plan_name": "Growth",
    "wallet_name": "LTC-wallet",
    "wallet_id": "6746c765xxxxxxxxxxxxxx",
    "widget_type": "pricing",
    "coin": "Litecoin",
    "coin_symbol": "LTC",
    "crypto_amount": "0.1",
    "unit_crypto_amount": "0.1",
    "fiat_amount": "99",
    "unit_fiat_amount": "99",
    "usd_amount": "99",
    "crypto_currency": "LTC",
    "fiat_currency": "USD",
    "paid_crypto_amount": "0.1",
    "paid_fiat_amount": "99",
    "order_data": {
      "email_address": "[email protected]",
      "phone_number": "4155550132",
      "phone_number_code": "+1"
    },
    "expire_on": "2025-01-25 11:17:12",
    "expire_on_timestamp": "1737784032",
    "status_code": "2",
    "status": "Under Paid",
    "payment_history": [
      {
        "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "amount": "0.1",
        "confirmation": "8",
        "required_confirmations": "3",
        "date": "2025-02-05 11:32:58",
        "date_timestamp": "1738735378"
      }
    ],
    "order_date": "2025-01-25 10:17:12",
    "order_timestamp": "1737780432"
  }

Presale Widget Callback

We POST this data to your callback URL when a payment arrives at a presale widget address. The content type is multipart/form-data.

Payload fields

widget_idstring

Unique id of widget.

widget_namestring

Widget name.

order_idstring

Unique id of order.

round_namestring

Order created in this round.

wallet_namestring

Wallet name.

wallet_idstring

Wallet id.

widget_typestring

Indicated widget type.e.g Pricing,Presale

coinstring

Name of coin. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

crypto_amountstring

Order amount in crypto.

fiat_amountstring

Order amount in fiat.

usd_amountstring

Order amount in USD.

crypto_currencystring

The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.

fiat_currencystring

Fiat currency of the order, such as USD or EUR.

paid_crypto_amountstring

Paid crypto amount.

paid_fiat_amountstring

Paid fiat amount.

order_token_amountstring

Ordered token's quantity.

bonus_token_amountstring

Bonus token's quantity.

total_token_amountstring

Ordered + Bonus token's quantity.

token_symbolstring

Ordered token's symbol.

token_namestring

Ordered token's name.

conversion_ratestring

Rate conversion. Fiat to token and Crypto to token.

order_datastring

Contact details which is fill up by user while purchase the plan.

expire_onstring

Order expiry time.

expire_on_timestampstring

Order expiry timestamp.

status_codestring
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
statusstring
Current state of the payment.
  • PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.
  • PaidWhen order is received full amount, order status will be shown as "Paid".
  • Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".
  • Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".
  • ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".
  • CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
payment_historyarray

Order payment history.

order_datestring

UTC date & time of order.

order_timestampstring

Order timestamp.

Example payloadmultipart/form-data
{
    "widget_id": "xYLxxxxxxx",
    "widget_name": "Presale Widget",
    "order_id": "RHWxxxxxxx",
    "round_name": "Seed Round",
    "wallet_name": "LTC-wallet",
    "wallet_id": "6746c765xxxxxxxxxxxxxx",
    "widget_type": "presale",
    "coin": "Litecoin",
    "coin_symbol": "LTC",
    "crypto_amount": "0.1",
    "fiat_amount": "99",
    "usd_amount": "99",
    "crypto_currency": "LTC",
    "fiat_currency": "USD",
    "paid_crypto_amount": "0.1",
    "paid_fiat_amount": "100",
    "order_token_amount":"50000",
    "bonus_token_amount":"500",
    "total_token_amount":"50500",
    "token_symbol":"YOYO",
    "token_name":"YOYO Token",
    "conversion_rate":{
        "fiat_to_token":"500",
        "crypto_to_token":"500000"
    },
    "order_data": {
      "email_address": "[email protected]",
      "recipient_wallet_address": "0xxxxxxxxxxxxxxxxxxxxxxxx"
    },
    "expire_on": "2025-01-25 11:17:12",
    "expire_on_timestamp": "1737784032",
    "status_code": "2",
    "status": "Under Paid",
    "payment_history": [
      {
        "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "amount": "0.1",
        "confirmation": "8",
        "required_confirmations": "3",
        "date": "2025-02-05 11:32:58",
        "date_timestamp": "1738735378"
      }
    ],
    "order_date": "2025-01-25 10:17:12",
    "order_timestamp": "1737780432"
  }

Payment Button Widget Callback

We POST this data to your callback URL when a payment arrives at a payment button widget address. The content type is multipart/form-data.

Payload fields

widget_idstring

Unique id of widget.

widget_namestring

Widget name.

order_idstring

Unique id of order.

descriptionstring

Payment button description.

wallet_namestring

Wallet name.

wallet_idstring

Wallet id.

widget_typestring

Widget type. E.g. Payment Button for payment button widget.

coinstring

Name of coin. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

crypto_amountstring

Order amount in crypto.

unit_crypto_amountstring

Crypto amount of single purchase.

fiat_amountstring

Order amount in fiat.

unit_fiat_amountstring

Fiat amount of single purchase.

usd_amountstring

Order amount in USD.

crypto_currencystring

The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.

fiat_currencystring

Fiat currency of the order, such as USD or EUR.

paid_crypto_amountstring

Paid crypto amount.

paid_fiat_amountstring

Paid fiat amount.

order_datastring

Contact details which is fill up by user while purchase the plan.

expire_onstring

Order expiry time.

expire_on_timestampstring

Order expiry timestamp.

status_codestring
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
statusstring
Current state of the payment.
  • PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.
  • PaidWhen order is received full amount, order status will be shown as "Paid".
  • Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".
  • Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".
  • ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".
  • CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
payment_historyarray

Order payment history.

order_datestring

UTC date & time of order.

order_timestampstring

Order timestamp.

Example payloadmultipart/form-data
{
    "widget_id": "xYLxxxxxxx",
    "widget_name": "Donation button",
    "order_id": "RHWxxxxxxx",
    "description": "This test description",
    "wallet_name": "LTC-wallet",
    "wallet_id": "6746c765xxxxxxxxxxxxxx",
    "widget_type": "payment button",
    "coin": "Litecoin",
    "coin_symbol": "LTC",
    "crypto_amount": "0.1",
    "unit_crypto_amount": "0.1",
    "fiat_amount": "99",
    "unit_fiat_amount": "99",
    "usd_amount": "99",
    "crypto_currency": "LTC",
    "fiat_currency": "USD",
    "paid_crypto_amount": "0.1",
    "paid_fiat_amount": "99",
    "order_data": {
      "email_address": "[email protected]",
      "phone_number": "4155550132",
      "phone_number_code": "+1"
    },
    "expire_on": "2025-01-25 11:17:12",
    "expire_on_timestamp": "1737784032",
    "status_code": "2",
    "status": "Under Paid",
    "payment_history": [
      {
        "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "amount": "0.1",
        "confirmation": "8",
        "required_confirmations": "3",
        "date": "2025-02-05 11:32:58",
        "date_timestamp": "1738735378"
      }
    ],
    "order_date": "2025-01-25 10:17:12",
    "order_timestamp": "1737780432"
  }

Payment Page Widget Callback

We POST this data to your callback URL when a payment arrives at a payment page widget address. The content type is multipart/form-data.

Payload fields

widget_idstring

Unique id of widget.

widget_namestring

Widget name.

widget_typestring

Widget type. E.g. Payment Button for payment button widget.

order_idstring

Unique id of order.

wallet_namestring

Wallet name.

wallet_idstring

Wallet id.

coinstring

Name of coin. E.g. Litecoin.

coin_symbolstring

Symbol of coin. E.g. LTC for Litecoin.

crypto_amountstring

Order amount in crypto.

fiat_amountstring

Order amount in fiat.

usd_amountstring

Order amount in USD.

crypto_currencystring

The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.

fiat_currencystring

Fiat currency of the order, such as USD or EUR.

paid_crypto_amountstring

Paid crypto amount.

paid_fiat_amountstring

Paid fiat amount.

orderobject

Order data.

goalobject

Payment page goal information.

expire_onstring

Order expiry time.

expire_on_timestampstring

Order expiry timestamp.

status_codestring
Numeric version of status.
  • 0Pending
  • 1Paid
  • 2Under Paid
  • 3Over Paid
  • 4Expired
  • 5Cancelled
statusstring
Current state of the payment.
  • PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.
  • PaidWhen order is received full amount, order status will be shown as "Paid".
  • Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".
  • Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".
  • ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".
  • CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
payment_historyarray

Order payment history.

page_expirystring

UTC date & time of page expiry.

page_expiry_timestampstring

Page expiry timestamp.

order_datestring

UTC date & time of order.

order_timestampstring

Order timestamp.

Example payloadmultipart/form-data
{
    "widget_id": "xYLxxxxxxx",
    "widget_name": "Digital Store",
    "widget_type": "Payment Page",
    "order_id": "RHWxxxxxxx",
    "wallet_name": "LTC-wallet",
    "wallet_id": "6746c765xxxxxxxxxxxxxx",
    "coin": "Litecoin",
    "coin_symbol": "LTC",
    "crypto_amount": "0.1",
    "fiat_amount": "99",
    "usd_amount": "99",
    "crypto_currency": "LTC",
    "fiat_currency": "USD",
    "paid_crypto_amount": "0.1",
    "paid_fiat_amount": "99",
    "order": {
        "customer" : {
            "email_address": "[email protected]",
            "phone_number": "41555xxxxxx",
            "phone_number_code": "+1"
        },
        "products" : [
            {
                "id": "6448c765xxxxxxxxxxxxxx",
                "name": "iphone 16",
                "quantity": "1",
                "fiat_unit_price": "799",
                "crypto_unit_price": "0.1",
                "remaining_quantity": "50"
            }
        ]
    },
    "goal": {
        "type":"supporter based",
        "target":"500",
        "target_achieved":"450",
        "supporters":"100",
        "end_date":"2025-05-29 12:00",
        "end_date_timestamp":"1748500200"
    },
    "expire_on": "2025-01-25 11:17:12",
    "expire_on_timestamp": "1737784032",
    "status_code": "1",
    "status": "Paid",
    "payment_history": [
      {
        "txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "amount": "0.1",
        "confirmation": "8",
        "required_confirmations": "3",
        "date": "2025-02-05 11:32:58",
        "date_timestamp": "1738735378"
      }
    ],
    "page_expiry": "2025-10-25 10:00:00",
    "page_expiry_timestamp": "1761366600",
    "order_date": "2025-01-25 10:17:12",
    "order_timestamp": "1737780432"
  }

About the Litecoin API

Litecoin API provides a way to add LTC payment functions to a website or app. It can help your platform accept cryptocurrency payments without requiring you to build every payment feature yourself. This guide covers sample API calls and their responses for different operations. The API uses UTC for all dates and times included in its responses.

Start by creating an account on Coinremitter and setting up an LTC wallet. You will need the wallet's API key and password to send requests. Coinremitter allows 100 requests per minute on the free plan and 500 on the premium plan. You can generate payment addresses, create invoices, check balances, view transaction information, and find out whether an invoice has been paid. If your website works with plugins, check whether a suitable option is available for LTC payments. The Coinremitter GitHub page lists repositories you can review for installation details.

Litecoin API FAQs

To create a Litecoin payment invoice, you can use the ‘Create Invoice’ endpoint. You can pass the required data to that endpoint and call the API. After that, you will receive a response. You can get the invoice URL from the response. You can share its link directly with your customer to request payments.

Yes, you can generate multiple Litecoin addresses. With the free plan, you can generate 500 addresses per wallet. With the premium plan, our gateway lets you generate unlimited addresses. This is recommended when you are accepting payments from multiple customers. This helps you with better payment tracking and accounting.

A Litecoin wallet address is unique, and it is used to send and receive funds to a particular wallet. You can simply share or show the address to request payments. On the other hand, a Litecoin invoice is a unique payment URL. You can share that URL with your customer to accept payment from your customer.

To track a Litecoin invoice, you can pass the invoice ID and call the Get Invoice API endpoint. You can click here to learn more about invoice tracking along with the sample response.

Yes. Our crypto payment gateway has the ‘Get Balance’ API endpoint. You can call this API, and it will return the available balance in a particular wallet. The balance will be displayed with the "balance" data.