{
"pspType": "WORLDPAY_EU",
"type": "PAYIN",
"isTestMode": false,
"baseamount": 11.00,
"currency": "GBP",
"userId": "000000000000000000000001",
"email": "merchant-user@example.com",
"firstName": "Jane",
"lastName": "Smith",
"phone": "07700900000",
"gender": "female",
"dob": "1990-01-15",
"countryCode": "GB",
"kycVerified": true,
"blocked": false,
"isVelocity": false,
"transactionCount": "0",
"userBalance": 0,
"partnerName": "ExampleMerchant",
"emailVerification": "merchant-user@example.com",
"verificationDate": "2024-01-01",
"address": {
"line1": "1 Test Street",
"city": "London",
"state": "England",
"postalCode": "SW1A 1AA",
"country": "GB"
}
}curl --location 'https://backend.app.mozarto.io/v1/api/mozarto/cashier' \
--header 'Authorization: Bearer {{COMPANY_TOKEN}}' \
--header 'x-user-token: Bearer {{USER_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"pspType": "WORLDPAY_EU",
"type": "PAYIN",
"isTestMode": false,
"baseamount": 11.00,
"currency": "GBP",
"userId": "000000000000000000000001",
"email": "merchant-user@example.com",
"firstName": "Jane",
"lastName": "Smith",
"phone": "07700900000",
"gender": "female",
"dob": "1990-01-15",
"countryCode": "GB",
"kycVerified": true,
"blocked": false,
"isVelocity": false,
"transactionCount": "0",
"userBalance": 0,
"partnerName": "ExampleMerchant",
"emailVerification": "merchant-user@example.com",
"verificationDate": "2024-01-01",
"address": {
"line1": "1 Test Street",
"city": "London",
"state": "England",
"postalCode": "SW1A 1AA",
"country": "GB"
}
}'{
"status": "success",
"message": "Successfully",
"isSuccess": true,
"data": {
"orderCode": "WP-64a1f2b3c4d5e6f7",
"paymentUrl": "https://secure.worldpay.com/wcc/purchase?OrderKey=MERCHANT%5EWP-64a1f2b3c4d5e6f7",
"transactionId": "64a1f2b3c4d5e6f7a8b9c0d1",
"merchantReference": "",
"amount": 11.00,
"transaction_status": "Pending"
}
}