Skip to content

trigger_manual_settlement.py #261

@LVT-ENG

Description

@LVT-ENG

import requests
import json

ENDPOINT = "https://api.tryonyou-app.com/v1/settlement/trigger"
HEADERS = {
"Authorization": "Bearer sk_live_v9_secure_gateway",
"Content-Type": "application/json"
}
payload = {
"pilot_id": "gen-lang-client-0091228222",
"action": "execute_payout_now",
"override_lock": True
}

response = requests.post(ENDPOINT, headers=HEADERS, data=json.dumps(payload))
print(f"STATUS_CODE: {response.status_code}")
print(f"RESPONSE: {response.text}")

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions