Secure Payments API – VersaPay Processor

General

This article covers creating a VersaPay payment processor. You may also be interested in:

Processing a Payment Through VersaPay

Send a POST request to the following endpoint:

https://pciwallet.simnang.com/api/processors/versa

Here's a sample payload:

{
"versa": {
"name": "Sample",
"auto_reversal": true,
"bypass": true,
"demo_mode": true,
"key": "YOUR VERSAPAY KEY",
"token": "YOUR VERSAPAY TOKEN"
}
}

Sample cURL payload:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTHORIZATION' --header 'secret: YOUR SECRET' -d '{ \
"versa": { \
"name": "Sample", \
"auto_reversal": true, \
"bypass": true, \
"demo_mode": true, \
"key": "YOUR VERSAPAY KEY", \
"token": "YOUR VERSAPAY TOKEN" \
} \
}' 'https://pciwallet.simnang.com/api/processors/versa'

Your response should give the processor ID, which will be used when processing a Versapay transaction:

{
"id": 2996
}


How did we do?


Powered by HelpDocs (opens in a new tab)