Skip to main content
PATCH
/
api
/
v1
/
realms
/
{realmId}
/
credentials
/
transfer
cURL
curl --request PATCH \
  --url https://api.drip.re/api/v1/realms/{realmId}/credentials/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "realmPointId": "<string>",
  "amount": 2
}'
{
  "fromCredentialId": "<string>",
  "toCredentialId": "<string>",
  "amount": 123,
  "realmPointId": "<string>"
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required

Realm ID

Query Parameters

fromType
enum<string>
required

Sender credential type

Available options:
twitter-id,
discord-id,
wallet,
email,
custom
fromValue
string
required

Sender credential value

fromSource
string

Required for custom fromType

toType
enum<string>
required

Recipient credential type

Available options:
twitter-id,
discord-id,
wallet,
email,
custom
toValue
string
required

Recipient credential value

toSource
string

Required for custom toType

Body

application/json
amount
integer
required

Amount to transfer

Required range: x >= 1
realmPointId
string

Realm point (currency) ID. If not provided, uses the realm's default currency.

Response

200 - application/json

Default Response

fromCredentialId
string
toCredentialId
string
amount
integer
realmPointId
string