
Button Manager NVP API June, 2009 3
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chapter 1 Website Payments Standard Button Manager API Overview 7
Button Manager Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Generated Button Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Button Hosting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Hosted Button Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Inventory Management Using Hosted Buttons. . . . . . . . . . . . . . . . . . . . . . . . 10
Button Manager API Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Granting Third-Party Permission for APIs . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 2 Using the Button Manager API . . . . . . . . . . . . . . .13
Specifying HTML Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Creating a Button Using NVP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Tracking Inventory for Menu Items Using NVP . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 3 Button Manager API Reference . . . . . . . . . . . . . . .17
BMCreateButton API Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
BMCreateButton Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
BMCreateButton Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
BMCreateButton Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
BMUpdateButton API Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
BMUpdateButton Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
BMUpdateButton Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
BMUpdateButton Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
BMButtonSearch API Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
BMButtonSearch Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
BMButtonSearch Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
BMButtonSearch Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Comentários a estes Manuais