Credit by Credit Card
API to credit (transfer money from merchant to customer) by credit card token.
Token can be created using the Tokenization flow.
API Interface
Credit API
POST
https://api.sensepass.com/api/transactions/credit
Request Body
Name
Type
Description
token*
string
Credit card token - Required
refundAmount
number
The credit amount - Required
Authentication Request Body fields
See here our Authentication page
errorCode = 0 indicating successful credit operation.
On error see "errorMessage" field which describes the error cause.
Example
Basic request example to credit using Device ID:
Basic request example to credit using Location API Key or Merchant API key:
Flow Chart
See our payment flow chart here
Transaction Status Flow
Last updated