Subscription Order Status Transition
Subscription order status transition
Overview
This page documents thePOST /open/v1/order/complete endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
Notes
- Authentication uses the standard GatePay signed headers.
- This page documents the standard merchant endpoint.
- For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Headers
Merchant client ID, obtained from GatePay platform application
"4186d0c6-6a35-55a9-8dc6-5312769dbff8"
HMAC-SHA256 signature, used to verify request legitimacy
"672d5650dcc9bb22ebf25fa16c28d03c0e159d742a9176d4340a5da326d75dc8a2ec24c97fa6fc5d1533dd6e968863747e1d86a45e562cbe899f9ed7e9ca7f77"
Timestamp (milliseconds), time difference with server cannot exceed 5 minutes
"1672905655498"
Random number, used to prevent replay attacks
"9578"
Body
Subscription order status transition request parameters
Operation type: FINISH (complete) / CANCEL (cancel)
FINISH, CANCEL "FINISH"
Subscription order number (choose one with merchantSubscriptionOrderNo)
"SUB_20240101_001"
Merchant subscription order number (choose one with subscriptionOrderNo)
"MSUB_20240101_001"
Operation reason, maximum 100 characters
100"User actively cancels subscription"

