Skip to main content
POST
Pay for action
This operation is a planned preview and is not callable in production yet.

Developer settings

Manage the credential that will call Act when this preview becomes available.

Authorizations

x-api-key
string
header
required

Pass your Darwin API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Path Parameters

actionId
string
required

The Action identifier returned by Start action or List actions.

Required string length: 1 - 200

Body

application/json

Choose how to complete the exact payment interaction. Merchant, amount, currency, protocol, and scope remain server-bound.

interactionId
string
required
Required string length: 1 - 200
expectedRevision
integer
required
Required range: x >= 1
route
enum<string>
required
Available options:
direct,
darwin_pay
source
One-time payment method · object
required
save
boolean
required

Explicit consent to save a tokenized processor reference after a successful one-time flow.

requestId
string
required
Required string length: 1 - 160
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9._:-]*$

Response

The current truthful state of the action.

type
enum<string>
required
Available options:
start,
status,
update,
approve,
stop,
pay,
connect
Allowed value: "pay"
actionId
string
required
status
enum<string>
required
Available options:
completed,
running,
awaiting_user,
approval_required,
connection_required,
payment_required,
insufficient_authority,
provider_unavailable,
stopped
result
object
required
actionRequired
string | null
required
availableActions
enum<string>[]
required
Available options:
status,
update,
approve,
pay,
connect,
stop
interaction
Connection · object
feedbackRequest
object
policyState
object
Last modified on September 21, 2026