Mail Order Management APIs
Complete Purchase
API to confirm payment for complete purchase of a Mail Order on the Titan Mail Cloud infra
API consumers can use Create Mail Order/Modify Mail Order APIs for order provisioning and upgrades/renewals.
This API serves a different (and more deeply integrated) case where partner is handling payments for some purchases user initiated in Titan's Domain Control Panel.
Flow:
- User initiates a payment action (adds some addon to cart, increases mailboxes, upgrades plan) on Control Panel.
- For payment Titan redirects user to a payment url partners provide, passing on a trackingId as part of jwt
- Partner takes payment from user and triggers this API (Complete Purchase) with the same trackingId
- Titan records the payment and makes the purchases associated with that trackingId.
post/partner/completePurchase
Request
- Base URL: https://bll.titan.email
- URL: https://bll.titan.email/partner/completePurchase
- Auth: none declared
Request body
Example request
{
"titanOrderId": 1,
"domainName": "xyz.com",
"customerId": "abcd123",
"trackingId": "qwe-123-asd-321",
"currency": "USD",
"chargedAmount": 12.2,
"chargedUSDAmount": 12.2,
"discountAmount": 1.5,
"taxAmount": 0.2,
"paymentTxnId": "txnId"
}Response
OK
Example response
{
"reqID": "server.req.id"
}Changes
No recorded changes to this operation across all 1 revision of this API.