Accept ZeroConf offer
Accept a pending ZeroConf offer and credit the deposit before confirmation.
POST
/
v1
/
orchestration
/
zeroconf
/
accept
Accept ZeroConf offer
curl --request POST \
--url https://orchestration.flashnet.xyz/v1/orchestration/zeroconf/accept \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--data '
{
"orderId": "<string>"
}
'const options = {
method: 'POST',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({orderId: '<string>'})
};
fetch('https://orchestration.flashnet.xyz/v1/orchestration/zeroconf/accept', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/orchestration/zeroconf/accept"
payload = { "orderId": "<string>" }
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"orderId": "ord_b91bbf90-42dc-4fe3-9b15-1d2c7e19cce6",
"status": "processing"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Partner API key in the form Authorization: Bearer fn_....
Headers
Minimum string length:
1Body
application/json
Unknown top-level fields are ignored rather than rejected.
Minimum string length:
1Was this page helpful?
⌘I
Accept ZeroConf offer
curl --request POST \
--url https://orchestration.flashnet.xyz/v1/orchestration/zeroconf/accept \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--data '
{
"orderId": "<string>"
}
'const options = {
method: 'POST',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({orderId: '<string>'})
};
fetch('https://orchestration.flashnet.xyz/v1/orchestration/zeroconf/accept', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/orchestration/zeroconf/accept"
payload = { "orderId": "<string>" }
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"orderId": "ord_b91bbf90-42dc-4fe3-9b15-1d2c7e19cce6",
"status": "processing"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}