Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@brianmc @adavidw
236 lines (236 sloc) 5.33 KB
{
"variables": [],
"info": {
"name": "Webhooks REST API",
"_postman_id": "733bc9e3-f13d-8dc0-aade-46637f8c2985",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Get Event Types",
"request": {
"url": "https://apitest.authorize.net/rest/v1/eventtypes ",
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "formdata",
"formdata": []
},
"description": ""
},
"response": []
},
{
"name": "Create a New Webhook",
"request": {
"url": "https://apitest.authorize.net/rest/v1/webhooks",
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n \"url\": \"http://requestb.in/1ierf8i1\",\n \"eventTypes\": [\n \"net.authorize.payment.authorization.created\",\n \"net.authorize.payment.priorAuthCapture.created\",\n \"net.authorize.payment.authcapture.created\"\n ],\n \"status\": \"active\"\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Webhooks",
"request": {
"url": "https://apitest.authorize.net/rest/v1/webhooks",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
}
],
"body": {
"mode": "formdata",
"formdata": []
},
"description": ""
},
"response": []
},
{
"name": "Get a Webhook",
"request": {
"url": "https://apitest.authorize.net/rest/v1/webhooks/2b74b546-8fde-4484-80ad-c530ee970577",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
}
],
"body": {
"mode": "formdata",
"formdata": []
},
"description": ""
},
"response": []
},
{
"name": "Update a Webhook",
"request": {
"url": "https://apitest.authorize.net/rest/v1/webhooks/2b74b546-8fde-4484-80ad-c530ee970577",
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n \"status\": \"inactive\",\n \"url\": \"http://requestb.in/1msxl041\",\n \"eventTypes\": [\n \"net.authorize.payment.authorization.created\"\n ]\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Notifications",
"request": {
"url": "https://apitest.authorize.net/rest/v1/notifications",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
}
],
"body": {
"mode": "formdata",
"formdata": []
},
"description": ""
},
"response": []
},
{
"name": "Get Notifications by Date",
"request": {
"url": "https://apitest.authorize.net/rest/v1/notifications?from_date=2016-08-16&to_date=2016-08-20",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
}
],
"body": {
"mode": "formdata",
"formdata": []
},
"description": ""
},
"response": []
},
{
"name": "Delete a Webhook",
"request": {
"url": "https://apitest.authorize.net/rest/v1/webhooks/b7834892-e6e7-44c4-b163-835eba487f48",
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
},
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"eventType\": [\"payment.authorization.created\",\"payment.capture.created\"],\r\n \"url\": \"https://mysite/callback\",\r\n \"status\": \"active\"\r\n}"
},
"description": ""
},
"response": []
},
{
"name": "Send a Test Notification",
"request": {
"url": "https://apitest.authorize.net/rest/v1/webhooks/2b74b546-8fde-4484-80ad-c530ee970577/pings",
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Basic [InsertBase64APIKeyHere]",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "formdata",
"formdata": []
},
"description": ""
},
"response": []
}
]
}
You can’t perform that action at this time.