Skip to main content
Version: 1.0.2

Deposit approve

The Deposit approve API is used to approve the deposit transaction. By invoking this API, users can provide the necessary approval to complete the deposit process.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

requestID

Mandatory

String

Represents the unique identifier for the deposit approval request.

Ex: "82001"

transactionId

Mandatory

String

Represents the unique identifier for the deposit transaction that needs to be approved.

Ex: "MTMZNJC0MJ"


curl --location '{{url}}/rpc/WalletService/DepositApprove' \
--header 'DiviceID: 8020' \
--header 'Signature: keyId=8020,algorithm=ecdsa-sha256,signature=MEUCIQCNi1vjPf/HpI9R2DXnc0Zt1s6YmWyA4H1x813lJ+tuDgIgB+lrc+iCMyTUGiraG9kGKNDXYiz7RfBBtifr5wUQs54=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tFbWFpbH19Ont7UGFzc3dvcmR9fQ==' \
--data '{"requestID":"82001","transactionId":"MTMZNJC0MJ"}'

Body


{
"requestID": "82001",
"transactionId": "MTMZNJC0MJ"
}

Response: 200


{
"transaction": {}
}