-
Notifications
You must be signed in to change notification settings - Fork 0
034cancel_order
-
Request description: cancel order
-
Request type: POST
-
Signature required: Yes
-
First do:
-
Request Url:https://bcapi.movapi.com/api/v2/vapor/mov/merchant/build-cancel-order-tx
-
Request parameter:
name type description guid string the account id order_id int the order id -
Return value description:
name type description hash string the hash of the transaction status_fail bool not important size int not important submission_timestamp int not important inputs array the array of the script data , as the input outputs array the array of the script data , as the output fee int the cost fee balances array the balance information types array not important raw_transaction string the trade record which should be sign signing_instructions array the instructions that need for signing -
Then do:
-
Request Url:https://bcapi.movapi.com/api/v2/vapor/mov/merchant/submit-cancel-order-tx
-
Request parameter:
name type description guid string the account id raw_transaction string the account id signatures array the array of the sinature data -
Return value description:
name type description transaction_hash string the hash of the transaction orders array this orders of this submit, it will only be one order order_id int this order_id of this submit client_id string this information that user input -
Example:
# Request
First you should build the cancel order
{
'order_id':5
}
POST https://bcapi.movapi.com/api/v2/vapor/mov/merchant/build-cancel-order-tx
# Response
{
'code': 200,
'msg': '',
'result': {
'data': {
'tx': {
'hash': '665e657f91f2afe3c676bf94decb1f4062bd76030e2a9d2967193c3267582848',
'status_fail': False,
'size': 874,
'submission_timestamp': 0,
'memo': '',
'inputs': [{
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1244052739,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1237985889,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1208851241,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1206548045,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1204239296,
'type': 'spend'
}],
'outputs': [{
'utxo_id': '0e5ba7991552be2f0bb2795a1ea762212883d9e7a5c2092fcd974e45380e02cc',
'script': '0020d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d4925102d41716001449f9cb425163e24791f39e9189a7ef3126a0fe0a2066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435',
'address': 'smart contract',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 6100000000,
'type': 'control'
}, {
'utxo_id': '4ebd0d0ec98d5faa4b00238caaf831361c6a5f69a4801677a9b6fc4542557bd0',
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1677210,
'type': 'control'
}],
'fee': 0,
'balances': [{
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': '-6100000000'
}],
'types': ['mov_place_order']
},
'raw_transaction': '070100050160015ea36a32db05dde6387a1af256e59dbf549e3388b6e5fe76aec90ad3bc5375673b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570383fa9ad104010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e9e6916db156b3bdeb1053080841967cbfc6ef86ac933667fbb04ca5427b551604483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703e1d4a8ce04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e34fb4bfeb7e6cd6a3ab6d59139783748cec60408f91c7ce296a39d01c5bb29974483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703a9b6b6c004010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e4fdb42acd18b165e1622ba3249f6c45cb06b66d2082545b8902c6000f2c02f2a4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703cdeca9bf04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e2255d1f1b3967ce291c42f020d302b4a3e2b1ad11b45cabe2e5da8ca94fdb8c64483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703c0f79cbe04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435020188010085014483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570380badadc16015e0020d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d4925102d41716001449f9cb425163e24791f39e9189a7ef3126a0fe0a2066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb43500013d003b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f57039aaf660116001449f9cb425163e24791f39e9189a7ef3126a0fe0a00',
'signing_instructions': [{
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['500e7027b809398be6e19fbdb4c1b0f333456999deea889385b86f41f0b6b4b6'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['60b40f959d8fc1eb001a3a5936b16ab468d224fac37a0441c7789e9bfc41c7b7'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['6df478ee0c0603525c4186d8476dd270b085bafacf0048c6348089f428f76c54'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['7b7dfbc2085e6f6815a547082f2c7cfb4bedd0016d092a82c3d306527fdf05d3'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['287ac9a56f5bc50b139e142d7fc0cb9772e93b36f81326d849a2135e5faaab50'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}],
'fee': 0
}
}
}
If you want to cancel the order
You should use secret_key to sign below data
send data such as:
{
'guid': '80f95d4c-65e0-4706-83d6-96e3184dddf7',
'raw_transaction': '070100050160015ea36a32db05dde6387a1af256e59dbf549e3388b6e5fe76aec90ad3bc5375673b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570383fa9ad104010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e9e6916db156b3bdeb1053080841967cbfc6ef86ac933667fbb04ca5427b551604483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703e1d4a8ce04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e34fb4bfeb7e6cd6a3ab6d59139783748cec60408f91c7ce296a39d01c5bb29974483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703a9b6b6c004010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e4fdb42acd18b165e1622ba3249f6c45cb06b66d2082545b8902c6000f2c02f2a4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703cdeca9bf04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e2255d1f1b3967ce291c42f020d302b4a3e2b1ad11b45cabe2e5da8ca94fdb8c64483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703c0f79cbe04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435020188010085014483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570380badadc16015e0020d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d4925102d41716001449f9cb425163e24791f39e9189a7ef3126a0fe0a2066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb43500013d003b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f57039aaf660116001449f9cb425163e24791f39e9189a7ef3126a0fe0a00',
'signatures': [
['718a54649e43dcccf3b4e855fd9bf4ea23d5bd05517540eea09e2eb96ebc5b59dcfa4741b3280ec8aae003b276482cb51e2b967087d7821cae5e2d469c245100'],
['57032992d83e998325a385d247670175d8fc031e117c54d7b14fb887f276947907321d4cef2a592fb25737092353b96252a9dcb943ab4588a9fde42df32a470e'],
['0f521a9fc08b32053cac86e845fae332928d6588aa1039a72c41fe1d9f5418d6a333be2754e83405eed4303ebcb2ddc908792fb3761cd12dcd3154354f64670c'],
['8a30dc5d085f701466f3918a88eb5322835860956e33cd8fbb1c3e1afffb8695fe0bc2eac83cd43f365422cdf9e8358af611b3b031b99eb233c984c93fc0c40d'],
['7e2d41ddd5b2d15b32375c46cb6807dba4d3d6e6cedb36fef04d4e11a971c1e4495cb0d633738d6113cacc7adb004ab1703f76954d2c952408a509d78d439e0a']
],
'client_id': '123'
}
POST https://bcapi.movapi.com/api/v2/vapor/mov/merchant/submit-cancel-order-tx
# Response
{
'code': 200,
'msg': '',
'result': {
'data': {
'transaction_hash': '665e657f91f2afe3c676bf94decb1f4062bd76030e2a9d2967193c3267582848',
'orders': [{
'order_id': 711076,
'client_id': '123'
}]
}
}
}
-
Request description: cancel order
-
Request type: POST
-
Signature required: Yes
-
First do:
-
Request Url:https://bcapi.movapi.com/api/v3/vapor/mov/merchant/build-cancel-order-tx?address="您的侧链地址"
-
Request parameter:
name type description order_id int the order id -
Return value description:
name type description hash string the hash of the transaction status_fail bool not important size int not important submission_timestamp int not important inputs array the array of the script data , as the input outputs array the array of the script data , as the output fee int the cost fee balances array the balance information types array not important raw_transaction string the trade record which should be sign signing_instructions array the instructions that need for signing -
Then do:
-
Request Url:https://bcapi.movapi.com/api/v3/vapor/mov/merchant/submit-cancel-order-tx?address=您的侧链地址
-
Request parameter:
name type description raw_transaction string the account id signatures array the array of the sinature data -
Return value description:
name type description transaction_hash string the hash of the transaction orders array this orders of this submit, it will only be one order order_id int this order_id of this submit client_id string this information that user input -
Example:
# Request
First you should build the cancel order
{
'order_id': 5
}
POST https://bcapi.movapi.com/api/v3/vapor/mov/merchant/build-cancel-order-tx?address="您的侧链地址"
# Response
{
'code': 200,
'msg': '',
'result': {
'data': {
'tx': {
'hash': '665e657f91f2afe3c676bf94decb1f4062bd76030e2a9d2967193c3267582848',
'status_fail': False,
'size': 874,
'submission_timestamp': 0,
'memo': '',
'inputs': [{
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1244052739,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1237985889,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1208851241,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1206548045,
'type': 'spend'
}, {
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1204239296,
'type': 'spend'
}],
'outputs': [{
'utxo_id': '0e5ba7991552be2f0bb2795a1ea762212883d9e7a5c2092fcd974e45380e02cc',
'script': '0020d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d4925102d41716001449f9cb425163e24791f39e9189a7ef3126a0fe0a2066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435',
'address': 'smart contract',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 6100000000,
'type': 'control'
}, {
'utxo_id': '4ebd0d0ec98d5faa4b00238caaf831361c6a5f69a4801677a9b6fc4542557bd0',
'script': '001449f9cb425163e24791f39e9189a7ef3126a0fe0a',
'address': 'tp1qf8uuksj3v03y0y0nn6gcnfl0xyn2pls2zzy8pz',
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': 1677210,
'type': 'control'
}],
'fee': 0,
'balances': [{
'asset': '4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703',
'amount': '-6100000000'
}],
'types': ['mov_place_order']
},
'raw_transaction': '070100050160015ea36a32db05dde6387a1af256e59dbf549e3388b6e5fe76aec90ad3bc5375673b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570383fa9ad104010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e9e6916db156b3bdeb1053080841967cbfc6ef86ac933667fbb04ca5427b551604483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703e1d4a8ce04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e34fb4bfeb7e6cd6a3ab6d59139783748cec60408f91c7ce296a39d01c5bb29974483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703a9b6b6c004010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e4fdb42acd18b165e1622ba3249f6c45cb06b66d2082545b8902c6000f2c02f2a4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703cdeca9bf04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e2255d1f1b3967ce291c42f020d302b4a3e2b1ad11b45cabe2e5da8ca94fdb8c64483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703c0f79cbe04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435020188010085014483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570380badadc16015e0020d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d4925102d41716001449f9cb425163e24791f39e9189a7ef3126a0fe0a2066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb43500013d003b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f57039aaf660116001449f9cb425163e24791f39e9189a7ef3126a0fe0a00',
'signing_instructions': [{
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['500e7027b809398be6e19fbdb4c1b0f333456999deea889385b86f41f0b6b4b6'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['60b40f959d8fc1eb001a3a5936b16ab468d224fac37a0441c7789e9bfc41c7b7'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['6df478ee0c0603525c4186d8476dd270b085bafacf0048c6348089f428f76c54'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['7b7dfbc2085e6f6815a547082f2c7cfb4bedd0016d092a82c3d306527fdf05d3'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}, {
'derivation_path': ['2c000000', '99000000', '01000000', '00000000', '01000000'],
'sign_data': ['287ac9a56f5bc50b139e142d7fc0cb9772e93b36f81326d849a2135e5faaab50'],
'pubkey': '66fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435'
}],
'fee': 0
}
}
}
If you want to cancel the order
You should use secret_key to sign below data
send data such as:
{
'raw_transaction': '070100050160015ea36a32db05dde6387a1af256e59dbf549e3388b6e5fe76aec90ad3bc5375673b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570383fa9ad104010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e9e6916db156b3bdeb1053080841967cbfc6ef86ac933667fbb04ca5427b551604483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703e1d4a8ce04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e34fb4bfeb7e6cd6a3ab6d59139783748cec60408f91c7ce296a39d01c5bb29974483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703a9b6b6c004010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e4fdb42acd18b165e1622ba3249f6c45cb06b66d2082545b8902c6000f2c02f2a4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703cdeca9bf04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb4350160015e2255d1f1b3967ce291c42f020d302b4a3e2b1ad11b45cabe2e5da8ca94fdb8c64483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f5703c0f79cbe04010116001449f9cb425163e24791f39e9189a7ef3126a0fe0a22012066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb435020188010085014483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f570380badadc16015e0020d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d4925102d41716001449f9cb425163e24791f39e9189a7ef3126a0fe0a2066fb66a351b651ad70de9bdb1cafa3c95c10fc28d19d627cc3c3e34c090eb43500013d003b4483893ef7d9aac788c0e9e49a12398c1d35a2172adb1c8dc551fd169a6f57039aaf660116001449f9cb425163e24791f39e9189a7ef3126a0fe0a00',
'signatures': [
['718a54649e43dcccf3b4e855fd9bf4ea23d5bd05517540eea09e2eb96ebc5b59dcfa4741b3280ec8aae003b276482cb51e2b967087d7821cae5e2d469c245100'],
['57032992d83e998325a385d247670175d8fc031e117c54d7b14fb887f276947907321d4cef2a592fb25737092353b96252a9dcb943ab4588a9fde42df32a470e'],
['0f521a9fc08b32053cac86e845fae332928d6588aa1039a72c41fe1d9f5418d6a333be2754e83405eed4303ebcb2ddc908792fb3761cd12dcd3154354f64670c'],
['8a30dc5d085f701466f3918a88eb5322835860956e33cd8fbb1c3e1afffb8695fe0bc2eac83cd43f365422cdf9e8358af611b3b031b99eb233c984c93fc0c40d'],
['7e2d41ddd5b2d15b32375c46cb6807dba4d3d6e6cedb36fef04d4e11a971c1e4495cb0d633738d6113cacc7adb004ab1703f76954d2c952408a509d78d439e0a']
],
'client_id': '123'
}
POST https://bcapi.movapi.com/api/v3/vapor/mov/merchant/submit-cancel-order-tx
# Response
{
'code': 200,
'msg': '',
'result': {
'data': {
'transaction_hash': '665e657f91f2afe3c676bf94decb1f4062bd76030e2a9d2967193c3267582848',
'orders': [{
'order_id': 711076,
'client_id': '123'
}]
}
}
}
MOV Exchange has such features.
Common API
Flash API
Spot API
If any problems occur when using API, please contact us: support@8btc.com