Credit by Credit Card
Last updated
Last updated
API to credit (transfer money from merchant to customer) by credit card token.
Token can be created using the Tokenization flow.
POST
https://api.sensepass.com/api/transactions/credit
Name | Type | Description |
---|---|---|
errorCode = 0 indicating successful credit operation.
On error see "errorMessage" field which describes the error cause.
Basic request example to credit using Device ID:
Basic request example to credit using Location API Key or Merchant API key:
See our payment flow chart here
deviceId
string
Terminal unique device ID provided by SensePass (For Device based Transactions) - Required if apiKey is empty
apiKey
string
Merchant ID provided by SensePass (For Web based Transactions) - Required if deviceId is empty
token*
string
Credit card token - Required
refundAmount
number
The credit amount - Required