Method: externaltransactions.createexternaltransaction

Creates a new external transaction.

HTTP request

POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=applications/*}/externalTransactions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this external transaction will be created. Format: applications/{packageName}

Query parameters

Parameters
externalTransactionId

string

Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked.

Request body

The request body contains an instance of ExternalTransaction.

Response body

If successful, the response body contains a newly created instance of ExternalTransaction.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher