Secure Payments API – PUT Users Settings

General

Updating user settings is one of the account management options available through the Secure Payments (formerly PCI Wallet) API

How To

Send a PUT request to the endpoint:

PUT https://pciwallet.simnang.com/api/users

This will update your user settings. Here you can update your account recharge amount, minimum balance before a recharge is triggered, and toggle the status of various settings in Secure Payments.

The minimum balance field is the low account balance before a recharge transaction will be triggered to your Billing Card. The amount parameter is the amount you wish your account to be refilled. This is the amount that will be charged to your billing card when your account reaches the minimum balance you have specified. The default minimum value is $50.00 USD and the default amount is $500.00 USD. The remaining parameters will toggle service for Authorize.net transaction processing(anet_action), routing number lookup(routing_action), E-Check processing(echeck_action), and Nacha SFTP upload(nacha_action).

Here's a sample JSON payload:

{
"settings": {
"minimum_balance": 50,
"amount": 2000,
"anet_action": true,
"routing_action": true,
"echeck_action": true,
"nacha_action": true
}
}

And a cURL request:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"settings": { \
"minimum_balance": 50, \
"amount": 2000, \
"anet_action": true, \
"routing_action": true, \
"echeck_action": true, \
"nacha_action": true \
} \
}' 'https://pciwallet.simnang.com/api/users/settings'

The response will just tell you that the update was successful:

{
"result": true
}


How did we do?


Powered by HelpDocs (opens in a new tab)