TradeBP
TradeBP is a service where the user is redirected to the TradeBP platform where he/she can make a deposit in cryptocurrencies. The payment is carried out by redirection.
Currency support
The amount to pay may be specified in EUR or USD, depending on the currency set on the payment service.
If no cryptocurrency is provided in the crypto_currency
field, the payment will request the user to pay in BTC
by default. The following cryptocurrencies are supported: BTC, ETH.
Extra data required
When generating the payment order these fields must be sent for payments via checkout and redirection:
- profile:
first_name
,last_name
,email
,birthdate
- billing_address:
country
- payment:
crypto_currency
Example of the extra_data
:
{
"extra_data": {
"profile": {
"email": "john.doe@gmail.com",
"first_name": "John",
"last_name": "Doe",
"birthdate": "2024-05-01"
},
"address": {
"city": "Castellon",
"country": "ESP",
"address1": "Avinguda del Mar 23",
"zip_code": "12006",
"state_code": "ES"
},
"payment": {
"crypto_currency": "BTC"
}
}
}
Integration
Once the order is generated, the user must be redirected to the payment screen indicating the token of the order and in the query, the name of the APM:
The redirection URL may be constructed by replacing the token with the value returned in the previous call.
https://api.paylands.com/v1/sandbox/payment/process/{token}?apm=CRYPTOHUB