{
	"info": {
		"_postman_id": "6c6e67ae-7c19-4a93-91bb-d2315e831d31",
		"name": "Brale API - Getting Started",
		"description": "This is the Brale API Getting Started Collection. Please reachout to [support@brale.xyz ](https://support@brale.xyz) with any questions.\n\n## Quick Start\n\nBefore you can start submitting requests you’ll need to configure a few environment variables within this Postman collection, such as the `client_id` and the `client_secret` which are used to authenticate against the API.\n\nYou can obtain these credentials by signing up for a free [Brale Account](https://app.brale.xyz/signup). The `client_id` and the `client_secret` correspond to your Application “key” and “secret” which can be found within the API tab in your [Settings](https://app.brale.xyz/settings?tab=api).",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "26130903",
		"_collection_link": "https://planetary-water-719660.postman.co/workspace/Brale-Workspace~d9ede166-1eab-415a-af16-2638ae53d0de/collection/26130903-6c6e67ae-7c19-4a93-91bb-d2315e831d31?action=share&source=collection_link&creator=26130903"
	},
	"item": [
		{
			"name": "Addresses",
			"item": [
				{
					"name": "List Addresses",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/addresses",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"addresses"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Individual Address",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/addresses/:id",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"addresses",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Address ID"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Tokens",
			"item": [
				{
					"name": "List Tokens",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/tokens",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"tokens"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Individual Deployment",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/deployments/:id",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"deployments",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Deployment ID"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Individual Token",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/tokens/:id",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"tokens",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Token ID"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "List a Token's Deployments",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/tokens/:id/deployments",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"tokens",
								":id",
								"deployments"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Token ID"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Mints",
			"item": [
				{
					"name": "Mint more of a particular token on a specific chain",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Idempotency-Key",
								"value": "ABC_1234_XYZ",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/vnd.api+json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data\": {\n        \"attributes\": {\n            \"amount\": {\n                \"currency\": \"USD\",\n                \"value\": \"1\"\n            }\n        },\n        \"relationships\": {\n            \"destination\": {\n                \"id\": \"2Xs0gyD2tZdYnNEY4UDW5L3gOtX\", //The ID of the wallet address you want to mint to\n                \"type\": \"address\"\n            }\n        },\n        \"type\": \"order\"\n    }\n}"
						},
						"url": {
							"raw": "{{brale_base_url}}/deployments/:id/mints",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"deployments",
								":id",
								"mints"
							],
							"variable": [
								{
									"key": "id",
									"value": "2YJhLD60sBfz78NjlThKhmfaFN8",
									"description": "(Required) Deployment ID"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Redemptions",
			"item": [
				{
					"name": "Redeem/burn a particular token on a specific chain",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"content-type": true
						}
					},
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Idempotency-Key",
								"value": "123e456789001212323",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/vnd.api+json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"data\": {\n    \"attributes\": {\n      \"amount\": {\n        \"currency\": \"USD\",\n        \"value\": \"1\"\n      }\n    },\n    \"relationships\": {\n      \"payment-destination\": { \n        \"id\": \"2Y8ruJbPZ6wiFmuJGNPYt75Un2w\", //The ID of the financial institution to receive a wire.\n        \"type\": \"financial-institution\"\n      }\n    },\n    \"type\": \"order\"\n  }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{brale_base_url}}/deployments/:id/redemptions",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"deployments",
								":id",
								"redemptions"
							],
							"variable": [
								{
									"key": "id",
									"value": "2YJhLD60sBfz78NjlThKhmfaFN8"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Financial Institutions",
			"item": [
				{
					"name": "List Financial Institutions",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/financial-institutions",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"financial-institutions"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Individual Financial Institutions",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/financial-institutions/:id",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"financial-institutions",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Orders",
			"item": [
				{
					"name": "Get Individual Order",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/orders/:id",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"orders",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Order ID"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Get the transactions that were part of an order",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/orders/:id/transactions",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"orders",
								":id",
								"transactions"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Order ID"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "List Token Orders",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{brale_base_url}}/tokens/:id/orders",
							"host": [
								"{{brale_base_url}}"
							],
							"path": [
								"tokens",
								":id",
								"orders"
							],
							"variable": [
								{
									"key": "id",
									"value": "<string>",
									"description": "(Required) Token ID"
								}
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"auth": {
		"type": "oauth2",
		"oauth2": [
			{
				"key": "grant_type",
				"value": "client_credentials",
				"type": "string"
			},
			{
				"key": "tokenName",
				"value": "Access Token",
				"type": "string"
			},
			{
				"key": "accessTokenUrl",
				"value": "{{brale_auth_url}}/oauth2/token",
				"type": "string"
			},
			{
				"key": "clientSecret",
				"value": "{{client_secret}}",
				"type": "string"
			},
			{
				"key": "clientId",
				"value": "{{client_id}}",
				"type": "string"
			},
			{
				"key": "refreshRequestParams",
				"value": [],
				"type": "any"
			},
			{
				"key": "tokenRequestParams",
				"value": [],
				"type": "any"
			},
			{
				"key": "authRequestParams",
				"value": [],
				"type": "any"
			},
			{
				"key": "challengeAlgorithm",
				"value": "S256",
				"type": "string"
			},
			{
				"key": "addTokenTo",
				"value": "header",
				"type": "string"
			},
			{
				"key": "client_authentication",
				"value": "header",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "brale_base_url",
			"value": "https://api.brale.xyz",
			"type": "string"
		},
		{
			"key": "brale_auth_url",
			"value": "https://auth.brale.xyz",
			"type": "string"
		},
		{
			"key": "client_id",
			"value": "3f466b0f-defc-4ee3-8fa5-61e43b71dd3e"
		},
		{
			"key": "client_secret",
			"value": "r2.5AAQvo418TjSH8CvaLOAI.w"
		}
	]
}