Request Payment / RequestPayment (internally is.workflow.actions.venmo.request)

This action is not yet complete. Some arguments may be missing.

This action requires that Shortcuts has permission to use WFContactAccessResource.

description

summary

Requests a payment from the specified people using a payment app on your device.

usage

RequestPayment app=("string" | variable)] undefined=NotImplemented amount=number openinApp=(true | false | variable) showWhenRun=(true | false | variable) note="string"

arguments


app: Intent App Picker (Docs)

Default Value: com.apple.PassKit.PassKitIntentsExtension

	Accepts a string or variable containing the option. Check the shortcuts app for a list of available options. 

This parameter is not implemented yet.

The parameter type is WFContactHandleFieldParameter. If you need to use this parameter, you may be able to use a raw value. Try converting a .shortcut to a .scpl containing the values you want in this parameter.


amount: Number (Docs)

Placeholder: 7.00 Allows Variables: true

	Accepts a number 
	or variable
	with a number.

openinApp: Switch (Docs)

Allows Variables: true

Accepts a boolean or a variable.


showWhenRun: Switch (Docs)

Default Value: true Allows Variables: true

Only enabled if: argument WFVenmoActionAppSwitch == false

Accepts a boolean or a variable.


note: Text (Docs)

Placeholder: "Note" Allows Variables: true

Accepts a string or text with the text. Allows newlines.


source json (for developers)

{
	"ActionClass": "WFHandlePaymentIntentAction",
	"ActionKeywords": [
		"venmo",
		"money",
		"send",
		"pay",
		"request",
		"cash",
		"curency",
		"dollars"
	],
	"Category": "Contacts",
	"Description": {
		"DescriptionSummary": "Requests a payment from the specified people using a payment app on your device."
	},
	"InputPassthrough": true,
	"IntentIdentifier": "sirikit.intent.payments.RequestPaymentIntent",
	"Name": "Request Payment",
	"Parameters": [
		{
			"Class": "WFIntentAppPickerParameter",
			"DefaultValue": "com.apple.PassKit.PassKitIntentsExtension",
			"DisallowedVariableTypes": [
				"Ask",
				"Variable"
			],
			"IntentName": "INRequestPaymentIntent",
			"Key": "IntentAppIdentifier",
			"Label": "App"
		},
		{
			"Class": "WFContactHandleFieldParameter",
			"IntentSlotName": "payer",
			"Key": "WFVenmoActionRecipients",
			"Label": "Recipients",
			"Placeholder": "Phone or email"
		},
		{
			"AllowsDecimalNumbers": true,
			"Class": "WFNumberFieldParameter",
			"IntentSlotName": "currencyAmount",
			"Key": "WFVenmoActionAmount",
			"Label": "Amount",
			"Placeholder": "7.00",
			"TextAlignment": "Right"
		},
		{
			"Class": "WFSwitchParameter",
			"DefaultValue": false,
			"Key": "WFVenmoActionAppSwitch",
			"Label": "Open in App"
		},
		{
			"Class": "WFSwitchParameter",
			"DefaultValue": true,
			"Key": "ShowWhenRun",
			"Label": "Show When Run",
			"RequiredResources": [
				{
					"WFParameterKey": "WFVenmoActionAppSwitch",
					"WFParameterValue": false,
					"WFResourceClass": "WFParameterRelationResource"
				}
			]
		},
		{
			"Class": "WFTextInputParameter",
			"IntentSlotName": "note",
			"Key": "WFVenmoActionNote",
			"Label": "Note",
			"Multiline": true,
			"Placeholder": "Note"
		}
	],
	"RequiredResources": [
		"WFContactAccessResource"
	],
	"Subcategory": "Payments"
}