Withdrawals
To create a withdraw, here is an examplary curl one-liner:
curl -X 'POST' \
'https://grassman.vevopay.io/api/services/app/TransactionRequests/CreateWithdraw' \
-H 'accept: text/plain' \
-H 'WebApiKey: 5FA6CE55-B9FF-40D0-BFD5-1642D53B3C37' \
-H 'Content-Type: application/json-patch+json' \
-H 'X-XSRF-TOKEN: null' \
-d '{
"accountNumber": "string",
"amount": 1,
"userId": "string",
"name": "string",
"username": "string",
"referenceId": "hello-vevopay-withdraw",
"transactionType": 2,
"paymentMethod": 1,
"hashCode": "5B2CE161F978B6EB95042596D1DBB5E6"
}'
Parameters are:
identityNumber
: (optional) identity number of the withdrawing customer.accountNumber
: The receiver ID (Papara account number, IBAN etc ) of the withdrawing customer.userId
: Unique ID of the withdrawing user.name
: Name & Surname of the withdrawing user.username
: Username of the withdrawing user.referenceId
: Unique ID for this withdraw.transactionType
: Static value of2
.paymentMethod
: For a complete list, see our swagger docs.hashCode
: See Calculating Hash Codes
If successful, you will see a withdraw request appear on our dashboard's withdrawals page. At this point it is up to you to either pay & complete or cancel the withdrawals without paying.