- 概述
- 定制配置
- API
- WEB
- SC
- OP
- MP
- MP Copy
- PP
- APP
- OpenApi
- 机构运营报表
- 未命名接口POST
transaction-history
开发中
POST
/pbs/pos/momo/v3/transaction-history
MomoPay
最后修改时间:2022-12-14 00:55:17
请求参数
Body 参数application/json
senderIdentifier
string
senderIdentifier
externalTransactionId
string
externalTransactionId
receiverIdentifier
string
receiverIdentifier
pin
string
pin
sessionId
string
sessionId
noOfTransactions
integer
noOfTransactions
indexOffset
integer
indexOffset
startDate
string
startDate
endDate
string
endDate
transactionStatus
string
transactionStatus
transactionType
string
transactionType
filter
string
filter
providerSystem
string
providerSystem
示例
{
"senderIdentifier": "string",
"externalTransactionId": "string",
"receiverIdentifier": "string",
"pin": "string",
"sessionId": "string",
"noOfTransactions": 0,
"indexOffset": 0,
"startDate": "string",
"endDate": "string",
"transactionStatus": "string",
"transactionType": "string",
"filter": "string",
"providerSystem": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/pbs/pos/momo/v3/transaction-history' \
--header 'Content-Type: application/json' \
--data-raw '{
"senderIdentifier": "string",
"externalTransactionId": "string",
"receiverIdentifier": "string",
"pin": "string",
"sessionId": "string",
"noOfTransactions": 0,
"indexOffset": 0,
"startDate": "string",
"endDate": "string",
"transactionStatus": "string",
"transactionType": "string",
"filter": "string",
"providerSystem": "string"
}'
返回响应
🟢200成功
application/json
Body
code
string
错误码
msg
string
错误描述
psn
string
报文序列号
data
object
业务数据
transactionDetails
array [object {21}]
transactionDetails
statusCode
string
Status of the transaction ;0- Success,Any value other than 0- Failure
statusMessage
string
Status of the transaction, which will indicate if it is success or failure. If business failure, the reason for the failure will be displayed
supportMessage
string
Support message for the transaction. Indicates failure reason in case of failed transactions
transactionId
string
Unique identifier for every request to SOA. Mapped from input request
示例
{
"code": "string",
"msg": "string",
"psn": "string",
"data": {
"transactionDetails": [
{
"receiverIdentifier": "string",
"senderName": "string",
"transactionFee": "string",
"senderIdentifier": "string",
"receiverName": "string",
"transactionAmount": "string",
"crIndicator": "string",
"currency": "string",
"externalTransactionId": "string",
"transactionDate": "string",
"financialTransactionId": "string",
"availableBalance": "string",
"recipientMsisdn": "string",
"isReversable": true,
"transactionType": "string",
"transactionStatus": "string",
"userId": "string",
"providerName": "string",
"voucherId": "string",
"voucherExpireDate": "string",
"additionalInfo": {}
}
],
"statusCode": "string",
"statusMessage": "string",
"supportMessage": "string",
"transactionId": "string"
}
}