---
title: "POST /v1/x402-endpoints/execute"
method: POST
path: "/v1/x402-endpoints/execute"
---

# POST /v1/x402-endpoints/execute

`POST /v1/x402-endpoints/execute`

Execute an x402 call with a pre-signed payment header (proxy mode)

## Request body

- union
  - object
  - ExecuteX402EndpointParams
    - `body` object
    - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'
    - `paymentHeader` string, required — Base64-encoded X-PAYMENT from browser signing
    - `resourceUrl` string, required

## Response `200`

OK

- ExecuteX402EndpointSuccessResponse
  - `code` integer
  - `data` TestX402EndpointData — Reuse same response structure
    - `error` string
    - `paymentDetails` TestX402PaymentDetails
      - `amountPaid` string
      - `asset` string — Token address used for payment
      - `network` string
      - `payer` string
      - `transaction` string — May be null if server doesn't return it
    - `resource` unknown
    - `statusCode` integer
    - `success` boolean
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/b3-fun/apis/b3os-workflow-api.md) · [All operations](https://skmtc.net/b3-fun/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b3-fun/b3os-workflow-api/versions/5a750a5a9596/schema)
