Transactions
Service group for viewing a transaction, checking balances, creating a new transaction, and more.
Service that returns the available balances in the account.
POST
/api/v1/commerces/getBusiness
Request Body
data*
Object
data field
Service that returns all the information about a transaction.
POST
/api/v1/transactions/find
This service returns information about a transaction if it was carried out within the last two days.
Request Body
data*
Object
_id
String
Customer ID (the same as sent in the sale)
Status transaction
PENDING
1
APPROVED
2
REJECTED
3
PROCESSING
4
PARTIAL
5
Sell a product
Service used to initiate a sale
POST
/api/v1/transactions/sell
Request Body
data.productId
String
Product ID
data.*
String
Additional fields required for the product can be consulted here.
_channel
string
Always send "WS"
_version
String
API version
_id
String
customer ID
Inquire / Quote
Service that allows for quoting and obtaining the sale value
POST
/api/v1/transactions/query
It is recommended to always consume this service, even if the product does not require a prior inquiry.
Request Body
data.productId*
String
Product ID
data.*
String
Additional fields required for the product can be consulted here.
_channel
String
Always send "WS"
_version
String
API version
Última actualización