Skip to main content
PATCH
/
api
/
v1
/
realms
/
{realmId}
/
credentials
/
transaction
cURL
curl --request PATCH \
  --url https://api.drip.re/api/v1/realms/{realmId}/credentials/transaction \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "updates": [
    {
      "type": "twitter-id",
      "value": "<string>",
      "source": "<string>",
      "realmPointId": "<string>",
      "amount": 123
    }
  ],
  "initiatorId": "<string>"
}'
{
  "success": true,
  "results": [
    {
      "type": "<string>",
      "value": "<string>",
      "credentialId": "<string>",
      "balance": 123,
      "realmPointId": "<string>"
    }
  ],
  "errors": [
    {
      "type": "<string>",
      "value": "<string>",
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required

Realm ID

Body

application/json
updates
object[]
required
initiatorId
string

Response

200 - application/json

Default Response

success
boolean
results
object[]
errors
object[]