Register standing address
Create or fetch permanent addresses for an immutable instruction. Requires a server key.
PUT
/
v1
/
standing-deposit-addresses
/
{ref}
Register standing address
curl --request PUT \
--url https://orchestration.flashnet.xyz/v1/standing-deposit-addresses/{ref} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--data '
{
"destination": {
"chain": "base",
"asset": "USDC",
"address": "RECIPIENT_ADDRESS"
}
}
'const options = {
method: 'PUT',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({destination: {chain: 'base', asset: 'USDC', address: 'RECIPIENT_ADDRESS'}})
};
fetch('https://orchestration.flashnet.xyz/v1/standing-deposit-addresses/{ref}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/standing-deposit-addresses/{ref}"
payload = { "destination": {
"chain": "base",
"asset": "USDC",
"address": "RECIPIENT_ADDRESS"
} }
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"standingAddressId": "<string>",
"addresses": {},
"enabled": true
}Authorizations
Partner API key in the form Authorization: Bearer fn_....
Headers
Minimum string length:
1Path Parameters
Required string length:
1 - 128Body
application/json
Was this page helpful?
⌘I
Register standing address
curl --request PUT \
--url https://orchestration.flashnet.xyz/v1/standing-deposit-addresses/{ref} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--data '
{
"destination": {
"chain": "base",
"asset": "USDC",
"address": "RECIPIENT_ADDRESS"
}
}
'const options = {
method: 'PUT',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({destination: {chain: 'base', asset: 'USDC', address: 'RECIPIENT_ADDRESS'}})
};
fetch('https://orchestration.flashnet.xyz/v1/standing-deposit-addresses/{ref}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/standing-deposit-addresses/{ref}"
payload = { "destination": {
"chain": "base",
"asset": "USDC",
"address": "RECIPIENT_ADDRESS"
} }
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"standingAddressId": "<string>",
"addresses": {},
"enabled": true
}