Callback Examples

Deposit Callbacks

To provide authentication for the callback, coinspaid API signs the POST your api key and secret:
    1.
    X-Processing-Key – Your public key
    2.
    X-Processing-Signature – POST body, signed by your secret key HMAC-SHA512
BTC
ETH
ERC20
Deposit BTC with exchange to EUR
1
{
2
"id": 1,
3
"type": "deposit",
4
"crypto_address": {
5
"id": 1,
6
"currency": "BTC",
7
"address": "39mFf3X46YzUtfdwVQpYXPCMydc74ccbAZ",
8
"foreign_id": "user-id:2048",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "6.53157512"
14
},
15
"currency_received": {
16
"currency": "BTC",
17
"amount": "6.53157512",
18
"amount_minus_fee": "6.5119800"
19
},
20
"transactions": [
21
{
22
"id": 1,
23
"currency": "BTC",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "39mFf3X46YzUtfdwVQpYXPCMydc74ccbAZ",
27
"tag": null,
28
"amount": "6.53157512",
29
"txid": "3950ad8149421a850d01dff88f024810e363ac18c9e8dd9bc0b9116e7937ad93",
30
"riskscore": "0.5",
31
"confirmations": 3
32
}
33
],
34
"fees": [
35
{
36
"type": "deposit",
37
"currency": "BTC",
38
"amount": "0.01959472"
39
}
40
],
41
"error": "",
42
"status": "confirmed"
43
}
Copied!
1
{
2
"id": 2686563,
3
"type": "deposit",
4
"crypto_address": {
5
"id": 381738,
6
"currency": "ETH",
7
"address": "0xd61180ff0cf74dc3ee8e264751f18c47060729b9",
8
"tag": null,
9
"foreign_id": "991904"
10
},
11
"currency_sent": {
12
"currency": "ETH",
13
"amount": "0.01000000"
14
},
15
"currency_received": {
16
"currency": "ETH",
17
"amount": "0.01000000",
18
"amount_minus_fee": "0.00939500"
19
},
20
"transactions": [
21
{
22
"id": 714657,
23
"currency": "ETH",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "0xd61180ff0cf74dc3ee8e264751f18c47060729b9",
27
"tag": null,
28
"amount": "0.01000000",
29
"txid": "0x6b353da88a8ba2df4926c1ccc58991f484a683ba57ec3dde70e812b5c8c7fa1d",
30
"confirmations": "9"
31
}
32
],
33
"fees": [
34
{
35
"type": "transfer",
36
"currency": "ETH",
37
"amount": "0.00010500"
38
},
39
{
40
"type": "deposit",
41
"currency": "ETH",
42
"amount": "0.00050000"
43
}
44
],
45
"error": "",
46
"status": "confirmed"
47
}
Copied!
1
{
2
"id": 2686567,
3
"type": "deposit",
4
"crypto_address": {
5
"id": 382357,
6
"currency": "NNM",
7
"address": "0x19722627885da3fff134dd36de0a14898c8e053b",
8
"tag": null,
9
"foreign_id": "31"
10
},
11
"currency_sent": {
12
"currency": "NNM",
13
"amount": "0.06000000"
14
},
15
"currency_received": {
16
"currency": "NNM",
17
"amount": "0.06000000",
18
"amount_minus_fee": "0.05910000"
19
},
20
"transactions": [
21
{
22
"id": 714662,
23
"currency": "NNM",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "0x19722627885da3fff134dd36de0a14898c8e053b",
27
"tag": null,
28
"amount": "0.06000000",
29
"txid": "0x835c9f286a311bc9df8c94c2771cadf1d91e6967039358a44e24c56115dc59a1",
30
"confirmations": "7"
31
}
32
],
33
"fees": [
34
{
35
"type": "transfer",
36
"currency": "ETH",
37
"amount": "0.00037336"
38
},
39
{
40
"type": "deposit",
41
"currency": "NNM",
42
"amount": "0.00090000"
43
}
44
],
45
"error": "",
46
"status": "confirmed"
47
}
Copied!
1
{
2
"id": 2686510,
3
"type": "deposit_exchange",
4
"crypto_address": {
5
"id": 382270,
6
"currency": "BTC",
7
"convert_to": "EUR",
8
"address": "31vnLqxVJ1iShJ5Ly586q8XKucECx12bZS",
9
"tag": null,
10
"foreign_id": "13a"
11
},
12
"currency_sent": {
13
"currency": "BTC",
14
"amount": "0.01000000"
15
},
16
"currency_received": {
17
"currency": "EUR",
18
"amount": "84.17070222",
19
"amount_minus_fee": "79.96216711"
20
},
21
"transactions": [
22
{
23
"id": 714576,
24
"currency": "BTC",
25
"transaction_type": "blockchain",
26
"type": "deposit",
27
"address": "31vnLqxVJ1iShJ5Ly586q8XKucECx12bZS",
28
"tag": null,
29
"amount": "0.01000000",
30
"txid": "3a491da90a1ce5a318d0aeff6867ab98a03219abae29ed68d702291703c3538b",
31
"riskscore": "0.42",
32
"confirmations": "1"
33
},
34
{
35
"id": 714577,
36
"currency": "BTC",
37
"currency_to": "EUR",
38
"transaction_type": "exchange",
39
"type": "exchange",
40
"amount": "0.01000000",
41
"amount_to": "84.17070222"
42
}
43
],
44
"fees": [
45
{
46
"type": "exchange",
47
"currency": "EUR",
48
"amount": "4.20853511"
49
}
50
],
51
"error": "",
52
"status": "confirmed"
53
}
Copied!
"riskscore" is used for coin compliance analysis and to reveal and track malicious behavior. Available for deposits and deposits with exchange in BTC, BCH, ETH.

Withdrawal Callbacks

BTC
ETH
ERC20
Withdraw EUR with exchange to BTC
1
{
2
"id": 1,
3
"foreign_id": "10",
4
"type": "withdrawal",
5
"crypto_address": {
6
"id": 1,
7
"currency": "BTC",
8
"address": "115Mn1jCjBh1CNqug7yAB21Hq2rw8PfmTA",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.02000000"
14
},
15
"currency_received": {
16
"currency": "BTC",
17
"amount": "0.02000000"
18
},
19
"transactions": [
20
{
21
"id": 1,
22
"currency": "BTC",
23
"transaction_type": "blockchain",
24
"type": "withdrawal",
25
"address": "115Mn1jCjBh1CNqug7yAB21Hq2rw8PfmTA",
26
"tag": null,
27
"amount": "0.02",
28
"txid": "bb040d895ef7141ea0b06b04227d8f5dd4ee12d5b890e6e5633f6439393a666b",
29
"confirmations": 3
30
}
31
],
32
"fees": [
33
{
34
"type": "mining",
35
"currency": "BTC",
36
"amount": "0.00007402"
37
},
38
{
39
"type": "withdrawal",
40
"currency": "BTC",
41
"amount": "0.00002000"
42
}
43
],
44
"error": "",
45
"status": "confirmed"
46
}
Copied!
1
{
2
"id": 2686565,
3
"foreign_id": "23",
4
"type": "withdrawal",
5
"crypto_address": {
6
"id": 381460,
7
"currency": "ETH",
8
"address": "0x2D6CA312567986C08CC4eF3F706136D1c9eF0321",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "ETH",
13
"amount": "0.01000000"
14
},
15
"currency_received": {
16
"currency": "ETH",
17
"amount": "0.01000000"
18
},
19
"transactions": [
20
{
21
"id": 714660,
22
"currency": "ETH",
23
"transaction_type": "blockchain",
24
"type": "withdrawal",
25
"address": "0x2D6CA312567986C08CC4eF3F706136D1c9eF0321",
26
"tag": null,
27
"amount": "0.01000000",
28
"txid": "0x1ccb9fa0ef5e8cf7d4cc2a23fe8119170a2a3d08fba36036665a12c88d7bcccb",
29
"confirmations": "0"
30
}
31
],
32
"fees": [
33
{
34
"type": "mining",
35
"currency": "ETH",
36
"amount": "0.00010500"
37
},
38
{
39
"type": "withdrawal",
40
"currency": "ETH",
41
"amount": "0.00010000"
42
}
43
],
44
"error": "",
45
"status": "confirmed"
46
}
Copied!
1
{
2
"id": 2686572,
3
"foreign_id": "5",
4
"type": "withdrawal",
5
"crypto_address": {
6
"id": 381734,
7
"currency": "NNM",
8
"address": "0x2D6CA312567986C08CC4eF3F706136D1c9eF0321",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "NNM",
13
"amount": "4.45600000"
14
},
15
"currency_received": {
16
"currency": "NNM",
17
"amount": "4.45600000"
18
},
19
"transactions": [
20
{
21
"id": 714670,
22
"currency": "NNM",
23
"transaction_type": "blockchain",
24
"type": "withdrawal",
25
"address": "0x2D6CA312567986C08CC4eF3F706136D1c9eF0321",
26
"tag": null,
27
"amount": "4.45600000",
28
"txid": "0x884ad10cc60dfe0d6fdc776b541c5c5efce6151886a88994bb4ba41aa9575563",
29
"confirmations": "0"
30
}
31
],
32
"fees": [
33
{
34
"type": "mining",
35
"currency": "ETH",
36
"amount": "0.00007480"
37
},
38
{
39
"type": "withdrawal",
40
"currency": "NNM",
41
"amount": "0.04456000"
42
}
43
],
44
"error": "",
45
"status": "confirmed"
46
}
Copied!
1
{
2
"id": 1,
3
"foreign_id": "20",
4
"type": "withdrawal_exchange",
5
"crypto_address": {
6
"id": 1,
7
"currency": "EUR",
8
"convert_to": "BTC",
9
"address": "1K2btnZ8cqNFBPhaq729Mdj8W6G3w2nBbL",
10
"tag": null
11
},
12
"currency_sent": {
13
"currency": "EUR",
14
"amount": "381"
15
},
16
"currency_received": {
17
"currency": "BTC",
18
"amount": "0.10882300"
19
},
20
"transactions": [
21
{
22
"id": 1,
23
"currency": "EUR",
24
"currency_to": "BTC",
25
"transaction_type": "exchange",
26
"type": "exchange",
27
"amount": 381,
28
"amount_to": 0.10882300
29
},
30
{
31
"id": 1,
32
"currency": "BTC",
33
"transaction_type": "blockchain",
34
"type": "withdrawal",
35
"address": "1K2btnZ8cqNFBPhaq729Mdj8W6G3w2nBbL",
36
"tag": null,
37
"amount": 0.10882300,
38
"txid": "aa3345b96389e126f1ce88a670d1b1e38f2c3f73fb3ecfff8d9da1b1ce6964a6",
39
"confirmations": 3
40
}
41
],
42
"fees": [
43
{
44
"type": "exchange",
45
"currency": "EUR",
46
"amount": "3.04800000"
47
},
48
{
49
"type": "mining",
50
"currency": "EUR",
51
"amount": "0.04489780"
52
}
53
],
54
"error": "",
55
"status": "confirmed"
56
}
Copied!

Exchange Callbacks

Buy BTC for EUR
Sell BTC for USD
1
{
2
"id": 2686900,
3
"type": "exchange",
4
"currency_sent": {
5
"currency": "EUR",
6
"amount": "26.75248865"
7
},
8
"currency_received": {
9
"currency": "BTC",
10
"amount": "0.00300000"
11
},
12
"transactions": [
13
{
14
"id": 715072,
15
"currency": "EUR",
16
"currency_to": "BTC",
17
"transaction_type": "exchange",
18
"type": "exchange",
19
"amount": "26.75248865",
20
"amount_to": "0.00300000"
21
}
22
],
23
"fees": [
24
{
25
"type": "exchange",
26
"currency": "EUR",
27
"amount": "0.26752489"
28
}
29
],
30
"error": "",
31
"status": "confirmed"
32
}
Copied!
1
{
2
"id": 2686901,
3
"type": "exchange",
4
"currency_sent": {
5
"currency": "BTC",
6
"amount": "0.00300000"
7
},
8
"currency_received": {
9
"currency": "USD",
10
"amount": "29.50408884"
11
},
12
"transactions": [
13
{
14
"id": 715072,
15
"currency": "BTC",
16
"currency_to": "USD",
17
"transaction_type": "exchange",
18
"type": "exchange",
19
"amount": "0.00300000",
20
"amount_to": "29.50408884"
21
}
22
],
23
"fees": [
24
{
25
"type": "exchange",
26
"currency": "USD",
27
"amount": "0.29504089"
28
}
29
],
30
"error": "",
31
"status": "confirmed"
32
}
Copied!

Futures Callback

Calculate rates for futures
Confirm futures transaction request
Confirm futures transaction response
Buy BTC for ETH future example
1
{
2
"data": {
3
"addresses": [
4
{
5
"id": 1350020,
6
"currency": "BTC",
7
"convert_to": "EUR",
8
"address": "your_deposit_address",
9
"tag": null
10
}
11
],
12
"ts_fixed": 1584005304,
13
"ts_release": 1584005904,
14
"rates": {
15
"BTCEUR": {
16
"100.00000000": "6495.27045000",
17
"500.00000000": "6495.27045000",
18
"1000.00000000": "6495.26249000",
19
"5000.00000000": "6495.26149500",
20
"10000.00000000": "6494.86379350",
21
"50000.00000000": "6494.08501695",
22
"100000.00000000": "0.00000000"
23
}
24
}
25
}
26
}
Copied!
1
{
2
"address": "your_deposit_address",
3
"sender_currency": "BTC",
4
"receiver_currency": "EUR",
5
"receiver_amount": 100
6
}
Copied!
1
{
2
"data": {
3
"futures_id": 29,
4
"sender_currency": "BTC",
5
"receiver_currency": "EUR",
6
"fee_currency": "EUR",
7
"price": "6495.27045000",
8
"address": {
9
"id": 1350020,
10
"currency": "BTC",
11
"convert_to": "EUR",
12
"address": "your_deposit_address",
13
"tag": null
14
},
15
"sender_amount": "0.01539581",
16
"receiver_amount": "100.00000000",
17
"fee_amount": "1.50000000",
18
"ts_fixed": 1584005304,
19
"ts_release": 1584005904
20
}
21
}
Copied!
1
{
2
"id":2688873,
3
"type":"deposit_exchange",
4
"crypto_address":{
5
"id":384708,
6
"currency":"ETH",
7
"convert_to":"BTC",
8
"address":"0x4b41a526d3d12de36bdf969e7b70fd0bd2e0d263",
9
"tag":null,
10
"foreign_id":"hfjs781"
11
},
12
"currency_sent":{
13
"currency":"ETH",
14
"amount":"0.11129846"
15
},
16
"currency_received":{
17
"currency":"BTC",
18
"amount":"0.00300000",
19
"amount_minus_fee":"0.00299944"
20
},
21
"transactions":[
22
{
23
"id":717555,
24
"currency":"ETH",
25
"transaction_type":"blockchain",
26
"type":"deposit",
27
"address":"0x4b41a526d3d12de36bdf969e7b70fd0bd2e0d263",
28
"tag":null,
29
"amount":"0.11129846",
30
"txid":"0x19f8094e12dfc6cb14910d6057269d10f39dfdc7c8b0d0e22b789c3e5d03b9e5",
31
"confirmations":"13"
32
},
33
{
34
"id":717556,
35
"currency":"ETH",
36
"currency_to":"BTC",
37
"transaction_type":"exchange",
38
"type":"exchange",
39
"amount":"0.11129846",
40
"amount_to":"0.00300000"
41
}
42
],
43
"fees":[
44
{
45
"type":"transfer",
46
"currency":"BTC",
47
"amount":"0.00000056"
48
},
49
{
50
"type":"exchange",
51
"currency":"ETH",
52
"amount":"0.00667791"
53
}
54
],
55
"error":"",
56
"status":"confirmed",
57
"futures_id":95,
58
"transaction_id":2688873
59
}
Copied!

Invoices

Invoice types callbacks

1st Type of Invoice request
1st Type of Invoice response
2nd Type of Invoice request
2nd Type of Invoice response
3rd Type of Invoice request
3rd Type of Invoice response
1
"timer": false,
2
"title": "Invoice Title",
3
"currency": "EUR",
4
"amount": 106.75,
5
"foreign_id": "196",
6
"url_success": "http://success.test",
7
"url_failed": "http://failed.test",
8
"email_user": "[email protected]"
Copied!
1
{
2
"data":{
3
"id": 127,
4
"url": "https://wallet.coinspaid.com/invoice/iEU3uh",
5
"foreign_id": "196",
6
"address": null,
7
"title": "Invoice Title",
8
"status": "created",
9
"currency": "EUR",
10
"amount": "106.75000000",
11
"sender_currency": null,
12
"sender_amount": null,
13
"fixed_at": null,
14
"release_at": null,
15
"seconds_left": null
16
}
17
}
Copied!
1
"timer": true,
2
"title": "Invoice Title",
3
"currency": "BTC",
4
"amount": 0.02,
5
"foreign_id": "197",
6
"url_success": "http://success.test",
7
"url_failed": "http://failed.test",
8
"email_user": "[email protected]"
Copied!
1
{
2
"data": {
3
"id": 26,
4
"url": "https://wallet.coinspaid.com/invoice/XJrbOG",
5
"foreign_id": "197",
6
"address": null,
7
"title": "Invoice Title",
8
"status": "pending",
9
"currency": "BTC",
10
"amount": "0.01000000",
11
"sender_currency": null,
12
"sender_amount": null,
13
"fixed_at": 1592315493,
14
"release_at": 1592316393,
15
"seconds_left": 899
16
}
17
}
Copied!
1
"timer": true,
2
"title": "Invoice Title",
3
"description": "Invoice description",
4
"currency": "EUR",
5
"sender_currency": "BTC",
6
"amount": 35,
7
"foreign_id": "200",
8
"url_success": "http://success.test",
9
"url_failed": "http://failed.test",
10
"email_user": "[email protected]"
Copied!
1
"data":{
2
"id": 28,
3
"url": "https://wallet.coinspaid.com/invoice/zeUBm1",
4
"foreign_id": "200",
5
"address": "2NCMFo2k7S8HSDWp6qwQ2wiAMwz3XwEC4Gp",
6
"title": "Invoice Title",
7
"status": "pending",
8
"currency": "EUR",
9
"amount": "35.00000000",
10
"sender_currency": "BTC",
11
"sender_amount": "0.00413945",
12
"fixed_at": 1592316313,
13
"release_at": 1592317213,
14
"seconds_left": 899
15
}
16
}
Copied!

Invoice payment callbacks

Successful payment
Transaction is in the mempool
Invoice payment by installments
Timer expired
Processing status for more than 24 hours
Payment is lesser than invoice amount
1
{
2
"id": 588,
3
"foreign_id": "8FW1KI7LesB9yxWcK1K",
4
"type": "invoice",
5
"crypto_address": {
6
"id": 386897,
7
"currency": "BTC",
8
"address": "2Mvo6FMduhHz1BTDHsQ5GyRoifcG3y4ycpk",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.02000000",
14
"remaining_amount": "0.01000000"
15
},
16
"currency_received": {
17
"currency": "BTC",
18
"amount": "0.02000000"
19
},
20
"transactions": [
21
{
22
"id": 750294,
23
"currency": "BTC",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "2Mvo6FMduhHz1BTDHsQ5GyRoifcG3y4ycpk",
27
"tag": null,
28
"amount": "0.01000000",
29
"txid": "528dcda13270f8590853405600bf5634d53aa66d2ce5d3a873006a670f9da788",
30
"confirmations": "0"
31
}
32
],
33
"fees": [],
34
"error": "",
35
"status": "confirmed",
36
"fixed_at": 1592307241,
37
"expires_at": 1592308141
38
}
Copied!
1
{
2
"id": 22,
3
"foreign_id": "229-hdsa",
4
"type": "invoice",
5
"crypto_address": {
6
"id": 1845,
7
"currency": "BTC",
8
"convert_to": "EUR",
9
"address": "2N8pvnVKEFjVCP4TteJVCPTbg9Aqibfws8C",
10
"tag": null
11
},
12
"currency_sent": {
13
"currency": "BTC",
14
"amount": "0.00309556",
15
"remaining_amount": "0.00000000"
16
},
17
"currency_received": {
18
"currency": "EUR",
19
"amount": "26.00000000"
20
},
21
"transactions": [
22
{
23
"id": 1504,
24
"currency": "BTC",
25
"transaction_type": "blockchain",
26
"type": "deposit",
27
"address": "2N8pvnVKEFjVCP4TteJVCPTbg9Aqibfws8C",
28
"tag": null,
29
"amount": "0.00309556",
30
"txid": "3e68744626ba23d591dc1b548b8b9b126ab0f49e6da020958f66ee64c38ec7ed",
31
"confirmations": "0"
32
}
33
],
34
"fees": [],
35
"error": "",
36
"status": "processing",
37
"fixed_at": 1592308917,
38
"expires_at": 1592395375
39
}
Copied!
1
{
2
"id": 588,
3
"foreign_id": "8FW1KI7LesB9yxWcK1K",
4
"type": "invoice",
5
"crypto_address": {
6
"id": 386897,
7
"currency": "BTC",
8
"address": "2Mvo6FMduhHz1BTDHsQ5GyRoifcG3y4ycpk",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.02000000",
14
"remaining_amount": "0.00000000"
15
},
16
"currency_received": {
17
"currency": "BTC",
18
"amount": "0.02000000"
19
},
20
"transactions": [
21
{
22
"id": 750294,
23
"currency": "BTC",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "2Mvo6FMduhHz1BTDHsQ5GyRoifcG3y4ycpk",
27
"tag": null,
28
"amount": "0.01000000",
29
"txid": "6647cf5cae701507b7076b32ca12f19d8e9fe037407c02e09b04abdaede99fd0",
30
"confirmations": "1"
31
},
32
{
33
"id": 750384,
34
"currency": "BTC",
35
"transaction_type": "blockchain",
36
"type": "deposit",
37
"address": "2Mvo6FMduhHz1BTDHsQ5GyRoifcG3y4ycpk",
38
"tag": null,
39
"amount": "0.01000000",
40
"txid": "528dcda13270f8590853405600bf5634d53aa66d2ce5d3a873006a670f9da788",
41
"confirmations": "1"
42
}
43
],
44
"fees": [
45
{
46
"type": "fee_crypto_deposit",
47
"currency": "BTC",
48
"amount": "0.0008"
49
}
50
],
51
"error": "",
52
"status": "confirmed",
53
"fixed_at": 1592307241,
54
"expires_at": 1592394104
55
}
Copied!
1
{
2
"id": 23,
3
"foreign_id": "77xa2pd",
4
"type": "invoice",
5
"crypto_address": {
6
"id": 1846,
7
"currency": "BTC",
8
"address": "2MyL2ftBdNsmpsx1EKggPzNVuoiZCWdVaLX",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.02000000",
14
"remaining_amount": "0.02000000"
15
},
16
"currency_received": {
17
"currency": "BTC",
18
"amount": "0.02000000"
19
},
20
"transactions": [],
21
"fees": [],
22
"error": "Timer expired. User not paid.",
23
"status": "failed",
24
"fixed_at": 1592309817,
25
"expires_at": 1592310717
26
}
Copied!
1
{
2
"id": 21,
3
"foreign_id": "88smaan2",
4
"type": "invoice",
5
"crypto_address": {
6
"id": 1844,
7
"currency": "BTC",
8
"address": "2NCfH4keMq2SZj3H73VeQYtb8yBgTuUrACf",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.01000000",
14
"remaining_amount": "0.00990000"
15
},
16
"currency_received": {
17
"currency": "BTC",
18
"amount": "0.01000000"
19
},
20
"transactions": [
21
{
22
"id": 1505,
23
"currency": "BTC",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "2NCfH4keMq2SZj3H73VeQYtb8yBgTuUrACf",
27
"tag": null,
28
"amount": "0.00010000",
29
"txid": "6dd68265eb2b3a1be0dd4a40975345155d0fbbe244c84efcc7f6b910629a38f9",
30
"confirmations": "0"
31
}
32
],
33
"fees": [],
34
"error": "Timer expired. Transactions were in status processing too long.",
35
"status": "failed",
36
"fixed_at": 1592308709,
37
"expires_at": 1592309609
38
}
Copied!
1
{
2
"id": 21,
3
"foreign_id": "88smaan2",
4
"type": "invoice",
5
"crypto_address": {
6
"id": 1844,
7
"currency": "BTC",
8
"address": "2NCfH4keMq2SZj3H73VeQYtb8yBgTuUrACf",
9
"tag": null
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.01000000",
14
"remaining_amount": "0.00990000"
15
},
16
"currency_received": {
17
"currency": "BTC",
18
"amount": "0.01000000"
19
},
20
"transactions": [
21
{
22
"id": 1505,
23
"currency": "BTC",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "2NCfH4keMq2SZj3H73VeQYtb8yBgTuUrACf",
27
"tag": null,
28
"amount": "0.00010000",
29
"txid": "6dd68265eb2b3a1be0dd4a40975345155d0fbbe244c84efcc7f6b910629a38f9",
30
"confirmations": "2"
31
}
32
],
33
"fees": [],
34
"error": "Timer expired. User paid less than requested.",
35
"status": "failed",
36
"fixed_at": 1592308709,
37
"expires_at": 1592309609
38
}
Copied!

Callbacks with other statuses

Not confirmed
Cancelled
1
{
2
"id": 2686579,
3
"type": "deposit",
4
"crypto_address": {
5
"id": 381711,
6
"currency": "BTC",
7
"address": "2N9zXNdiT8ucZp7zZSrucqYGCD6xYF8F3di",
8
"tag": null,
9
"foreign_id": "991904"
10
},
11
"currency_sent": {
12
"currency": "BTC",
13
"amount": "0.01000000"
14
},
15
"currency_received": {
16
"currency": "BTC",
17
"amount": "0.01000000",
18
"amount_minus_fee": "0.01000000"
19
},
20
"transactions": [
21
{
22
"id": 714680,
23
"currency": "BTC",
24
"transaction_type": "blockchain",
25
"type": "deposit",
26
"address": "2N9zXNdiT8ucZp7zZSrucqYGCD6xYF8F3di",
27
"tag": null,