The following information is an overview of basic payment form. You must create a form using the POST method and pointing to https://www.coin2send.com/sci

<form method="POST" action="https://www.coin2send.com/sci">
<input type="hidden" name="account" value="MY_USERNAME">
<input type="hidden" name="store" value="MY STORE NAME">
 <input type="hidden" name="amount" value="0.00025675">
<input type="hidden" name="currency" value="BTC">
<input type="hidden" name="memo" value="Invoice #123">
<input type="hidden" name="custom_1" value="CUSTOM DATA 1">
<input type="hidden" name="custom_2" value="CUSTOM DATA 2">
<input type="hidden" name="custom_3" value="CUSTOM DATA 3">
<input type="hidden" name="custom_4" value="CUSTOM DATA 4">
<input type="hidden" name="success_url" value="http://www.yoursite.com/success.php">
<input type="hidden" name="fail_url" value="http://www.yoursite.com/cancel.php">
<input type="hidden" name="status_url" value="http://www.yoursite.com/status.php">
<button>Pay now!</button>
</form>

Table of parameters

Parameter name Required? Details
account Yes Your Coin2Send username.
store Yes The name of your store or website (50 chars max.)
amount Yes The price of item, up to 8 decimals for cryptocurrencies.
Example: 0.00000531
currency Yes The currency that you would like to use in.
Example: BTC, USD
memo Yes Description of item to purchase (50 max characaters).
Example: Golden membership
custom_1, custom_2... custom_4 No These are custom parameters that will be sent back to your status_url.
success_url No The URL where the user will be redirected after the payment has been completed.
fail_url No The URL where the user will be redirected after the payment has been failed or cancelled by customer.
status_url No The URL where the result details will be POSTed back.

Table of Result Parameters

Parameter name Sent back Details
account Always The receiver of the payment. Your Coin2Send username.
amount Always The price of the item. This amount will be transerred to your account.
currency Always The currency used to pay the item.
Example: BTC, ETH, LTC, USDT
memo Always Description or note about the item purchased.
custom_1, custom_2... custom_4 When set in payment form If you have set any custom parameter, they will be sent back unchanged.
customer Always Username of member who made the payment.
transaction_id Always The unique ID for each transaction. You will see this ID in your transaction history.
hash Always 128 bit MD5 message digest value to verify the authenticity of the payment.

When a payment is completed, you will receive a security hash which is generated using the following formula:

MD5(transaction_id.':'.account.':'.customer.':'.amount.':'.currency.':'.sci_password)
Note: you can set your sci_password in your account panel.

In your status script, you can generate this hash and check if the payment is valid. Below you can find an example in PHP:

<?php
$sci_password = "Your SCI Password Here";

$hash = md5($_POST['transaction_id'].':'.$_POST['account'].':'.$_POST['customer'].':'.$_POST['amount'].':'.$_POST['currency'].':'.$sci_password);

if($hash == $_POST['hash']){

//Payment is valid

}else{

//Payment is invalid

}

Currencies supported

Currency Code Name
BTC Bitcoin
USD United State Dollar

Our buttons