Skip to main content

Outbound Payments

POST View Check

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.

API Endpoint
https://api.uat.anddone.com/secure/outboundpayments/image
API Data Details
URI secure/outboundpayments/image
Method POST
Authorization API Key Authorization
Authorization
x-api-key API key {env_merchantAccessKey}
Request Headers
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

Field Name Data Type Mandatory Field Length Description
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..."
}