Home

deposit_authorized

POST
https://xrp.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Check if an account is authorized to send payments directly to another account. This method verifies deposit authorization status between two accounts.

Body

application/json

Check if an account is authorized to send payments directly to another account. This method verifies deposit authorization status between two accounts.

JSON-RPC request payload.

methodstringdeposit_authorizedrequired

The JSON-RPC method name

paramsArray<object>required

Ordered JSON-RPC method parameters.

Show child attributes
source_accountstringrequired

The source account address that wants to send a payment.

destination_accountstringrequired

The destination account address that would receive the payment.

credentialsArray<string>

Array of transaction hashes to use as credentials for the request. Used for verifying specific transaction contexts.

ledger_indexstringvalidatedcurrentclosed

The ledger index to use for the request. "validated" uses the most recent validated ledger.

Response

200OK

HTTP 200 response for deposit_authorized. The body contains either a successful result or a method-level JSON-RPC error.

400Bad Request

Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error. The gateway or node failed while processing the request.