- FAQs
- Guides
- Authorization
- Orders
- Categories
- Markets
- Positions
- Season
- Blast
- OAuth
- ZeroDev
Create an order for a OAuth connection
POST
/oauth/orders/create
OAuth
Request
Body Params application/json
signer
string
required
account
string
required
signature
string
required
data
object
required
timestamp
integer
required
pricePerShare
string
required
strategy
enum<string>
required
Allowed values:
LIMITMARKET
slippageBps
string
optional
>= 1 characters
order
object
required
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-sepolia.predict.fun/oauth/orders/create' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
success
boolean
required
data
object
required
code
enum<string>
required
Allowed value:
OK
Example
{
"success": true,
"data": {
"code": "OK"
}
}
Modified at 2024-12-11 12:14:21