LogoLogo
StatusChangelogDashboardCreate a Ticket
  • Getting Started
  • Intro to APIs
  • How to Contact us
  • How to Go-Live
  • Intro to Risk
  • Intro to Spec Sheets
  • Product Guides
    • Deposit Hub
      • 🌎Global Cash
    • Credit Hub
    • Payment Accounts
    • ID Score
  • API References
    • OAuth
      • OAuth Object Details
      • Create OAuth Key
      • Generate Refresh Token
    • Users
      • User Object Details
      • Testing on UAT
      • View All Users
      • View User
      • Create User
      • Update User
      • Generate UBO Doc
      • Manage Duplicates
      • Allowed Document Types
      • Allowed Entity Scopes
      • Allowed Entity Types
    • Nodes
      • Node Object Details
      • Testing on UAT
      • View all User Nodes
      • View Node
      • Create Node
      • Update Node
      • Generate eCash Barcode
      • Allowed Node Types
      • View ATMs
    • Subnets
      • Subnet Object Details
      • Testing on UAT
      • View all Node Subnets
      • View Subnet
      • Create Subnet
      • Update Subnet
      • Push to Wallet
    • Shipments
      • Shipment Object Details
      • View all Subnet Shipments
      • View Shipment
      • Create Shipment
      • Cancel Shipment
    • Statements
      • Statement Object Details
      • View all User Statements
      • View all Node Statements
    • Transactions
      • Transaction Object Details
      • Testing on UAT
      • View all User Transactions
      • View all Node Transactions
      • View Transaction
      • Create Transaction
      • Create Batch Transactions
      • Cancel Transaction
      • Retry ACH Transaction
      • Dispute Chargebacks
      • Dispute Transaction
    • Subscriptions
      • Subscription Object Details
      • Webhook Object Details
      • Testing on UAT
      • View all Subscriptions
      • View Subscription
      • Create Subscription
      • Update Subscription
      • View Webhook Logs
    • Miscellaneous
      • Dummy Transactions
      • Verify Address
      • Verify Routing Number
      • International WIRE-INT Required Data by Country
      • View Billers
      • View Enriched Data
      • Loan Limits
      • Transaction Decisioning
      • 3D Secure
      • Virtual Terminal
      • Pre-Authorization
      • Card Disputes Guide
      • Mobile Wallets
      • Interchange Revenue
      • Enrichment Guide
  • Developer Guides
    • User Onboarding
      • Create User Flow
      • Authenticate as the User
      • Create Node Flow
        • Cash Advance
        • Credit Builder Loan
        • One Time Loans
        • Secured Open Loans
        • Secured Revolving Loans
        • Unsecured Revolving Loans
      • Create Subnets Flow
        • Creating Cards
        • Creating AC/RT
      • Linking External Accounts
        • Linking Cards
        • Linking External Bank Account
      • Add Additional Documents
    • Account Details
      • Displaying Balances
      • Transaction History
      • Transaction Details
      • Account Agreements
      • Node Statements
      • Card Details
    • Managing Cards
      • Card Preferences
      • Setting PIN
      • Mobile Wallet Flow
        • Integrate with Apple Pay
        • Integrate with Google Pay
        • Integrate with Samsung Pay
      • Shipping Cards
    • Originating Transactions
      • Sending Fed Wires
      • Sending ACH Transfers
      • Sending International Wires
      • Deposit a Check
      • Issuing Checks
      • Recurring Transactions
      • 3rd Party Payment Accounts
      • Cancelling Transactions
      • Exceeding Origination Limits
    • Receiving Transactions
      • Transaction Decisioning
      • Receiving ACH / Wires
      • Card Transactions
      • Exceeding Inbound Limits
    • Managing Disputes
      • ACH Disputes
      • Card Disputes
    • 3rd Party Integrations
      • Payment Integrations
      • Account Aggregators
      • 3rd Parties & Compliance
  • Recipes
    • Overdraft Protection
    • Social Banking
    • Monetizing Transactions
Powered by GitBook
On this page
  • View webhook Logs
  • Example Request

Was this helpful?

Export as PDF
  1. API References
  2. Subscriptions

View Webhook Logs

View webhook Logs

GET https://api.synapsefi.com/v3.1/subscriptions/logs

This endpoint allows you to view subscription logs.

Query Parameters

Name
Type
Description

page

integer

Page number

per_page

integer

Number of logs per page

Headers

Name
Type
Description

X-SP-GATEWAY

string

Your Client ID & Secret, separated by a pipe

{
  "error_code": "0",
  "http_code": "200",
  "limit": 20,
  "logs": [
    {
      "_id": {
        "$oid": "5e56fa05d03ead769a92a9e6"
      },
      "client_id": "5d76ce618b200d0065333ea1",
      "date": 1582758405055,
      "function": "NODE|PATCH",
      "http_response_code": "200",
      "http_response_text": "1582758405733-6805281697306",
      "http_responses": [
        {
          "date": 1582758405775,
          "http_response_code": "200",
          "http_response_text": "1582758405733-6805281697306",
          "http_url": "https://postb.in/1582757979813-9249319576192"
        }
      ],
      "http_url": "https://postb.in/1582757979813-9249319576192",
      "obj_id": "NODE_5e56d1a5c2e6f3013abf5dc6",
      "safe_obj": {
        "_id": {
          "$oid": "5e56d1a5c2e6f3013abf5dc6"
        },
        "_rest": {
          "_id": "5e56d1a5c2e6f3013abf5dc6",
          "allowed": "CREDIT-AND-DEBIT",
          "client": {
            "id": "5d76ce618b200d0065333ea1",
            "name": "Test User"
          },
          "extra": {
            "note": null,
            "other": {
              "access_token": "5e56fa035834d0004a8aafdb",
              "micro_meta": {
                "micro_attempts": 0,
                "micro_sent_count": 0,
                "skip_micro": false
              },
              "updated_on": 1582758404000
            },
            "supp_id": ""
          },
          "info": {
            "account_num": "8901",
            "address": "P.O. BOX 85139, RICHMOND, VA, US",
            "balance": {
              "amount": "800.00",
              "currency": "USD",
              "updated_on": 1582758404000
            },
            "bank_code": "capone",
            "bank_hlogo": "https://cdn.synapsepay.com/bank_logos_v3p1/CapitalOne360_h.png",
            "bank_logo": "https://cdn.synapsepay.com/bank_logos_v3p1/CapitalOne360_v.png",
            "bank_long_name": "CAPITAL ONE N A ",
            "bank_name": "CAPITAL ONE N A ",
            "bank_url": "http://www.capitalone.com",
            "class": "CHECKING",
            "match_info": {
              "email_match": "no_match",
              "name_match": "no_match",
              "phonenumber_match": "no_match"
            },
            "name_on_account": " ",
            "nickname": "SynapsePay Test Checking Account - 8901",
            "routing_num": "0407",
            "type": "BUSINESS"
          },
          "is_active": true,
          "timeline": [
            {
              "date": 1582748068691,
              "note": "Node created."
            },
            {
              "date": 1582748069313,
              "note": "node_not_credit -- Unable to send micro deposits as node allowed is not CREDIT."
            },
            {
              "date": 1582757444913,
              "note": "Node's 'is_active' toggled to True."
            }
          ],
          "type": "ACH-US",
          "user_id": "5e56d17a5b5a1e0081e0d9c6"
        },
        "allowed": "CREDIT-AND-DEBIT",
        "client": {
          "id": "5d76ce618b200d0065333ea1",
          "name": "Test Client"
        },
        "extra": {
          "note": null,
          "supp_id": ""
        },
        "info": {
          "account_num": "8901",
          "address": "P.O. BOX 85139, RICHMOND, VA, US",
          "balance": {
            "amount": "800.00",
            "currency": "USD"
          },
          "bank_code": "capone",
          "bank_hlogo": "https://cdn.synapsepay.com/bank_logos_v3p1/CapitalOne360_h.png",
          "bank_logo": "https://cdn.synapsepay.com/bank_logos_v3p1/CapitalOne360_v.png",
          "bank_long_name": "CAPITAL ONE N A ",
          "bank_name": "CAPITAL ONE N A ",
          "bank_url": "http://www.capitalone.com",
          "class": "CHECKING",
          "match_info": {
            "email_match": "no_match",
            "name_match": "no_match",
            "phonenumber_match": "no_match"
          },
          "name_on_account": " ",
          "nickname": "SynapsePay Test Checking Account - 8901",
          "routing_num": "0407",
          "type": "BUSINESS"
        },
        "is_active": true,
        "timeline": [
          {
            "date": {
              "$date": 1582748068691
            },
            "note": "Node created."
          },
          {
            "date": {
              "$date": 1582748069313
            },
            "note": "node_not_credit -- Unable to send micro deposits as node allowed is not CREDIT."
          },
          {
            "date": {
              "$date": 1582757444913
            },
            "note": "Node's 'is_active' toggled to True."
          }
        ],
        "type": "ACH-US",
        "user_id": "5e56d17a5b5a1e0081e0d9c6",
        "webhook_meta": {
          "date": {
            "$date": 1582758405055
          },
          "function": "NODE|PATCH",
          "log_id": "5e56fa05d03ead769a92a9e6",
          "updated_by": "SELF"
        }
      },
      "safe_obj_hash": "5e2c44aa373afc38b31d6f525407cef2de4c3877b93dbb8204ef78b2822d0bef",
      "updated_by": "SELF"
    },
    {
      ...
    }
  ],
  "logs_count": 2,
  "page": 1,
  "page_count": 2,
  "success": true
}
{
    "error": {
        "code": "missing_client_credentials",
        "en": "Client credentials are missing from the request."
    },
    "error_code": "200",
    "http_code": "400",
    "success": false
}

Webhook Log Expiration Webhook logs expire 15 days from date of creation.

Example Request

GET /v3.1/subscriptions/logs HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-GATEWAY: client_id_2bb1e412edd311e6bd04e285d6015267|client_secret_6zZVr8biuqGkyo9IxMO5jY2QlSp0nmD4EBAgKcJW
allsublogs = client.webhook_logs()
client.getWebhookLogs();
client.webhook_logs()
$client->get_webhook_logs()
data, err := client.GetWebhookLogs()
PreviousUpdate SubscriptionNextMiscellaneous

Last updated 3 years ago

Was this helpful?