CreateTerminalActionRequest
Name | Type | Tags | Description |
---|---|---|---|
idempotencyKey |
string |
Required | A unique string that identifies this CreateAction request. Keys can be any valid stringbut must be unique for every CreateAction request.See Idempotency keys for more information. Constraints: Minimum Length: 1 , Maximum Length: 64 |
action |
TerminalAction |
Required | Represents an action processed by the Square Terminal. |
{
"action": {
"deadline_duration": "PT5M",
"device_id": "{{DEVICE_ID}}",
"save_card_options": {
"customer_id": "{{CUSTOMER_ID}}",
"reference_id": "user-id-1"
},
"type": "SAVE_CARD"
},
"idempotency_key": "thahn-70e75c10-47f7-4ab6-88cc-aaa4076d065e"
}