POST
/
v1
/
3ds
/
order
curl -X POST https://api-eu.sulpayments.ch/v1/3ds/order \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "order": {
      "partner_code": "3DS-001",
      "value": 500.00,
      "description": "High value purchase",
      "notification_url": "https://yourapp.com/webhooks/order",
      "payment_method": "credit_card"
    },
    "customer": {
      "name": "Jane Doe",
      "document": "12345678909",
      "email": "jane@example.com",
      "phone": "+5511999999999"
    }
  }'
{
  "id": "ord_3ds_001",
  "status": "waiting_payment"
}
Creates an order in waiting_payment state. The client then performs 3DS authentication and calls PUT /v1/3ds/order/ with the authentication result.

Headers

Authorization
string
required
Bearer {token}

Body

order

order.partner_code
string
required
order.value
number
required
order.description
string
required
order.notification_url
string
required
order.installments
integer
order.payment_method
string
required
credit_card

customer

customer.name
string
required
customer.document
string
required
customer.email
string
required
customer.phone
string
required
customer.login
string

Response

id
string
status
string
curl -X POST https://api-eu.sulpayments.ch/v1/3ds/order \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "order": {
      "partner_code": "3DS-001",
      "value": 500.00,
      "description": "High value purchase",
      "notification_url": "https://yourapp.com/webhooks/order",
      "payment_method": "credit_card"
    },
    "customer": {
      "name": "Jane Doe",
      "document": "12345678909",
      "email": "jane@example.com",
      "phone": "+5511999999999"
    }
  }'
{
  "id": "ord_3ds_001",
  "status": "waiting_payment"
}