Skip to main content
POST
/
v1
/
users
/
headless
curl
curl -X POST "https://api.services.payward.com/v1/users/headless" \
  -H "API-Key: $PWS_API_KEY" \
  -H "API-Nonce: $PWS_API_NONCE" \
  -H "API-Sign: $PWS_API_SIGN" \
  -H "Content-Type: application/json" \
  -d '{
    "external_reference": "partner-user-12345"
  }'
{
  "data": {
    "id": "AA45N8G4MLDYWAR7",
    "accounts": [
      {
        "id": "WX6VJUKWKKPBQE36",
        "name": "main"
      },
      {
        "id": "WC9RDEFHPSGLXRVX",
        "name": "secondary"
      }
    ]
  }
}

Authorizations

API-Key
string
header
required

Your public API key. Identifies the partner making the request.

API-Nonce
string
header
required

Monotonically increasing nonce included in the request signature.

API-Sign
string
header
required

HMAC signature over the request, computed with your private key.

Body

application/json
external_reference
string
required

Stable partner-supplied reference for this user. Must be unique within your partner account. Reuse the same value only for the same user, including create retries.

Example:

"partner-customer-12345"

Response

User created successfully

data
object
required