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.
Authorizations
API Key
WebAuthn (Passkey)
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Body
Unique identifier for a given Organization.
Response
A successful response returns the following fields:
fiatOnRampCredentials fieldShow fiatOnRampCredentials details
fiatOnRampCredentials.fiatOnrampCredentialId
Unique identifier for a given Fiat On-Ramp Credential.
fiatOnRampCredentials.organizationId
Unique identifier for an Organization.
fiatOnRampCredentials.onrampProvider
onrampProvider fieldEnum options: FIAT_ON_RAMP_PROVIDER_COINBASE, FIAT_ON_RAMP_PROVIDER_MOONPAY
fiatOnRampCredentials.projectId
Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier.
fiatOnRampCredentials.publishableApiKey
Publishable API key for the on-ramp provider.
fiatOnRampCredentials.encryptedSecretApiKey
Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key.
fiatOnRampCredentials.encryptedPrivateApiKey
Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key.
fiatOnRampCredentials.sandboxMode
If the on-ramp credential is a sandbox credential.
fiatOnRampCredentials.createdAt
createdAt field
fiatOnRampCredentials.createdAt.seconds
fiatOnRampCredentials.createdAt.nanos
fiatOnRampCredentials.updatedAt
updatedAt field
fiatOnRampCredentials.updatedAt.seconds
fiatOnRampCredentials.updatedAt.nanos
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_fiat_on_ramp_credentials \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>"
}'
{
"fiatOnRampCredentials": [
{
"fiatOnrampCredentialId": "<string>",
"organizationId": "<string>",
"onrampProvider": "<FIAT_ON_RAMP_PROVIDER_COINBASE>",
"projectId": "<string>",
"publishableApiKey": "<string>",
"encryptedSecretApiKey": "<string>",
"encryptedPrivateApiKey": "<string>",
"sandboxMode": "<boolean>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}