Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-ethan-captcha-protection.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

POST
/
public
/
v1
/
query
/
get_onramp_transaction_status

Authorizations

X-Stamp
string
required
Cryptographically signed (stamped) request to be passed in as a header. For more info, see here.

Body

organizationId
string
required
Unique identifier for a given organization.
transactionId
string
required
The unique identifier for the fiat on ramp transaction.
refresh
boolean
Optional flag to specify if the transaction status should be refreshed from the fiat on ramp provider. Default = false.

Response

A successful response returns the following fields:
transactionStatus
string
required
The status of the fiat on ramp transaction.
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_onramp_transaction_status \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "transactionId": "<string>",
    "refresh": "<boolean>"
}'
{
  "transactionStatus": "<string>"
}