mashape billing addon – server handshake
DESCRIPTION
This presentation shows the flow of the handshake between the Mashape proxy and the API provider's server to facilitate proper billing through Mashape.TRANSCRIPT
Mashape Billing Addon - Server Handshake
Thursday, April 11, 13
Mashape Billing Addon Server handshake flow
See animation at http://www.screenr.com/xN37
B A C
DE
Thursday, April 11, 13
1. Mashape Billing Addon
• The Mashape Billing Addon allows API providers to set up flexible pricing plans for their API in Mashape
• To learn how to use the Billing Addon, please check https://www.mashape.com/docs/gettingstarted/tutorials
Thursday, April 11, 13
2. Mashape Headers sent to the API Provider• Mashape sends a “X-
Mashape-Subscription” header to tell the API provider which plan the call is attributed to.
• Mashape headers sent to the API provider are described in https://www.mashape.com/docs/publish/proxyheaders
Thursday, April 11, 13
3. API Provider Server Configuration
• The API provider sends back a “X-Mashape-Billing” to tell Mashape which plan limit it should be counted against.
• The specific details of the handshake are outlined in https://www.mashape.com/docs/monetize/billing
Thursday, April 11, 13