Skip to main content
GET
/
v2
/
payment-session
/
{payment-session-id}
/
get-ticket
Get Payment Session Ticket
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>"
  }
}

Get Payment Session Ticket

GET request to /v2/payment-session//get-ticket

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payment-session-id
string
required

ID of the payment session

Response

OK

paymentSession
object
required
depositWalletAddress
object
required
ticket
object
required