Depositing with iFrames

Here is the curl for an examplary iFrame deposit request.

curl -X 'POST' \
  'https://grassman.vevopay.io/Transaction/CreateDeposit' \
  -H 'accept: text/plain' \
  -H 'Content-Type: application/json-patch+json' \
  -H 'X-XSRF-TOKEN: null' \
  -d '{
  "amount": 50,
  "userId": "string",
  "name": "string",
  "username": "string",
  "referenceId": "hello-vevopay",
  "transactionType": 1,
  "paymentMethod": 1,
  "hashCode": "F5D83BE4E9F03619FC8D5E96C334D2FF"
}'

The parameters are:

  • amount: Amount to be deposited.
  • userId: Unique ID for the depositing customer.
  • name: Name & Surname of the depositing customer.
  • username: Username of the depositing customer.
  • referenceId: The unique ID for this transaction. We recommend using UUIDv4 standard.
  • transactionType: Static value 1. Signifies this transaction being a deposit.
  • paymentMethod: For a complete list, see our swagger docs.
  • hashCode: See Calculating Hash Codes

If successful, the response body will contain a url field. Customer must be redirect to this url to fulfill the deposit.

See Receiving Callbacks to learn how to verify deposits (or reject) after this step.