Payin from bitcoin demo

To get your Merchant ID contact us at support@bitload4u.com


Unique ID for this transaction
We'll redirect you to the given URL
Title Payin from bitcoin
Environment TEST: https://test.bitload4u.com
PROD: https://api.bitload4u.com
URL The URL structure
/payin
Method The request type
POST
Data Params Data type:
{
    merchant_id : [string, required],
    transactionId : [string, required],
    amount : [string, required],
    currency : [string, required],
    redirectUrl : [string],
    logo : [string],
    color: [string]
}
Example:
{
    merchant_id: 'xxxxxxxxxxxxxxxx',
    transactionId: '1499249804422',
    amount: '150',
    currency: 'USD',
    redirectUrl : 'https://test.bitload4u.com'
    logo: 'https://test.bitload4u.com/images/Bitload4u.png',
    color: '#5682a3'
}
Success callback Response Example:
Code: 200
Content:
{
    code : 200,
    status "Success",
    message: "Payin successful"
    response: {
        dateTime: 1499247694329,
        btcPaid : "0.00011251",
        transactionId : "1499249804422",
        amount : "150",
        currency : "USD",
    }
}
Sample Call Just a sample call to endpoint in a runnable format ($.ajax call or a curl request) – this makes life easier and more predictable.

$.ajax({
    url: "https://test.bitload4u.com/payin",
    dataType: "json",
    data : {
        merchant_id: 'xxxxxxxxxxxxxxxx', // required
        transactionId: '1499249804422', // required
        amount: '150', // required
        currency: 'USD', // required
        redirectUrl: 'https://test.bitload4u.com',
        logo: 'https://siteName.com/imageName.png',
        color: '#5682a3'
    },
    type : "POST",
    success : function(response) {
           console.log(response);
        // Render this response
        // in browser
    }
});