cURL
curl --request GET \ --url https://api.avenia.io:8443/v2/v2/payment-session/{payment-session-id}/get-ticket \ --header 'Authorization: Bearer <token>'
{ "paymentSession": { "id": "<string>", "status": "<string>" }, "depositWalletAddress": { "BRL": "<string>", "USD": "<string>" }, "ticket": { "id": "<string>", "status": "<string>", "inputAmount": "<string>", "inputCurrency": "<string>", "outputAmount": "<string>", "outputCurrency": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the payment session
OK
Show child attributes