完成Payment
POST/openapi/2022-01/payments_apps/complete_callbacks
请求
Header参数
Oauth's Access Token
Shoplazza's store domain
the hmac signature for this request
- application/json
- 请求体
- 示例
请求体
Payment App's ID
Payment ID
Order's total price
Three-letter ISO 4217 currency code
Payment App's transaction number for reference
Either sale or authorization. If you support payment authorization, then this value is set based on the merchant's configuration. If you don't support separate authorization and capture, then the value is always sale. For sale transactions, you need to capture the funds instantly with this request. For authorization transactions, you must place a hold on the funds and capture them later when Shoplazza sends a capture request.
Indicates whether the payment is in test or live mode. Refer to Test mode for more information.
Payment status from Payment App
可选值: [paid, failed]
extension object
Customize object from Payment App
ISO-8601 format timestamp, eg: 2021-09-01T18:32:20Z
{
"app_id": "string",
"payment_id": "string",
"amount": 0,
"currency": "string",
"transaction_no": "string",
"type": "string",
"test": true,
"status": "paid",
"extension": {},
"timestamp": "string"
}
响应
- 200
- 400
200
- application/json
- 数据结构
- 示例
- Result
数据结构
https://developer.myshoplaza.com/products/test_product{
"redirect_url": "https://developer.myshoplaza.com/products/test_product"
}
{ "redirect_url": "https://developer.myshoplaza.com/products/test_product" }
400
- application/json