channel_authorize
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Generate a signature for a claim against a specific payment channel. This method creates a cryptographic signature that can be used to claim XRP from a payment channel.
Body
Generate a signature for a claim against a specific payment channel. This method creates a cryptographic signature that can be used to claim XRP from a payment channel.
JSON-RPC request payload.
methodstringchannel_authorizerequiredThe JSON-RPC method name
paramsArray<object>requiredOrdered JSON-RPC method parameters.
Show child attributes
channel_idstringrequiredThe unique identifier of the payment channel. This is 64-character hexadecimal string.
seedstringrequiredThe secret seed of the account that owns the payment channel. Used to generate the signature. Should be kept secure.
key_typestringsecp256k1ed25519The cryptographic key type to use for signing. Defaults to "secp256k1" if not specified.
amountstringrequiredThe amount of XRP to authorize for the claim, in drops. Represented as a string to maintain precision.
Response
HTTP 200 response for channel_authorize. The body contains either a successful result or a method-level JSON-RPC error.
Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.