| Field | Description |
|---|---|
accountName * | Display name for this account |
apiKey * | Payone API key |
webhookUrl * | Your HTTPS endpoint for transaction status updates |
siteUrl * | Your site URL - used by Payone to build redirect URLs after payment |
isWebhookSecured | Adds Authorization header to outbound webhook calls |
POST /v1/api/mozarto/cashier| Field | Type | Description |
|---|---|---|
pspType * | string | Always "PAYONE" |
type * | string | Always "PAYIN" |
baseamount * | number | Amount as a number (e.g. 100.00) |
currency * | string | Currency code (e.g. "EUR") |
currencyCode * | string | Currency code |
userId * | string | Your internal user/player identifier |
email * | string | User's email address |
firstName * | string | User's first name |
lastName * | string | User's last name |
phone * | string | Phone number (min 6 digits) |
brandId | string | Brand identifier |
{
"pspType": "PAYONE",
"type": "PAYIN",
"baseamount": 100.00,
"currency": "EUR",
"currencyCode": "EUR",
"userId": "user_123",
"email": "player@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "4915112345678"
}{
"status": "success",
"message": "Transaction successfully processed",
"isSuccess": true,
"data": {
"success": true,
"message": "Transaction successfully Ongoing Process",
"redirect_url": "https://demo.payonepayment.com/webflow-payment/...",
"transactionId": "64a1f2b3c4d5e6f7a8b9c0d1",
"merchantReference": "",
"amount": 10
}
}Note: Payone uses data.redirect_url- notdata.urlas returned by other providers. Update any redirect logic accordingly.
| Field | Description |
|---|---|
data.redirect_url | Hosted payment page URL - redirect the user here |
data.transactionId | Mozarto transaction ID - use for status queries and idempotency |
data.amount | Transaction amount as a number |
data.transaction_status | Initial status - always "Pending" on creation |
POST /v1/api/mozarto/cashiertype set to "PAYOUT". All required fields remain the same.{
"status": "success",
"message": "Withdraw request successfully processed",
"isSuccess": true,
"data": {
"success": true,
"message": "Withdraw request successfully processed",
"withdraw": {
"client": "Your account name",
"brand": "Your account name",
"userId": "000000000000000000000001",
"transactionId": "HS932097JV",
"first_name": "John",
"last_name": "Doe",
"email": "merchant@example.com",
"phone": "07700900000",
"userIp": "203.0.113.42",
"currency": "EUR",
"siteUrl": "https://your-site.com/operations",
"amount": "10.00",
"date": "2026-04-30",
"status": "Pending"
},
"transactionId": "64a1f2b3c4d5e6f7a8b9c0d1",
"merchantReference": "",
"amount": 10
}
}| Field | Description |
|---|---|
data.transactionId | Mozarto transaction ID - use for status queries and idempotency |
data.amount | Transaction amount as a number |
data.withdraw.transactionId | Payone internal transaction ID |
data.withdraw.status | Initial status - always "Pending" on creation |
data.withdraw.siteUrl | The siteUrl from your configuration |
data.withdraw.userIp | IP address of the request origin |
webhookUrl when the transaction reaches a final state.method field will be PAYONE_PAYIN or PAYONE_PAYOUT.{
"transaction_id": "69f8a54b2beab46cc6a51149",
"psp_transaction_id": "HS923856HU",
"user_id": "000000000000000000000001",
"status": "Declined",
"transaction_status": "Declined",
"message": "Declined",
"amount": "10.00",
"merchantReference": ""
}| Field | Description |
|---|---|
transaction_id | Mozarto transaction ID - matches data.transactionId from the Pay-In/Pay-Out response |
psp_transaction_id | Payone internal transaction ID - matches the ID embedded in data.redirect_url |
user_id | The user ID passed in the original request |
status | Raw Payone status string - do not use for business logic |
transaction_status | Normalized Mozarto status - use this for all business logic |
message | Human-readable description of the outcome |
amount | Transaction amount as a string |
merchantReference | The merchant reference passed in the original request - empty string if not set |