Skip to main content
POST
/
api
/
v1
/
partner
/
transactions
Create a Transaction
curl --request POST \
  --url https://api.money.orki.io/api/v1/partner/transactions \
  --header 'Content-Type: application/json' \
  --header 'X-ORKI-API-KEY: <api-key>' \
  --data '{
  "fiat_currency": "EUR",
  "crypto_currency": "BTC",
  "payment_method": "credit_debit_card",
  "network": "mainnet",
  "amount": 900,
  "provider": "transak",
  "type": "BUY"
}'
{
  "msg": "success",
  "data": {
    "request_id": "22474420-f94b-44b0-883f-5c42e4c735cb",
    "quotes": [
      {
        "provider": {
          "name": "Guardarian",
          "identifier": "guardarian",
          "icon": "https://d31sk3i6y53c7h.cloudfront.net/assets/providers/guardarian.svg"
        },
        "exchange_rate": 93023.26,
        "is_best": true,
        "fiat_amount": 350,
        "crypto_amount": 0.0037606,
        "quote_amount": 0.0037606,
        "link": "buy-link"
      }
    ]
  },
  "success": true,
  "code": 200
}

Authorizations

X-ORKI-API-KEY
string
header
required

Body

application/json
fiat_currency
string
required
Example:

"EUR"

crypto_currency
string
required
Example:

"BTC"

payment_method
string
required
Example:

"credit_debit_card"

network
string
required
Example:

"mainnet"

amount
number
required
Example:

900

provider
string
required
Example:

"transak"

type
string
required
Example:

"BUY"

Response

200 - application/json

Successful response

msg
string
Example:

"success"

data
object
success
boolean
Example:

true

code
integer
Example:

200