The POST View Check method returns the image of a check associated with a specific outbound payment. This method accepts the unique paymentId
of the payment associated with the check. The method responds with the check image encoded as a base64 string. You must decode the base64 string to render or save the image file.
URI
|
secure/outboundpayments/image
|
Method
|
POST
|
Authorization
|
API Key Authorization
|
x-api-key
|
API key {env_merchantAccessKey}
|
x-app-key
|
Merchant ID or App Key {env_merchantId}
|
x-version
|
API version (e.g., 2.3)
|
Origin
|
URL or IP address provided to AndDone as an allowed origin.
|
Content-Type
|
application/json
|
Request Parameters
paymentId |
String |
true |
NA |
The unique ID of the payment associated with the check that you want to view. |
Body Request Example (JSON)\
{
"paymentId": "0dfa44de-139e-4330-82b1-912966ea6e55"
}
Response Parameters
Body Response Example (JSON)
{
"image": "/9j/4AAQSkZJRgABAQAAjACMAAD/4gogSUNDX1BST0ZJTEUAAQEAAAoAAABtAAAABRyWFlaAAAByAAAABRnWFlaAAAB3AAAABRiWFlaAAAB8AAAABRyVFJDAAACBAAACAxnVFJDAAACBAAAC..."
}