Skip to main content

channel_authorize RPC Method

Generates a signature that allows the redemption of a specific amount of XRP from a payment channel

Updated on
Jun 11, 2026
The channel_authorize method requires the request to include one of the following parameters: 'secret', 'seed', 'seed_hex', or 'passphrase', specifying the necessary authentication information. Please refrain from transmitting secret keys to untrusted servers or via unsecured network connections (This includes the secret, seed, seed_hex, or passphrase fields of this request). You should only use this method on a secure, encrypted network connection to a server you run or fully trust with your funds. Failure to do so may expose your secret key to eavesdroppers, enabling them to sign claims and access all funds within the payment channel and any other systems utilizing the same key pair. For detailed instructions, refer to the Set Up Secure Signing guidelines.

Parameters

object
object
REQUIRED

The channel_authorize request object.

channel_id
string
REQUIRED

The payment channel identified by its unique ID

seed
string

The secret key used to sign the claim

key_type
string

The signing algorithm for the provided cryptographic key pair. It can be either 'secp256k1' or 'ed25519'. The default signing algorithm is 'secp256k1'

amount
string
REQUIRED

The cumulative amount of XRP, expressed in drops, used for authorization in the payment channel

Returns

result
object

An object which contains the following fields:

signature
string

The signature for the claim, provided as a hexadecimal value

status
string

The authorization status

warnings
array

An array of warning objects, each containing the following fields:

id
integer

The ID of the warning

message
string

The warning message

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"result": {
6
"signature": "example_value",
7
"status": "example_value"
8
},
9
"warnings": [
10
{
11
"id": 1,
12
"message": "example_value"
13
}
14
]
15
}
16
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"result": {
6
"signature": "example_value",
7
"status": "example_value"
8
},
9
"warnings": [
10
{
11
"id": 1,
12
"message": "example_value"
13
}
14
]
15
}
16
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free