Input | Type | Description |
---|---|---|
Primer token | string | The multi use token ID for a user referring to a specific credit card. |
Target domain | select | A list of enabled PCI compliant third-parties. This list is empty by default and needs to be enabled for each account manually, pending a PCI review. |
Target path | string | The path within the third-party endpoint to post card details to. |
Payload | string | Map a field to pass the payload through. Make sure to use the placeholder variables as needed. |
Content Type | string | Set the content type of the payload, like application/json or application/xml |
Placeholder variables | - | A set of available token fields that the action will replace with actual values from the token. |
Cardholder name | string | The placeholder for the cardholder name, by default {{CARDHOLDER_NAME}} but can be changed according to the individual needs. |
Card number | string | The placeholder for the cardholder name, by default {{CARD_NUMBER}} but can be changed according to the individual needs. Important: Sending a payload that does not at least contain the placeholder for card number will fail the action immediately without attempting a third-party request. |
Expiry month | string | The placeholder for the card expiration month, by default {{EXPIRATION_MONTH}} but can be changed according to the individual needs. |
Expiry year | string | The placeholder for the card expiration year, by default {{EXPIRATION_YEAR}} but can be changed according to the individual needs. |
Expiry year format | yyyy or yy | Different endpoints handle the expiration year differently, so you can choose which format to send. |
Custom headers | list | You can set additional headers to be sent if necessary. You must not use this for API keys or other authorization methods, as the credentials will be visible in the Workflow Run view. Instead, set credentials and authorization header name when configuring the App itself. |
Request ID | string | You can specify a request ID that will be returned as an output by this action. This can be useful if you want to forward the response to a different endpoint because you can then use the request ID to easier reconcile the requests. |
Fail action on unsuccessful request? | checkbox | By default, this is on and the Workflow Run will fail if we do not get a 2xx response from the PCI compliant endpoint. You can disable this and create branching logic based on response status to build a comprehensive workflow handling different responses. Do note that timeouts will always lead the request to fail as you can’t assume the request was received or not received. |
Output | Type | Description |
---|---|---|
Request ID | string | You can specify a request ID as input that will be returned as an output by this action. This can be useful if you want to forward the response to a different endpoint because you can then use the request ID to easier reconcile the requests. |
Response body | string | The response we received from the PCI compliant endpoint. You could forward this response back to your own endpoint using the send web request action. |
Response content-type | string | The content-type for the response from the PCI compliant endpoint. Usually application/json or application/xml . |
Response status | string | The response status from the PCI compliant endpoint. This is useful if you set the action to not fail the workflow in case the request could not be sent. Do note that timeouts will always lead the request to fail as you can’t assume the request was received or not received. |
useCase
field to branch to send different payloads to different partners.
Send card details via web request app
Send card details via payment app