{
"userId": "1",
"email": "player1@test.com",
"pspType": "EMERCHANTPAY",
"type": "PAYIN",
"phone": "9876543210",
"baseamount": 100,
"currency": "EUR",
"currencyCode": "978",
"merchantReference": "TEST-001",
"isTestMode": false,
"countryCode": "US",
"address": {
"line1": "123 Test Street",
"line2": "Apt 4",
"city": "New York",
"state": "California",
"postalCode": "10001",
"country": "United States"
},
"card": {
"pan": "4012000000060085",
"cvv": "123",
"expMonth": "12",
"expYear": "2030",
"cardHolderName": "Alex Smith",
"holderName": "Alex Smith"
}
}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": "1",
"email": "player1@test.com",
"pspType": "EMERCHANTPAY",
"type": "PAYIN",
"phone": "9876543210",
"baseamount": 100,
"currency": "EUR",
"currencyCode": "978",
"merchantReference": "TEST-001",
"isTestMode": false,
"countryCode": "US",
"address": {
"line1": "123 Test Street",
"line2": "Apt 4",
"city": "New York",
"state": "California",
"postalCode": "10001",
"country": "United States"
},
"card": {
"pan": "4012000000060085",
"cvv": "123",
"expMonth": "12",
"expYear": "2030",
"cardHolderName": "Alex Smith",
"holderName": "Alex Smith"
}
}'{"status":"success","code":200,"message":"Transaction processed successfully","data":{"transactionId":"EMP-TXN-001","merchantReference":"TEST-001","pspType":"EMERCHANTPAY","type":"PAYIN","amount":100,"currency":"EUR","status":"APPROVED","redirectUrl":"https://payment.emerchantpay.com/redirect/abc123","createdAt":"2024-01-15T10:30:00Z"}}