mashape billing addon – server handshake

6
Mashape Billing Addon - Server Handshake [email protected] Thursday, April 11, 13

Upload: chris-ismael

Post on 14-Jan-2015

4.591 views

Category:

Technology


3 download

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

Page 1: Mashape Billing Addon – Server Handshake

Mashape Billing Addon - Server Handshake

[email protected]

Thursday, April 11, 13

Page 2: Mashape Billing Addon – Server Handshake

Mashape Billing Addon Server handshake flow

See animation at http://www.screenr.com/xN37

B A C

DE

Thursday, April 11, 13

Page 4: Mashape Billing Addon – Server Handshake

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

Page 5: Mashape Billing Addon – Server Handshake

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