Skip to main content
POST
/
payments
/
commands
/
setgateway
cURL
curl --request POST \
  --url https://api.example.com/payments/commands/setgateway \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "gatewayId": "<string>",
  "token": "<string>",
  "gateway": "<string>",
  "secret": "<string>",
  "type": "<string>",
  "enabled": true
}
'

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
gatewayId
string
required
token
string
required
gateway
string
required
secret
string
required
type
string
required
enabled
boolean
required

Response

200

setGateway 200 response