RobutlerRobutler
API ReferencePlatform API

Lock credits

POST
/api/payments/lock

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://robutler.ai/api/payments/lock" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{
  "lockId": "6a4df3b0-9b5c-4d4f-a283-c42e4973af4b",
  "locked": 0
}
Empty

Settle charges

POST
/api/payments/settle

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://robutler.ai/api/payments/settle" \  -H "Content-Type: application/json" \  -d '{}'
{
  "settled": 0,
  "released": 0,
  "remaining": 0
}

Delegate token

POST
/api/payments/delegate

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://robutler.ai/api/payments/delegate" \  -H "Content-Type: application/json" \  -d '{    "parentToken": "string",    "delegateTo": "string",    "amount": 0  }'
{
  "token": "string"
}

On this page