{
"userId": "000000000000000000000001",
"email": "merchant-user@example.com",
"pspType": "EMERCHANTPAY",
"type": "PAYIN",
"baseamount": 100,
"currency": "EUR",
"firstName": "John",
"lastName": "Smith",
"countryCode": "AU",
"address": {
"line1": "45 King Street",
"line2": "Unit 2",
"city": "Brisbane",
"state": "Queensland",
"postalCode": 4000
},
"merchantReference": "TEST-001",
"webhookUrl": "https://example.com/webhook",
"hppSuccessUrl": "https://example.com/payment/success",
"hppFailureUrl": "https://example.com/payment/failed"
}curl --location 'https://backend.app.mozarto.io/v1/api/mozarto/cashier' \
--header 'Authorization: Bearer {{BRAND_TOKEN}}' \
--header 'x-user-token: Bearer {{USER_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "000000000000000000000001",
"email": "merchant-user@example.com",
"pspType": "EMERCHANTPAY",
"type": "PAYIN",
"baseamount": 100,
"currency": "EUR",
"firstName": "John",
"lastName": "Smith",
"countryCode": "AU",
"address": {
"line1": "45 King Street",
"line2": "Unit 2",
"city": "Brisbane",
"state": "Queensland",
"postalCode": 4000
},
"merchantReference": "TEST-001",
"webhookUrl": "https://example.com/webhook",
"hppSuccessUrl": "https://example.com/payment/success",
"hppFailureUrl": "https://example.com/payment/failed"
}'{"status":"success","message":"Transaction successfully processed","isSuccess":true,"data":{"status":"new","psp_transaction_id":"44177a21403427eb96664a6d7e5d5d48","paymentUrl":"https://wpf.emerchantpay.net/web-payment-form/abc123","transaction_id":"64a1f2b3c4d5e6f7a8b9c0d1","merchantReference":"TEST-001","transaction_status":"Pending","amount":100}}