Follow

Remote Signature Capture - Email

Your customers can sign from any computer or touch enabled mobile device.

Capturing Signatures via Email

This tutorial will show you how to capture signatures from clients that are not at the business when the card is run. For example, phone or e-commerce orders. When this API is called an email is sent to the customer with instructions to sign. They can sign from any computer or touch enabled mobile device. All you need to do is provide an email and valid transaction ID. We take care of the rest.

Production Request

curl -X POST -u "login:password" -H "Accept: application/json" -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY" \
    -d "to=customeremail@home.com" \
    -d "replyTo=youremail@company.com" \
    -d "requestSignature=true" \
    "https://api.payjunction.com/transactions/12345/receipts/latest/email"

This is what the email will look like that the customer receives.

They can then sign with their mouse or their finger on their mobile device.

If you would like to get the signed receipts from a transaction then use this API call.

Production Request

curl -X GET -u "login:password" -H "Accept: application/json" -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY" \
    "https://api.payjunction.com/transactions/12345/receipts/latest"

Response

{
    "uri": "https://api.payjunctionlabs.com/transactions/15579/receipts/latest",
    "signatureStatus": "SIGNED",
    "terms": "25.00",
    "signatureUpToDate": true,
    "signature": {
        "signedBy": {
            "ipAddress": "98.173.30.75",
            "name": "This is my name"
        },
        "dateSigned": "2014-01-22T22:17:10Z",
        "source": "REMOTE_CAPTURE",
        "device": "Remote Capture",
        "deviceVersion": "1.0",
        "image": {
             "uri": "https://api.payjunction.com/transactions/15579/receipts/latest/signature"
        }
    },
    "documents": {
        "thermal": {
            "uri": "https://api.payjunction.com/transactions/15579/receipts/latest/thermal"
        },
        "fullpage": {
            "uri": "https://api.payjunction.com/transactions/15579/receipts/latest/fullpage"
        }
    },
    "actions": {
        "email": {
            "uri": "https://api.payjunction.com/transactions/15579/receipts/latest/email"
        }
    },
    "created": "2014-01-22T22:17:10Z",
    "lastModified": "2014-01-22T22:17:10Z"
}

Related Articles & Resources