Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Library klien
Google Wallet API dibuat di HTTP dan JSON, sehingga semua klien HTTP standar dapat mengirim permintaan ke HTTP dan JSON
dan mengurai respons.
Namun, library klien Google API resmi memberikan integrasi bahasa yang lebih baik, keamanan yang lebih baik,
dan dukungan untuk melakukan panggilan yang memerlukan otorisasi pengguna. Library klien ini tersedia dalam sejumlah bahasa pemrograman. Dengan menggunakannya, Anda tidak perlu lagi menyiapkan permintaan HTTP dan mengurai respons secara manual.
Kunjungi situs library klien Google API untuk mendapatkan petunjuk tentang cara menyiapkan bahasa pemrograman pilihan Anda.
Setelah diinstal, Anda dapat mengikuti contoh API di GitHub.
Perhatikan bahwa beberapa library klien API sebelumnya tersedia di sini sebagai download langsung.
Meskipun sebagian besar library ini berisi antarmuka yang sama dengan library resmi, library ini mungkin berisi namespace yang sedikit berbeda yang mungkin memerlukan update dalam kode Anda.
[null,null,["Terakhir diperbarui pada 2025-08-29 UTC."],[[["\u003cp\u003eThe Google Wallet API can be accessed using any standard HTTP client, but official client libraries offer better language integration, security, and authorization support.\u003c/p\u003e\n"],["\u003cp\u003eOfficial client libraries are available in various programming languages and eliminate the need for manual HTTP request setup and response parsing.\u003c/p\u003e\n"],["\u003cp\u003eWhile previously downloadable libraries for Java, C#, and PHP exist, using official libraries is recommended for better compatibility.\u003c/p\u003e\n"],["\u003cp\u003eAndroid framework libraries, including a Flutter plugin and a Jetpack Compose button, are available for easier Google Wallet integration in Android apps.\u003c/p\u003e\n"]]],["The Google Wallet API utilizes HTTP and JSON, but official Google API client libraries offer enhanced language integration, security, and authorization support. These libraries eliminate the need for manual HTTP request setup and response parsing. Installation instructions are on the Google APIs website, with API samples on GitHub. Additionally, specific libraries for Flutter and Jetpack Compose are available. Some previously downloadable libraries exist but may require code namespace updates.\n"],null,["# Libraries\n\nClient libraries\n----------------\n\nThe Google Wallet API is built on HTTP and JSON, so any standard HTTP client can send requests to it\nand parse the responses.\n\nHowever, the [official Google APIs client libraries](https://developers.google.com/api-client-library/) provide better language integration, improved security,\nand support for making calls that require user authorization. The client libraries are available in\na number of programming languages; by using them you can avoid the need to manually set up HTTP\nrequests and parse the responses.\n\n\nVisit the [Google APIs client libraries](https://developers.google.com/api-client-library/) website for instructions on setting up in your preferred programming language.\nOnce installed, you can then follow the [API samples on GitHub](https://github.com/google-wallet/rest-samples).\n\n\nNote that some of the API client libraries were previously available here as direct downloads.\nWhile these libraries largely contain the same interfaces as the official libraries, they may contain slightly different namespaces which may require updating in your code.\nPreviously downloadable libraries\n\n- [Java](/static/wallet/downloads/google-walletobjects-v1-rev_20240607-java.zip)\n- [C#](/static/wallet/downloads/google-walletobjects-v1-rev_20240607-csharp.zip)\n- [PHP](/static/wallet/downloads/google-walletobjects-v1-rev_20240607-php.zip)\n\nAndroid Framework Libraries\n---------------------------\n\nThe following libraries are available for integrating Google Wallet using frameworks such as Flutter and Jetpack Compose:\n\n- [Google Wallet Flutter Plugin](https://github.com/google-wallet/flutter-plugin)\n- [Jetpack Compose button for Google Wallet](https://github.com/google-wallet/compose-wallet-button)"]]