Skip to main content
POST
/
convert
/
preorder
Create a custom ratekey for conversion
curl --request POST \
  --url https://staging-api.getpartna.com/v4/convert/preorder \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '{
  "accountName": "",
  "fromAmount": 0,
  "rateKey": "",
  "transactionReference": ""
}'
{
  "data": {
    "transactionReference": "bbcdef2234567890abcdef1234568491"
  },
  "message": "success"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
rateKey
string
required
accountName
string
fromAmount
number
transactionReference
string

Response

200 - application/json

post convert preorder ok

data
object
message
string
I