Pause or resume conversion
Pause or resume conversion while observation continues. Requires a server key.
PATCH
/
v1
/
standing-deposit-addresses
/
{ref}
Pause or resume conversion
curl --request PATCH \
--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 '
{
"enabled": true
}
'const options = {
method: 'PATCH',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({enabled: true})
};
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 = { "enabled": True }
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"standingAddressId": "<string>",
"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
Pause or resume conversion
curl --request PATCH \
--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 '
{
"enabled": true
}
'const options = {
method: 'PATCH',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({enabled: true})
};
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 = { "enabled": True }
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"standingAddressId": "<string>",
"enabled": true
}