Re-trigger a stuck charge
curl --request POST \
--url https://api.next.orenda.finance/charges/trigger-charge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chargeId": "0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({chargeId: '0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10'})
};
fetch('https://api.next.orenda.finance/charges/trigger-charge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.next.orenda.finance/charges/trigger-charge"
payload = { "chargeId": "0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Success"
}{
"message": "Missing or invalid chargeId"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Charges
Re-trigger a stuck charge
Re-triggers a stuck onboarding fee charge by clearing the lock on it, which causes a recharge attempt.
Auth: Backoffice role; requires the triage.edit permission.
POST
/
charges
/
trigger-charge
Re-trigger a stuck charge
curl --request POST \
--url https://api.next.orenda.finance/charges/trigger-charge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chargeId": "0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({chargeId: '0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10'})
};
fetch('https://api.next.orenda.finance/charges/trigger-charge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.next.orenda.finance/charges/trigger-charge"
payload = { "chargeId": "0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Success"
}{
"message": "Missing or invalid chargeId"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The program the request is scoped to. Required on every endpoint.
Body
application/json
Identifier of the charge to re-trigger.
Example:
"0e2a7b54-9c3d-4a1f-8b6e-2f4c1d9a7e10"
Response
The charge was re-triggered.
Example:
"Success"
⌘I