{
	"info": {
		"_postman_id": "d51b3d52-4751-4031-9680-4d07fd9351aa",
		"name": "EasyProcess/IDEM API",
		"description": "A simple REST API to request payment on the EasyProcess + IDEM platform.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "8014128"
	},
	"item": [
		{
			"name": "New Payment Request",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"payment_request\": {\n        \"expiration\": \"0\",\n        \"amount\": \"20\",\n        \"reference\": \"823456\",\n        \"description_int\": \"Order #823456 / Customer #123\",\n        \"description_pub\": \"Your order #823456 on https://our.web.site\",\n        \"addinfo\": \"Any add. info your want to store\",\n        \"sendmail\": true,\n        \"notify_url\": \"https://our.web.site/idem/ipn\",\n        \"back_url\": \"https://our.web.site/return/back?ref=823456\",\n        \"back_label\": \"Go to the store\",\n        \"paid_url\": \"https://our.web.site/return/paid?ref=823456\",\n        \"paid_label\": \"Continue to the store\"\n    },\n    \"customer\": {\n        \"email\": \"demo@idem.one\",\n        \"firstname\": \"Michel\",\n        \"lastname\": \"POIGNANT\",\n        \"address1\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\"\n    },\n    \"files\": [\n        {\n            \"file_type\": \"invoice\",\n            \"file_is_public\": \"1\",\n            \"file_desc_int\": \"Internal desc.\",\n            \"file_desc_pub\": \"Public desc.\",\n            \"file_name\": \"invoice.pdf\",\n            \"content\": \"JVBERi0xLjMKMSAwIG9iago8PCAvQXV0aG9yICgpIC9DcmVhdGlvbkRhdGUgKEQ6MjAyNDEyMTgxNjM4NDQrMDEnMDAnKSAvQ3JlYXRvciAoTml0cm8gUERGIFBybykgL0tleXdvcmRzICgpIC9Nb2REYXRlIChEOjIwMjQxM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N3ae+mp4req74/9oH9oftj9MeR6exP+E+Vn40/d3wJ/PJ4Jm1m5t/3hPP7CmVuZHN0cmVhbQplbmRvYmoKMTEgMCBvYmoKPDwgL0NvbG9yU3BhY2UgPDwgL0NzMSA5IDAgUj4+IC9Qcm9jU2V0IFsgL1BERiBdPj4KZW5kb2JqCjEyIDAgb2JqCjw8IC9Db250ZW50cyAyIDAgUiAvTWVkaWFCb3ggWyAwIDAgNTk1IDg0MiBdIC9QYXJlbnQgMyAwIFIgL1Jlc291cmNlcyAxMSAwIFIgL1R5cGUgL1BhZ2U+PgplbmRvYmoKMTMgMCBvYmoKPDwgPj4KZW5kb2JqCnhyZWYKMCAxNAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDIwMSAwMDAwMCBuIAowMDAwMDAwNTU0IDAwMDAwIG4gCjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDA2MzkgMDAwMDAgbiAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwNzA0IDAwMDAwIG4gCjAwMDAwMDA3NDAgMDAwMDAgbiAKMDAwMDAwMzQ1MyAwMDAwMCBuIAowMDAwMDAzNTIwIDAwMDAwIG4gCjAwMDAwMDM2MjcgMDAwMDAgbiAKdHJhaWxlcgo8PCAvSUQgWyA8MjE4ODc5NzRCOUM2NDIwMTkwRjk0QzVEMUE0OUM4MkI+IDwyMTg4Nzk3NEI5QzY0MjAxOTBGOTRDNUQxQTQ5QzgyQj4gXSAvSW5mbyAxIDAgUiAvUERGcGVuVmVyc2lvbiAoMTQuNCkgL1Jvb3QgNyAwIFIgL1NpemUgMTQ+PgpzdGFydHhyZWYKMzY0OQolJUVPRgo=\"\n        }\n    ]\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/payment-request/create",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"payment-request",
						"create"
					]
				},
				"description": "Request a payment request to one of your customer."
			},
			"response": [
				{
					"name": "Sample Response",
					"originalRequest": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"payment_request\": {\n        \"expiration\": \"0\",\n        \"amount\": \"20\",\n        \"reference\": \"823456\",\n        \"description_int\": \"Order #823456 / Customer #123\",\n        \"description_pub\": \"Your order #823456 on https://our.web.site\",\n        \"addinfo\": \"Any add. info your want to store\",\n        \"sendmail\": true,\n        \"notify_url\": \"https://our.web.site/idem/ipn\",\n        \"back_url\": \"https://our.web.site/return/back?ref=823456\",\n        \"back_label\": \"Go to the store\",\n        \"paid_url\": \"https://our.web.site/return/paid?ref=823456\",\n        \"paid_label\": \"Continue to the store\"\n    },\n    \"customer\": {\n        \"email\": \"demo@idem.one\",\n        \"firstname\": \"Michel\",\n        \"lastname\": \"POIGNANT\",\n        \"address1\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\"\n    },\n    \"files\": [\n        {\n            \"file_type\": \"invoice\",\n            \"file_is_public\": \"1\",\n            \"file_desc_int\": \"Internal desc.\",\n            \"file_desc_pub\": \"Public desc.\",\n            \"file_name\": \"invoice.pdf\",\n            \"content\": \"JVBERi0xLjMKMSAwIG9iago8PCAvQXV0aG9yICgpIC9DcmVhdGlvbkRhdGUgKEQ6MjAyNDEyMTgxNjM4NDQrMDEnMDAnKSAvQ3JlYXRvciAoTml0cm8gUERGIFBybykgL0tleXdvcmRzICgpIC9Nb2REYXRlIChEOjIwMjQxMjE4MTYzOTE3KzAxJzAwJykgL1Byb2R1Y2VyIChOaXRybyBQREYgUHJvKSAvU3ViamVjdCAoKSAvVGl0bGUgKCk+PgplbmRvYmoKMiAwIG9iago8PCAvR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UgPDwgL0NzMSA5IDAgUj4+IC9Qcm9jU2V0IFsgL1BERiBdPj4KZW5kb2JqCjEyIDAgb2JqCjw8IC9Db250ZW50cyAyIDAgUiAvTWVkaWFCb3ggWyAwIDAgNTk1IDg0MiBdIC9QYXJlbnQgMyAwIFIgL1Jlc291cmNlcyAxMSAwIFIgL1R5cGUgL1BhZ2U+PgplbmRvYmoKMTMgMCBvYmoKPDwgPj4KZW5kb2JqCnhyZWYKMCAxNAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDIwMSAwMDAwMCBuIAowMDAwMDAwNTU0IDAwMDAwIG4gCjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDA2MzkgMDAwMDAgbiAKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwNzA0IDAwMDAwIG4gCjAwMDAwMDA3NDAgMDAwMDAgbiAKMDAwMDAwMzQ1MyAwMDAwMCBuIAowMDAwMDAzNTIwIDAwMDAwIG4gCjAwMDAwMDM2MjcgMDAwMDAgbiAKdHJhaWxlcgo8PCAvSUQgWyA8MjE4ODc5NzRCOUM2NDIwMTkwRjk0QzVEMUE0OUM4MkI+IDwyMTg4Nzk3NEI5QzY0MjAxOTBGOTRDNUQxQTQ5QzgyQj4gXSAvSW5mbyAxIDAgUiAvUERGcGVuVmVyc2lvbiAoMTQuNCkgL1Jvb3QgNyAwIFIgL1NpemUgMTQ+PgpzdGFydHhyZWYKMzY0OQolJUVPRgo=\"\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/payment-request/create",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"payment-request",
								"create"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 12:59:46 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": \"OK\",\n    \"msg\": \"Your request has well been sent.\",\n    \"code\": 200,\n    \"customer\": {\n        \"user_id\": \"10\",\n        \"email\": \"demo@idem.one\",\n        \"gender\": \"m\",\n        \"firstname\": \"Michel\",\n        \"middlename\": \"NC\",\n        \"lastname\": \"POIGNANT\",\n        \"address\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\",\n        \"birthday\": null\n    },\n    \"payment_request\": {\n        \"pr_id\": \"16\",\n        \"pr_code\": \"e3c982d4\",\n        \"user_id\": \"10\",\n        \"type\": \"idem\",\n        \"creation_date\": \"2024-12-19 07:59:46\",\n        \"validity\": null,\n        \"expiration_date\": null,\n        \"amount\": \"20\",\n        \"min_amount\": null,\n        \"max_amount\": null,\n        \"currency\": \"USD\",\n        \"description_internal\": \"Order #823456 / Customer #123\",\n        \"description_public\": \"Your order #823456 on https://our.web.site\",\n        \"addinfo\": \"Any add. info your want to store\",\n        \"link\": \"https://www.easyprocess.info/e3c982d4\",\n        \"qrcode_url\": \"https://www.easyprocess.info/files/merchants/12345678/2024/12/e3c982d4.png\",\n        \"notify_url\": \"https://our.web.site/idem/ipn\",\n        \"back_url\": \"https://our.web.site/return/back?ref=823456\",\n        \"back_label\": \"Go to the store\",\n        \"paid_url\": \"https://our.web.site/return/paid?ref=823456\",\n        \"paid_label\": \"Continue to the store\",\n        \"status\": \"open\",\n        \"documents\": [\n            {\n                \"file_id\": \"24\",\n                \"file_type\": \"invoice\",\n                \"file_name\": \"invoice.pdf\",\n                \"file_mimetype\": \"application/pdf\",\n                \"file_extension\": \"pdf\",\n                \"file_size\": \"4106\",\n                \"file_is_public\": \"1\",\n                \"file_desc_pub\": \"Public desc.\",\n                \"file_desc_int\": \"Internal desc.\",\n                \"file_creation\": \"2024-12-19 07:59:46\"\n            }\n        ],\n        \"requests\": null,\n        \"reference\": \"823456\"\n    }\n}"
				}
			]
		},
		{
			"name": "Get Payment Request",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/payment-request/get/16",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"payment-request",
						"get",
						"16"
					]
				},
				"description": "Retrieve a previously created payment request ot check its status and the associated payment(s)."
			},
			"response": [
				{
					"name": "Sample Response",
					"originalRequest": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/payment-request/get/16",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"payment-request",
								"get",
								"16"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 13:00:10 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": \"OK\",\n    \"msg\": null,\n    \"code\": 200,\n    \"customer\": {\n        \"user_id\": \"10\",\n        \"email\": \"demo@idem.one\",\n        \"gender\": \"m\",\n        \"firstname\": \"Michel\",\n        \"middlename\": \"NC\",\n        \"lastname\": \"POIGNANT\",\n        \"address\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\",\n        \"birthday\": null\n    },\n    \"payment_request\": {\n        \"pr_id\": \"16\",\n        \"pr_code\": \"e3c982d4\",\n        \"user_id\": \"10\",\n        \"type\": \"idem\",\n        \"creation_date\": \"2024-12-19 07:59:46\",\n        \"validity\": null,\n        \"expiration_date\": null,\n        \"amount\": \"20\",\n        \"min_amount\": null,\n        \"max_amount\": null,\n        \"currency\": \"USD\",\n        \"description_internal\": \"Order #823456 / Customer #123\",\n        \"description_public\": \"Your order #823456 on https://our.web.site\",\n        \"addinfo\": \"Any add. info your want to store\",\n        \"link\": \"https://www.easyprocess.info/e3c982d4\",\n        \"qrcode_url\": \"https://www.easyprocess.info/files/merchants/12345678/2024/12/e3c982d4.png\",\n        \"notify_url\": \"https://our.web.site/idem/ipn\",\n        \"back_url\": \"https://our.web.site/return/back?ref=823456\",\n        \"back_label\": \"Go to the store\",\n        \"paid_url\": \"https://our.web.site/return/paid?ref=823456\",\n        \"paid_label\": \"Continue to the store\",\n        \"status\": \"open\",\n        \"documents\": [\n            {\n                \"file_id\": \"24\",\n                \"file_type\": \"invoice\",\n                \"file_name\": \"invoice.pdf\",\n                \"file_mimetype\": \"application/pdf\",\n                \"file_extension\": \"pdf\",\n                \"file_size\": \"4106\",\n                \"file_is_public\": \"1\",\n                \"file_desc_pub\": \"Public desc.\",\n                \"file_desc_int\": \"Internal desc.\",\n                \"file_creation\": \"2024-12-19 07:59:46\"\n            }\n        ],\n        \"requests\": null,\n        \"reference\": \"823456\"\n    }\n}"
				}
			]
		},
		{
			"name": "Cancel Payment Request",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/payment-request/cancel/15",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"payment-request",
						"cancel",
						"15"
					]
				},
				"description": "Retrieve a previously created payment request ot check its status and the associated payment(s)."
			},
			"response": [
				{
					"name": "Sample Response",
					"originalRequest": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/payment-request/cancel/15",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"payment-request",
								"cancel",
								"15"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 12:58:34 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": \"OK\",\n    \"msg\": null,\n    \"code\": 200,\n    \"customer\": {\n        \"user_id\": \"10\",\n        \"email\": \"demo@idem.one\",\n        \"gender\": \"m\",\n        \"firstname\": \"Michel\",\n        \"middlename\": \"NC\",\n        \"lastname\": \"POIGNANT\",\n        \"address\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\",\n        \"birthday\": null\n    },\n    \"payment_request\": {\n        \"pr_id\": \"15\",\n        \"pr_code\": \"5347296f\",\n        \"user_id\": \"10\",\n        \"type\": \"idem\",\n        \"creation_date\": \"2024-12-19 05:24:41\",\n        \"validity\": null,\n        \"expiration_date\": null,\n        \"amount\": \"20\",\n        \"min_amount\": null,\n        \"max_amount\": null,\n        \"currency\": \"USD\",\n        \"description_internal\": \"Order #723456 / Customer #123\",\n        \"description_public\": \"Your order #723456 on https://our.web.site\",\n        \"addinfo\": \"Any add. info your want to store\",\n        \"link\": \"https://www.easyprocess.info/5347296f\",\n        \"qrcode_url\": \"https://www.easyprocess.info/files/merchants/12345678/2024/12/5347296f.png\",\n        \"notify_url\": \"https://our.web.site/idem/ipn\",\n        \"back_url\": \"https://our.web.site/return/back?ref=723456\",\n        \"back_label\": \"Go to the store\",\n        \"paid_url\": \"https://our.web.site/return/paid?ref=723456\",\n        \"paid_label\": \"Continue to the store\",\n        \"status\": \"cancelled\",\n        \"documents\": [\n            {\n                \"file_id\": \"23\",\n                \"file_type\": \"invoice\",\n                \"file_name\": \"invoice.pdf\",\n                \"file_mimetype\": \"application/pdf\",\n                \"file_extension\": \"pdf\",\n                \"file_size\": \"4106\",\n                \"file_is_public\": \"1\",\n                \"file_desc_pub\": \"Public desc.\",\n                \"file_desc_int\": \"Internal desc.\",\n                \"file_creation\": \"2024-12-19 05:24:41\"\n            }\n        ],\n        \"requests\": null,\n        \"reference\": \"723456\"\n    }\n}"
				}
			]
		},
		{
			"name": "Get Request",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/request/get/350",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"request",
						"get",
						"350"
					]
				},
				"description": "Retrieve a previously created payment request ot check its status and the associated payment(s)."
			},
			"response": [
				{
					"name": "Sample Response",
					"originalRequest": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/request/get/350",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"request",
								"get",
								"350"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 13:14:25 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": \"OK\",\n    \"msg\": null,\n    \"code\": 200,\n    \"customer\": {\n        \"user_id\": \"10\",\n        \"email\": \"demo@idem.one\",\n        \"gender\": \"m\",\n        \"firstname\": \"Michel\",\n        \"middlename\": \"NC\",\n        \"lastname\": \"POIGNANT\",\n        \"address\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\",\n        \"birthday\": null\n    },\n    \"transaction\": {\n        \"tr_id\": \"312\",\n        \"tr_type\": \"creditcard2merchant\",\n        \"tr_from_type\": \"creditcard\",\n        \"tr_from_id\": \"20\",\n        \"tr_from_currency\": \"USD\",\n        \"tr_to_type\": \"merchant\",\n        \"tr_to_id\": \"12345678\",\n        \"tr_to_currency\": \"USD\",\n        \"tr_requested_original\": \"30\",\n        \"tr_requested_currency\": \"USD\",\n        \"tr_amount_requested\": \"30\",\n        \"tr_amount_transfered\": \"30\",\n        \"tr_amount_total_cost\": \"30\",\n        \"tr_amount_refunded\": null,\n        \"tr_change_rate\": null,\n        \"tr_fees\": \"0\",\n        \"tr_fees_currency\": \"USD\",\n        \"tr_fees_type\": \"fixed\",\n        \"tr_fees_rate_fixed\": \"0\",\n        \"tr_fees_rate_percent\": \"0\",\n        \"tr_fees_level\": \"0\",\n        \"tr_date_created\": \"2024-11-26 05:45:17\",\n        \"tr_date_updated\": \"2024-11-26 05:45:17\",\n        \"tr_date_completed\": \"2024-11-26 05:45:17\",\n        \"tr_date_refunded\": null,\n        \"tr_notif_sender\": \"email\",\n        \"tr_notif_receiver\": \"none\",\n        \"tr_status\": \"completed\",\n        \"tr_status_msg\": null,\n        \"pay_infos\": \"40852791\"\n    },\n    \"request\": {\n        \"request_id\": \"350\",\n        \"pr_id\": \"7\",\n        \"tr_id\": \"312\",\n        \"user_id\": \"10\",\n        \"ref_id\": \"PR8\",\n        \"sub_account_id\": null,\n        \"key\": null,\n        \"date\": \"2024-11-26 05:45:17\",\n        \"refund_date\": null,\n        \"refund_amount\": null,\n        \"expiration\": \"2024-11-28 05:45:17\",\n        \"statement_id\": null,\n        \"refund_statement_id\": null,\n        \"method\": \"gateway\",\n        \"type\": \"creditcard\",\n        \"is_pre_auth\": null,\n        \"is_recurring\": null,\n        \"is_a_cycle\": null,\n        \"recurring_id\": null,\n        \"currency\": \"USD\",\n        \"amount\": \"30\",\n        \"description\": \"Pub.\",\n        \"addinfo\": null,\n        \"status\": \"completed\",\n        \"status_infos\": null,\n        \"recurring_amount\": null,\n        \"recurring_cycles\": null,\n        \"recurring_period\": null,\n        \"recurring_start\": null,\n        \"recurring_end\": null,\n        \"recurring_status\": null,\n        \"recurring_info\": null,\n        \"transaction\": null,\n        \"card_present\": null,\n        \"employee_id\": null,\n        \"location_id\": null,\n        \"firstname\": null,\n        \"lastname\": null,\n        \"email\": null,\n        \"documents\": null\n    }\n}"
				}
			]
		},
		{
			"name": "Cancel Request",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/request/cancel/347?reason=Order cancelled",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"request",
						"cancel",
						"347"
					],
					"query": [
						{
							"key": "reason",
							"value": "Order cancelled"
						}
					]
				},
				"description": "Retrieve a previously created payment request ot check its status and the associated payment(s)."
			},
			"response": [
				{
					"name": "Sample response",
					"originalRequest": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/request/cancel/347?reason=Order cancelled",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"request",
								"cancel",
								"347"
							],
							"query": [
								{
									"key": "reason",
									"value": "Order cancelled"
								}
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 13:41:38 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": \"OK\",\n    \"msg\": \"The request 347 has been cancelled\",\n    \"code\": 200,\n    \"customer\": {\n        \"user_id\": null,\n        \"email\": null,\n        \"gender\": null,\n        \"firstname\": null,\n        \"middlename\": null,\n        \"lastname\": null,\n        \"address\": null,\n        \"city\": null,\n        \"zipcode\": null,\n        \"country\": null,\n        \"state\": null,\n        \"phone\": null,\n        \"birthday\": null\n    },\n    \"request\": {\n        \"request_id\": \"347\",\n        \"pr_id\": null,\n        \"tr_id\": null,\n        \"user_id\": null,\n        \"ref_id\": \"548754\",\n        \"sub_account_id\": null,\n        \"key\": null,\n        \"date\": \"2024-11-22 09:58:21\",\n        \"refund_date\": null,\n        \"refund_amount\": null,\n        \"expiration\": \"2024-11-22 21:58:21\",\n        \"statement_id\": null,\n        \"refund_statement_id\": null,\n        \"method\": \"gateway\",\n        \"type\": \"creditcard\",\n        \"is_pre_auth\": null,\n        \"is_recurring\": null,\n        \"is_a_cycle\": null,\n        \"recurring_id\": null,\n        \"currency\": \"USD\",\n        \"amount\": \"35\",\n        \"description\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ut elementum enim.\",\n        \"addinfo\": null,\n        \"status\": \"cancelled\",\n        \"status_infos\": null,\n        \"recurring_amount\": null,\n        \"recurring_cycles\": null,\n        \"recurring_period\": null,\n        \"recurring_start\": null,\n        \"recurring_end\": null,\n        \"recurring_status\": null,\n        \"recurring_info\": null,\n        \"transaction\": null,\n        \"card_present\": null,\n        \"employee_id\": null,\n        \"location_id\": null,\n        \"firstname\": null,\n        \"lastname\": null,\n        \"email\": null,\n        \"documents\": null\n    }\n}"
				}
			]
		},
		{
			"name": "Refund Request",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"id\": 332,\n    \"secret_key\": \"your_secret_key\",\n    \"reason\": \"Cancelled order\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/request/refund",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"request",
						"refund"
					]
				},
				"description": "Retrieve a previously created payment request ot check its status and the associated payment(s)."
			},
			"response": [
				{
					"name": "Sample Response",
					"originalRequest": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\": 332,\n    \"secret_key\": \"your_secret_key\",\n    \"reason\": \"Cancelled order\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/request/refund",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"request",
								"refund"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 13:30:16 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": \"OK\",\n    \"msg\": \"The request 332 has been refunded. The transaction 296 has been refunded\",\n    \"code\": 200,\n    \"customer\": {\n        \"user_id\": \"57\",\n        \"email\": \"demo-64364@idem-club.info\",\n        \"gender\": \"m\",\n        \"firstname\": \"John\",\n        \"middlename\": \"NC\",\n        \"lastname\": \"Doe\",\n        \"address\": \"NC \",\n        \"city\": \"Fort Lauderdale\",\n        \"zipcode\": \"33301\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"NC\",\n        \"birthday\": null\n    },\n    \"transaction\": {\n        \"tr_id\": \"296\",\n        \"tr_type\": \"creditcard2merchant\",\n        \"tr_from_type\": \"creditcard\",\n        \"tr_from_id\": \"116\",\n        \"tr_from_currency\": \"USD\",\n        \"tr_to_type\": \"merchant\",\n        \"tr_to_id\": \"12345678\",\n        \"tr_to_currency\": \"USD\",\n        \"tr_requested_original\": \"48\",\n        \"tr_requested_currency\": \"USD\",\n        \"tr_amount_requested\": \"48\",\n        \"tr_amount_transfered\": \"48\",\n        \"tr_amount_total_cost\": \"48\",\n        \"tr_amount_refunded\": \"48\",\n        \"tr_change_rate\": null,\n        \"tr_fees\": \"0\",\n        \"tr_fees_currency\": \"USD\",\n        \"tr_fees_type\": \"fixed\",\n        \"tr_fees_rate_fixed\": \"0\",\n        \"tr_fees_rate_percent\": \"0\",\n        \"tr_fees_level\": \"0\",\n        \"tr_date_created\": \"2024-11-08 08:04:45\",\n        \"tr_date_updated\": \"2024-12-19 08:30:16\",\n        \"tr_date_completed\": \"2024-11-08 08:04:45\",\n        \"tr_date_refunded\": \"2024-12-19 08:30:10\",\n        \"tr_notif_sender\": \"email\",\n        \"tr_notif_receiver\": \"none\",\n        \"tr_status\": \"refunded\",\n        \"tr_status_msg\": \"Transaction refunded on 2024-12-19 08:30:16\",\n        \"pay_infos\": \"93124758\"\n    },\n    \"request\": {\n        \"request_id\": \"332\",\n        \"pr_id\": null,\n        \"tr_id\": \"296\",\n        \"user_id\": \"57\",\n        \"ref_id\": \"Order #6924\",\n        \"sub_account_id\": \"1\",\n        \"key\": null,\n        \"date\": \"2024-11-08 08:04:44\",\n        \"refund_date\": null,\n        \"refund_amount\": null,\n        \"expiration\": \"2024-11-10 08:04:44\",\n        \"statement_id\": null,\n        \"refund_statement_id\": null,\n        \"method\": \"gateway\",\n        \"type\": \"creditcard\",\n        \"is_pre_auth\": null,\n        \"is_recurring\": null,\n        \"is_a_cycle\": null,\n        \"recurring_id\": null,\n        \"currency\": \"USD\",\n        \"amount\": \"48\",\n        \"description\": \"Your order at XYZ store\",\n        \"addinfo\": null,\n        \"status\": \"completed\",\n        \"status_infos\": null,\n        \"recurring_amount\": null,\n        \"recurring_cycles\": null,\n        \"recurring_period\": null,\n        \"recurring_start\": null,\n        \"recurring_end\": null,\n        \"recurring_status\": null,\n        \"recurring_info\": null,\n        \"transaction\": null,\n        \"card_present\": null,\n        \"employee_id\": null,\n        \"location_id\": null,\n        \"firstname\": null,\n        \"lastname\": null,\n        \"email\": null,\n        \"documents\": null\n    }\n}"
				}
			]
		},
		{
			"name": "Get Customer",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "your_api_token",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://www.easyprocess.ovh/api/idem/customer/get/?email=demo@idem.one",
					"protocol": "https",
					"host": [
						"www",
						"easyprocess",
						"ovh"
					],
					"path": [
						"api",
						"idem",
						"customer",
						"get",
						""
					],
					"query": [
						{
							"key": "email",
							"value": "demo@idem.one"
						}
					]
				},
				"description": "Retrieve a previously created payment request ot check its status and the associated payment(s)."
			},
			"response": [
				{
					"name": "Sample Response",
					"originalRequest": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://www.easyprocess.ovh/api/idem/customer/get/?email=demo@idem.one",
							"protocol": "https",
							"host": [
								"www",
								"easyprocess",
								"ovh"
							],
							"path": [
								"api",
								"idem",
								"customer",
								"get",
								""
							],
							"query": [
								{
									"key": "email",
									"value": "demo@idem.one"
								}
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Server",
							"value": "nginx/1.27.3"
						},
						{
							"key": "Date",
							"value": "Thu, 19 Dec 2024 14:01:52 GMT"
						},
						{
							"key": "Content-Type",
							"value": "application/json"
						},
						{
							"key": "Transfer-Encoding",
							"value": "chunked"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						},
						{
							"key": "X-Powered-By",
							"value": "PHP/5.6.40"
						},
						{
							"key": "Pragma",
							"value": "no-cache"
						},
						{
							"key": "Cache-Control",
							"value": "no-cache, must-revalidate"
						},
						{
							"key": "Expires",
							"value": "Mon, 25 Jul 2001 10:00:00 GMT"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": null,\n    \"code\": 200,\n    \"msg\": null,\n    \"customer\": {\n        \"user_id\": \"10\",\n        \"email\": \"demo@idem.one\",\n        \"gender\": \"m\",\n        \"firstname\": \"Michel\",\n        \"middlename\": \"NC\",\n        \"lastname\": \"POIGNANT\",\n        \"address\": \"100 Pines Blvd \",\n        \"city\": \"Pembroke Pines\",\n        \"zipcode\": \"33024\",\n        \"country\": \"US\",\n        \"state\": \"FL\",\n        \"phone\": \"1948417329\"\n    }\n}"
				}
			]
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "your_api_token",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		}
	]
}