appPurchaseOneTimeCreate mutation
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Allows an app to charge a shop for features or services one time.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
name
(
String!
)
required
|
The name of the app one-time purchase. |
price
(
MoneyInput!
)
required
|
The amount to be charged to the store for the app one-time purchase. The only permitted currency code is USD. |
returnUrl
(
URL!
)
required
|
The URL where the merchant is redirected after approving the app one-time purchase. |
test
(
Boolean
)
|
Specifies whether the app one-time purchase is a test transaction. |
MoneyInput fields
-
amount (
Decimal!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency of the money.
Return fields
-
appPurchaseOneTime (
AppPurchaseOneTime
)The newly created app one-time purchase.
-
confirmationUrl (
URL
)The URL where the merchant can approve or decline the app one-time purchase.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.