Skip to main content
Version: 1.0.2

Disable Beneficiary

The DisableBeneficiary API operation allows users to disable a specific beneficiary. By providing the beneficiary's ID and specifying the "DISABLED" status, users can deactivate the beneficiary, preventing any further transactions.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

method

Mandatory

String

API calling method

Ex:"AccountService.DisableBeneficiary "

id

Mandatory

String

A unique identifier for the request

Ex:"1"

params

Mandatory

Object

payload

Mandatory

Object

ID

Mandatory

String

Unique identifier of beneficiary

Ex:"64d0a3407ac4a0e36bd73553 "

status

Mandatory

String

Beneficiary status

Ex:"DISABLED "

api

Object

credential

Mandatory

String

API credentials

Ex:"Basic ay5iYXN1dmFuQGJhbmtjYncub3JnOmUxYWY0Y2ExYzE1MDRiMTNiYzcxZjhlOTY0M2VjZTlj "

signature

Mandatory

String

API request signature

Ex:"MEQCIB50i5KBEVl4iK4SzNyKBqx4jCzB/28mMVNpsWGT69H0AiArVib+De0hEpGvEfo/RY0X7alFUI2vYr48+thrUAB7kw== "

apiKey

Mandatory

String

API Key

Ex:"5a8b9c2e3d4f1g6h "

keyId

Mandatory

String

Unique identifier for the key

Ex:"196002 "


curl --location 'https://{{url}}/jsonrpc' \
--header 'DeviceID: 8020' \
--header 'Signature: keyId=8020,algorithm=ecdsa-sha256,signature=MEUCIQDCAmGoL10Hmoaayf6s3WOaLbH71sX8phXT07xw24zYgAIgDWcai46aH6jhcVv3rjg4avyhi77mXjsrg3bQxmBVih4=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ci5hbmJhbGFnYW5AbmV0eGQuY29tOmQ0Mjc2ZmIx' \
--data '{"method":"AccountService.DisableBeneficiary","id":"1","params":{"payload":{"ID":"64d0a3407ac4a0e36bd73553","status":"DISABLED"},"api":{"credential":"Basic ay5iYXN1dmFuQGJhbmtjYncub3JnOmUxYWY0Y2ExYzE1MDRiMTNiYzcxZjhlOTY0M2VjZTlj","signature":" MEQCIB50i5KBEVl4iK4SzNyKBqx4jCzB/28mMVNpsWGT69H0AiArVib+De0hEpGvEfo/RY0X7alFUI2vYr48+thrUAB7kw==","apiKey":"5a8b9c2e3d4f1g6h ","keyId":"196002"}}}'

Body


{
"method": "AccountService.DisableBeneficiary",
"id": "1",
"params": {
"payload": {
"ID": "64d0a3407ac4a0e36bd73553",
"status": "DISABLED"
},
"api": {
"credential": " Basic ay5iYXN1dmFuQGJhbmtjYncub3JnOmUxYWY0Y2ExYzE1MDRiMTNiYzcxZjhlOTY0M2VjZTlj ",
"signature": " MEQCIB50i5KBEVl4iK4SzNyKBqx4jCzB/28mMVNpsWGT69H0AiArVib+De0hEpGvEfo/RY0X7alFUI2vYr48+thrUAB7kw==",",
"apiKey": "5a8b9c2e3d4f1g6h ",
"keyId": "196002"
}
}
}

Response: 200

Response Parameters
ParameterDescription

id

String

Unique identifier of the response

Ex:"1 "

result

Object

message

String

Response message

Ex:"Beneficiary DISABLED Sucessfully "


{
"id": "1",
"result": {
"message": "Beneficiary DISABLED Sucessfully"
}
}