Skip to main content
PUT
/
payments
/
commands
/
create
cURL
curl --request PUT \
  --url https://api.example.com/payments/commands/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "gatewayCredId": "<string>",
  "nickname": "<string>",
  "message": "<string>",
  "recipientId": "<string>",
  "method": "<string>",
  "amount": {
    "minor": 123,
    "major": 123,
    "currency": "<string>"
  },
  "attachments": [
    "<string>"
  ],
  "actions": [
    {
      "id": "<string>",
      "actionId": "<string>",
      "amount": 123,
      "parameters": {}
    }
  ],
  "goal": "<string>",
  "marker": "<string>"
}
'
{
  "token": "<string>",
  "operationUrl": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://opendonationassistant.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
id
string
required
gatewayCredId
string
required
nickname
string
required
message
string
required
recipientId
string
required
method
string
required
amount
object
required
attachments
string[]
required
actions
object[]
required
goal
string | null
vote
object
marker
string | null

Response

200 - application/json

createDraft 200 response

token
string
required
operationUrl
string | null