6.4 付款计划支付回调-新合同履行
test-测试环境
https://oc-test.onecontract-cloud.com
test-测试环境
https://oc-test.onecontract-cloud.com
POST
/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5TSU5HTEUtU0NSSVBU
请求参数
Query 参数
domain
string
可选
示例值:
HITF.API.FULFILL_PAYMENTPLAN_PAY.CALLBACK
Header 参数
Authorization
string
可选
默认值:
{{token}}
Body 参数application/json
paymentStatus
string
支付状态
id
integer
付款计划ID
paidAmount
number
付 款金额
sourceScheduleId
string
源付款计划ID
示例
{
"paymentStatus": "ALL_PAID",
"id": "",
"paidAmount": 100,
"sourceScheduleId": "1626774519238"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oc-test.onecontract-cloud.com/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5TSU5HTEUtU0NSSVBU?domain=HITF.API.FULFILL_PAYMENTPLAN_PAY.CALLBACK' \
--header 'Authorization: bearer eb2446a6-93f9-456b-b713-5cb6f6adf765' \
--header 'Content-Type: application/json' \
--data-raw '{
"paymentStatus": "ALL_PAID",
"id": "",
"paidAmount": 100,
"sourceScheduleId": "1626774519238"
}'
返回响应
🟢200成功
application/json
Body
message
string
接口返回信息
result
object
接口返回结果
errcode
string
业务编码
errmsg
string
业务信息
data
object
业务数据
success
boolean
接口返回状态
示例
{"message":"execute success","result":{"errcode":"0","errmsg":"ok","data":{"creationDate":"2025-05-06 16:55:22","createdBy":695643182304997400,"lastUpdateDate":"2025-05-06 16:59:12","lastUpdatedBy":695643182304997400,"objectVersionNumber":4,"id":38457,"lineNumber":"FK-609751","paymentMethod":"LUMP_SUM_PAYMENT","termType":"RENT","termClassification":"LEASE","periodCode":1,"endDate":"2023-05-08 00:00:00","planAmount":100,"planDate":"2022-05-08 00:00:00","startDate":"2022-05-08 00:00:00","tenantId":1273,"paymentStatus":"ALL_PAID","receivedAmount":0,"unReceiveAmount":100,"verificationStatus":"WAIT_VERIFICATION","paidAmount":100,"routeReceiveAmount":0,"routePaymentAmount":0,"unPaidAmount":0,"paymentProportion":1,"transferredAmount":0,"refundAmount":0,"contractId":320190341213676740,"supplierId":12555668,"unVerificationAmount":100,"receiverId":12556106,"signSubjectId":12555621,"sourceScheduleId":"1626774519238","dataSource":"ES","contractNumber":"CON_0120250425002","needInvoice":1,"routeRefundAmount":0,"taxRate":0.13,"invoiceType":"03","originalAmount":100,"changeAmount":0,"currency":"CNY","feeWithoutTax":87,"tax":13,"initializeFlag":0,"importPaidAmount":0,"importReceivedAmount":0,"interfacePaidAmount":100,"interfaceReceivedAmount":0,"existSyncPayment":0,"contractName":"副本1-示例合同","supplierName":"上海甄零科技有限公司杭州分公司","signSubjectName":"上海甄零科技有限公司","receiverName":"深圳"}},"success":true}