Testing Crypto Transfers
To be able to test transfers in and out of our Crypto Wallets, we recommend setting up and funding a Testnet account. BitMEX and BitPay make it really easy for you to set up and transact through Testnet accounts.

Setting up Testnet

For instance, if you wish to set this up with BitPay, download BitPay on iOS or Android and create an account. Then do the following:
Go to Wallet and click on the dropdown button
Tap on Create a new wallet
Then on Simple Wallet
We recommending doing this for both BTC and ETH so that you can test both blockchains.
Tap on Show advanced options
Enable Testnet
Once done, you will be able to see both wallets:

Funding Crypto Wallet

Before you can send funds out of your Crypto Wallet, please ensure the Crypto Wallet is funded. You can do so by making transfers between your Deposit and Crypto Wallet.
The outcome of this should be that your Crypto Wallet is well funded like the example below:
In this example, we ended up funding for BTC, DAI and ETH so that all three can be tested.

Sending funds to Testnet Wallet

Once your Crypto Wallet is funded, open your BitPay app, then:
Tap on the wallet you wish to send funds to:
Tap on Receive
Copy wallet address
After that, you can use Create SRN Transaction API call to transfer funds to your Testnet wallet. The payload will look like the following, with srn_address being the address of your Testnet wallet.
Wait for the transaction to reach PROCESSING-DEBIT, after that, Execute SRN Transaction.
Once the transaction has been confirmed and processed, the transaction will move to PROCESSING-CREDIT and then SETTLED. Once successful, you will be be able to see the transaction on the blockchain (example). Please note, sometimes it can take upto 30 mins for transactions to settle on testnet.
You will also see the balance in your wallet adjust:
Including the transaction at the bottom:

Receiving funds from Testnet Wallet

To receive funds from your Testnet wallet, first locate your Crypto Wallet addresses via View Node. You will be able to locate your wallet addresses under info.deposit_addresses:
Once located, copy the address you wish to fund, then open your bitpay app. Locate your wallet. Then tap on Send
Then paste your Crypto Wallet address
Once you've entered the amount you wish to transfer, you will see the confirmation screen. Once ready, tap on Click to send.
Then you will be able to see an outgoing payment instruction:
After a few minutes, you will be able to locate this transaction on the blockchain (example). And in next few minutes you will receive a webhook for an incoming EXTERNAL-US transaction. Which would look like this:
1
{
2
"_id": "60a3f81425cc1d39252640b6",
3
"_links": {
4
"self": {
5
"href": "https://uat-api.synapsefi.com/v3.1/users/6063b4af75629600d3ba5ce8/nodes/60773b6020b3aa08b73ac3b0/trans/60a3f81425cc1d39252640b6"
6
}
7
},
8
"_v": 2,
9
"amount": {
10
"amount": 4.295800000000001e+16,
11
"currency": "WEI"
12
},
13
"client": {
14
"id": "6044ff7928057348e865f7a9",
15
"name": "Some Random Company"
16
},
17
"extra": {
18
"asset": "ETH",
19
"created_on": 1621358611456,
20
"group_id": null,
21
"ip": "192.168.0.1",
22
"latlon": "unknown,unknown",
23
"location": {
24
"address_city": null,
25
"address_country_code": null,
26
"address_postal_code": null,
27
"address_subdivision": null,
28
"lat": 0,
29
"lon": 0
30
},
31
"note": "ethereum:0x825b356a6ece1e2153d59017936e6fe5da8ed52e",
32
"other": {
33
"affect_limits": true,
34
"attachments": [],
35
"chargeback_disputed": false,
36
"dispute_form": null,
37
"dispute_meta": {},
38
"dispute_reason": null,
39
"disputed": false,
40
"is_provisional_credit": false
41
},
42
"process_on": 1621358611456,
43
"rate": null,
44
"rate_limit": null,
45
"same_day": false,
46
"settlement_delay": 0,
47
"supp_id": "",
48
"tracking_number": null,
49
"txp_meta": {
50
"amount_types": [],
51
"amounts": [],
52
"payment_code": null,
53
"tax_period_end_date": null,
54
"taxpayer_verification": null,
55
"tin": null
56
}
57
},
58
"fees": [
59
{
60
"fee": 0.0,
61
"note": "Synapse Facilitator Fee",
62
"to": {
63
"id": "55b3f8c686c2732b4c4e9df6"
64
}
65
}
66
],
67
"from": {
68
"id": null,
69
"meta": {
70
"dispute_transaction_id": false,
71
"foreign_transaction": false,
72
"fraud_score": {
73
"reason": null,
74
"score": 0.0
75
},
76
"is_dispute_posting": false,
77
"is_force_post": true,
78
"is_platform_fee": false,
79
"merchant_name": "ethereum:0x825b356a6ece1e2153d59017936e6fe5da8ed52e",
80
"message": null,
81
"network_id": "wyre",
82
"source": null,
83
"type": "CRYPTO"
84
},
85
"nickname": null,
86
"type": "EXTERNAL-US",
87
"user": {
88
"_id": null,
89
"legal_names": [
90
"ethereum:0x825b356a6ece1e2153d59017936e6fe5da8ed52e"
91
]
92
}
93
},
94
"recent_status": {
95
"date": 1621358622055,
96
"note": "next",
97
"status": "SETTLED",
98
"status_id": "4"
99
},
100
"timeline": [
101
{
102
"date": 1621358611456,
103
"note": "Transaction Created.",
104
"status": "CREATED",
105
"status_id": "1"
106
},
107
{
108
"date": 1621358616355,
109
"note": "next",
110
"status": "PROCESSING-DEBIT",
111
"status_id": "2"
112
},
113
{
114
"date": 1621358618776,
115
"note": "next",
116
"status": "PROCESSING-CREDIT",
117
"status_id": "3"
118
},
119
{
120
"date": 1621358622055,
121
"note": "next",
122
"status": "SETTLED",
123
"status_id": "4"
124
}
125
],
126
"to": {
127
"id": "60773b6020b3aa08b73ac3b0",
128
"nickname": "My CRYPTO",
129
"type": "CRYPTO-US",
130
"user": {
131
"_id": "6063b4af75629600d3ba5ce8",
132
"legal_names": [
133
"Test User"
134
]
135
}
136
}
137
}
Copied!
and you will also see the balance update on your Crypto Wallet:
That it! Have fun playing with Crypto ₿!
Last modified 5mo ago