API
Log In Support
  • Clear

    • Get Started

      • Overview

      • Platform Sign Up

      • API Basics

    • Integration

      • Setup Platform

      • Onboard Merchants

      • Enable Merchants

      • Process Payments

      • Payout Merchants

      • Manage Payment Operations

      • Test and Launch

  • Link

    • Get Started

      • Overview

      • Platform Sign Up

      • API Basics

    • Integration

      • Setup Platform

      • Onboard Merchants

      • Process Payments

      • Manage Payment Operations

      • Test and Launch

    • CARD PRESENT SOLUTIONS

      • Get Started

        • Overview

      • Terminals

        • Acquire Terminals

        • Onboard Terminals

        • Authorize Cards

        • Process Payments

        • Test and Launch

      • Mobile Card Readers

        • Build Mobile App Prerequisites

        • Acquire Mobile Card Readers

        • Pair A Device

        • Authorize Cards

        • Process Payments

        • Test and Launch

      • Card Present Resources

        • Provide Receipts

    • API Reference

    • Resources

      • Payment Life Cycles

      • Server to Server Integration

      • Platform Legal Certification

      • Security Certification

      • Risk Certification

      • CIP and KYC Certification

      • Card Network Rules

      • Disputes Deep Dive

    • Cookbooks

      • Build Payment Support Tools

      • Reporting

      • Implement Merchant IC+ Pricing Model

      • Recurring Billing

      • Level 2 & Level 3 Processing

      • Style Credit Card iFrames

      • Support Merchants Outside the United States

      • Design A Retry Strategy

    • Release Notes

Home / Link Overview / Test and Launch

 

Test and Launch

 

In This Section
  • Magic Behavior
  • Test Onboarding
  • Test Payments
  • Test Payment Operations
  • Test Notifications
  • Launch

WePay’s Link API deals with money movement. It’s not ideal to test outside of staging, as each transaction will be reviewed by risk, and will be charged to your platform. As such, this page will help you figure out what and how to test.


Magic Behavior

 

Staging lets you charge Credit Cards and bank accounts, without actually capturing funds. If you want to begin testing in a live environment (or test in stage without using actual Credit Cards), we offer Magic Headers and Magic Values.

Magic Headers are key/value pairs that you place in your headers for your API requests. Magic Headers simply simulate real life responses, and ignore any information you add to API requests, like request bodies.

In order to use Magic Headers, simply add the following key to the headers of a request:

“WePay-Magic-Behavior”

With the appropriate value found here, depending on the specific user flow being tested.

Magic Values are values used inside POST requests to simulate API behavior, such as seeing a failure use case when attempting to create a payment.


Test Onboarding

 

  • Test the Direct Referral onboarding flow end-to-end
  • If applicable, test both Customer Referral onboarding flows end-to-end

Test Payments

 

  • Test payment method tokenization
  • Test credit card iframes
  • Test payment creation with a payment method
  • Test ACH payments
  • Test capturing an authorized payment

Test Payment Operations

 

  • Test refunds
  • Test canceling an authorized payment
  • Test adjustment notifications
  • Test dispute notifications

Test Notifications

 

Notifications are Webhooks passed to you in real time. When you test other API calls, make sure to register for Notifications. If you need area to receive Webhooks outside your own server, use a tool like: https://requestbin.fullcontact.com/.

When you register your callback_uri, simply use a URL generated by the tool above. Then, make calls to the API, and trigger notifications.

Find notification testing paths here.


Launch

 

Currently, Link is only available for testing and development in WePay’s stage environment.

Please look forward to announcements when we launch Link on WePay’s production environment.

 


Questions? Need help? Visit our support page!

Company

  • About
  • Careers
  • Blog
  • News & Events

Resources

  • Knowledge Center
  • Terms of Service
  • Privacy Policy
  • Security
  • Support

Developers

  • Documentation
  • Engineering Blog

Customers

  • Case Studies

Product

  • Link
  • Clear
  • Core
  • Contact Sales
© 2020 WePay Inc.