GetAlipayTransferStatus
Queries the tipping status of the Alipay wallet bound to an application.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM permission policy statement to grant a RAM user or RAM role the permission to call this API. Details:
-
Operation: refers to the specific permission point.
-
Access level: refers to the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: refers to the resource types that support authorization in the operation. Details:
- Required resource types are marked with a preceding *.
- For operations that do not support resource-level authorization,
All Resourcesis used.
-
Condition key: refers to the condition keys defined by the cloud service itself.
-
Related operation: refers to other permissions required to successfully perform the operation. The caller must also have the permissions of the related operations for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| sfm:GetAlipayTransferStatus | none | *All Resources * |
| None |
Endpoint
/openapi/alipay/transfer/statusRequest body
workspace_idstringOptionalThe Bailian workspace ID.
codestringOptionalThe tipping code returned by the Alipay tipping link request.
Response fields
Schema of Response
requestIdstringThe unique ID of the request.
dataobjectThe tipping result data.
codestringThe code corresponding to the tipping.
walletItemCodestringThe Alipay product wallet code.
mainAccountIdstringThe primary account ID (ignored by the API).
accountIdstringThe sub-account ID (ignored by the API).
alipayOrderIdstringThe Alipay order ID.
statuslongThe tipping status
- 1 (Succeeded)
- 0 (Deleted)
- 2 (Pending tipping)
- 3 (Canceled)
- 4 (Refunded)
- 5 (Closed)
- 6 (Failed)
- 7 (Disputed or abnormal)
creatorstringThe creator (ignored by the API).
modifierstringThe modifier (ignored by the API).
alipayOrderDetailstringThe payment details (ignored by the API).
titlestringThe transfer title.
qrURLstringThe tipping link (ignored by the API).
transAmountstringThe total order amount. Unit: CNY.
scopestringThe ownership status of the tipping application.
Response example
Success response
JSON format
{
"requestId": "6a71f2d9-f1c9-913b-818b-11402910xxxx\n",
"data": {
"code": 0,
"walletItemCode": "xsdfsdf",
"mainAccountId": 1007576424487905,
"accountId": 1348393307144609,
"alipayOrderId": 1234234,
"status": 1,
"creator": 234234,
"modifier": 234234,
"alipayOrderDetail": {},
"title": "test",
"qrURL": "https://xxx.aliyun.com",
"transAmount": 0.22,
"scope": "publish"
}
}
Error codes
Visit the Error Center to view more error codes.