{"templateId":"markdown","versions":[{"version":"v1.0","label":"v1.0","link":"/docs/v1.0/guides/image-url","default":false,"active":true,"folderId":"a2557b8d"},{"version":"v2.0","label":"v2.0 (latest version)","link":"/docs/guides/image-url","default":true,"active":false,"folderId":"a2557b8d"}],"sharedDataIds":{"sidebar":"sidebar-docs/@v1.0/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","ConfigurableTabs","ConfigurableTab","img"]},"type":"markdown"},"seo":{"title":"Image URL","description":"Using the image URL parameter with the Trustap API to show product images in payment screen.","llmstxt":{"hide":false,"title":"Trustap API","description":"Trustap is an API for end-to-end transaction solution that seamlessly integrates payments, fulfillment, and support into your marketplace. Trustap is an escrow API service facilitating secure transactions.","sections":[{"title":"Intro","description":"Trustap API introduction.","includeFiles":["docs/v2.0/intro/*.md"],"excludeFiles":[]},{"title":"Concepts","description":"Trustap Concepts","includeFiles":["docs/v2.0/concepts/*.md"],"excludeFiles":["docs/v2.0/concepts/errors.md"]},{"title":"Guides","description":"Trustap integration guides","includeFiles":["docs/v2.0/guides/**/*.md"],"excludeFiles":["docs/v2.0/guides/listing/"]},{"title":"API Reference","description":"Trustap API reference guide","includeFiles":["**/apis/@v2.0/openapi.yaml"],"excludeFiles":[]}],"excludeFiles":[]},"meta":[{"name":"robots","content":"noindex"}]},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"image-url","__idx":0},"children":["Image URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Research shows that the average cart abandonment rate across online retailers is ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.shopify.com/ie/blog/shopping-cart-abandonment"},"children":["about 70%"]},". This means that 70% of customers, who put items in the online shopping cart, fail to pay for those items. There are a number of strategies that help reduce this number. Among the recommended steps is to add product images to a payment screen to build trust and reduce buyer uncertainty."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Trustap lets you add a product image to the payment screen, helping you improve conversion rates and reduce abandoned carts."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"add-a-product-image-to-a-transaction","__idx":1},"children":["Add a product image to a transaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Trustap API supports adding an image through the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["image_url"]}," when creating a transaction."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For details on how to create transactions, see our ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/v1.0/guides/transactions/online/online-intro"},"children":["online"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/v1.0/guides/transactions/face-to-face/face-to-face-intro"},"children":["face-to-face"]},", and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/v1.0/guides/transactions/trustap-lite/listing-intro"},"children":["Trustap lite"]}," guides."]}]},{"$$mdtype":"Tag","name":"ConfigurableTabs","attributes":{"id":"main-flow","urlParam":"flow"},"children":[{"$$mdtype":"Tag","name":"ConfigurableTab","attributes":{"label":"Online transaction","value":"online","default":true},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"curl --location 'https://dev.stage.trustap.com/api/v1/me/transactions/create_with_guest_user' \\\n--header 'Trustap-User: 1-886e3c26-b585-4c92-a93b-e3c84b9b32e9' \\\n--header 'Content-Type: application/json' \\\n--user '<API_KEY>:' \\\n--data '{\n    \"image_url\": \"https://docs.trustap.com/images/VW-GolfGTI.jpg\",\n    \"description\": \"1991 VW Golf GTI\",\n    \"seller_id\": \"1-886e3c26-b585-4c92-a93b-e3c84b9b32e9\",\n    \"buyer_id\": \"1-615a70d4-b624-4243-95be-a8367b7953ea\",\n    \"creator_role\": \"seller\",\n    \"currency\": \"gbp\",\n    \"price\": 10000,\n    \"charge\": 90,\n    \"charge_calculator_version\": 5\n    }'\n","lang":"curl"},"children":[]}]},{"$$mdtype":"Tag","name":"ConfigurableTab","attributes":{"label":"Face-to-face transaction","value":"f2f","default":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"curl --location 'https://dev.stage.trustap.com/api/v1/p2p/me/transactions/create_with_guest_user' \\\n--header 'Trustap-User: 1-886e3c26-b585-4c92-a93b-e3c84b9b32e9' \\\n--header 'Content-Type: application/json' \\\n--user '<API_KEY>:' \\\n--data '{\n\"image_url\": \"https://docs.trustap.com/images/VW-GolfGTI.jpg\",\n\"description\": \"1991 VW Golf GTI\",\n\"seller_id\": \"1-886e3c26-b585-4c92-a93b-e3c84b9b32e9\",\n\"buyer_id\": \"1-615a70d4-b624-4243-95be-a8367b7953ea\",\n\"creator_role\": \"seller\",\n\"currency\": \"gbp\",\n\"deposit_price\": 10000,\n\"deposit_charge\": 130,\n\"charge_calculator_version\": 3,\n\"skip_remainder\": true\n}'\n","lang":"curl"},"children":[]}]},{"$$mdtype":"Tag","name":"ConfigurableTab","attributes":{"label":"Trustap lite","value":"lite","default":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"curl -X POST \\ \n\"https://dev.stage.trustap.com/api/v1/p2p/listings/create_with_seller\" \\\n  -u \"<API_KEY>:\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"image_url\": \"https://docs.trustap.com/images/VW-GolfGTI.jpg\",\n    \"seller_email\": \"sarah.garcia@shopit.com\",\n    \"seller_phone_number\": \"34543503034\",\n    \"seller_country_code\": \"ie\",\n    \"currency\": \"eur\",\n    \"description\": \"1991 VW Golf\",\n    \"value\": 10000,\n    \"ad_id\": \"588a98\"\n  }'\n","lang":"curl"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The resulting Trustap payment screen displays a thumbnail of the product image."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/product-image.92b9a46dfb89875e2f8092be30fd157498bdda468b9b52c1d84094a98d7ba585.7d99d8e5.png","alt":"Payment screen with product image","withLightbox":true},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"image-specifications","__idx":2},"children":["Image specifications"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Trustap API supports the following file types: JPG, PNG, GIF, BMP, WebP, and SVG."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Images are displayed as squares on the Trustap payment screen. Non-square images are automatically cropped from the center."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["URLs up to 2047 characters are supported."]}]},"headings":[{"value":"Image URL","id":"image-url","depth":1},{"value":"Add a product image to a transaction","id":"add-a-product-image-to-a-transaction","depth":2},{"value":"Image specifications","id":"image-specifications","depth":2}],"frontmatter":{"seo":{"title":"Image URL","description":"Using the image URL parameter with the Trustap API to show product images in payment screen.","meta":[{"name":"robots","content":"noindex"}]},"excludeFromSearch":true},"lastModified":"2026-04-03T11:15:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/v1.0/guides/image-url","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}