Refund
post
Body
shopIdstringRequiredExample:
ID of Shop
0x0001be96d74202df38fd21462ffcef10dfe0fcbd7caa3947689a3903e8b6b874
amountstringRequiredExample:
Amount for refund (info. decimals are 18)
100000000000000000000000
accountstringRequiredExample:
Address of wallet
0xafFe745418Ad24c272175e5B58610A8a35e2EcDa
signaturestringRequiredExample:
Signature of shop owner
0x020d671b80fbd20466d8cb65cef79a24e3bca3fdf82e9dd89d78e7a4c4c045bd72944c20bb1d839e76ee6bb69fed61f64376c37799598b40b8c49148f3cdd88a1b
Responses
200Success
application/json
post
POST /v1/shop/refund HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 317
{
"shopId": "0x0001be96d74202df38fd21462ffcef10dfe0fcbd7caa3947689a3903e8b6b874",
"amount": "100000000000000000000000",
"account": "0xafFe745418Ad24c272175e5B58610A8a35e2EcDa",
"signature": "0x020d671b80fbd20466d8cb65cef79a24e3bca3fdf82e9dd89d78e7a4c4c045bd72944c20bb1d839e76ee6bb69fed61f64376c37799598b40b8c49148f3cdd88a1b"
}
200Success
{
"code": 0,
"data": {
"txHash": "0x3798157a3f32c0ed7692f240eb83f3a3c2f6077c5ad7acf7a9a54d426d63632e"
},
"error": {
"message": "Failed to check the validity of parameters"
}
}