Hello to everyone. I’m Atakan Koc. I want to make sales in the application I designed, but stripe is not used in my country. That’s why I want to use the Google Play Billing system. How can I do that?
Use paypal instead of Google Play billing
The PayPal APIs are HTTP-based RESTful APIs that use OAuth 2.0 for authorization. API request and response bodies are formatted in JSON.
API requests
To construct a REST API request, combine these components:
Component | Description |
---|---|
The HTTP method | * GET . Requests data from a resource. |
-
POST
. Submits data to a resource to process. -
PUT
. Updates a resource. -
PATCH
. Partially updates a resource. -
DELETE
. Deletes a resource.|
|The URL to the API service|* Sandbox.https://api.sandbox.paypal.com
- Live.
https://api.paypal.com
|
|The URI to the resource|The resource to query, submit data to, update, or delete. For example,v1/invoicing/invoices
.|
|Query parameters|Optional. Controls which data appears in the response. Use to filter, limit the size of, and sort the data in an API response.|
|HTTP request headers|Includes theAuthorization
header with the access token.|
|A JSON request body|Required for mostGET
,POST
,PUT
, andPATCH
calls.|
More details
https://developer.paypal.com/docs/api/overview/