To get your Merchant ID contact us at support@bitload4u.com
| 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.
|