- Previous: Introduction
- Up: Introduction
- Next: Fundraiser search
Getting started
Page and account creation APIs are now unavailable so please consider your use of our APIs and how this affects you. All other APIs will be available until 18 February. If you have any questions please take a look at our Q&A.
Documentation
Getting started
Follow the steps below to start using Virgin Money Giving APIs:
-
Sign in to your existing developer account.
-
Apply for a key to use our APIs.
-
Browse our documentation and try out our APIs with IO Docs.
-
Build your app and test it in our sandbox environment.
-
Put it live! We'll feature the best in our application gallery.
Virgin Money Giving API
The Virgin Money Giving API is a RESTful web service designed to be easy to explore and use. The base URIs to access our resources are:
https://api.virginmoneygiving.com/fundraisers/v1/
https://api.virginmoneygiving.com/charities/v1/
https://api.virginmoneygiving.com/events/v1/
Environments
For APIs calling our production environment use:
https://api.virginmoneygiving.com
Calls are paired with our live site http://uk.virginmoneygiving.com
For APIs calling our sandbox environment use:
https://sandbox.api.virginmoneygiving.com
Calls are paired with our test site http://uk.sandbox.virginmoneygiving.com
Resource IDs
Access to information on VMG is via unique identifiers known as resource IDs. Each resource - fundraiser, charity or event has its own unique identifier which can be found in the VMG website by logging in as a fundraiser or charity administrator.
Since these IDs uniquely identify a resource, please take all reasonable care to keep them confidential and avoid exposing them publicly in your applications or code.
Software Development Kit
To help you get up and running quicker, we've done some of the work for you. You can download a Java SDK now from our software development kit page. We'll be adding C# and PHP kits soon.
Our APIs
As our APIs extract data from the Virgin Money Giving database it's important to understand how that data is structured.
- To start fundraising, a fundraiser needs a fundraising account.
- Once they have this they can create one or more fundraising pages.
- A fundraising page can be created to raise money for one or more charities.
- Fundraising pages can be created for an event that has been set up within Virgin Money Giving or for a fundraising activity of the fundraiser's choice.
Common API journeys
You'll often need to follow a sequence of API calls to reach the goal of your application.
We've plotted some of the most common journeys as flow diagrams below, so you can see which APIs to use to gather the data items you need.
Click on an image to view it full size.
Creating a new fundraiser account
Creating a new fundraising page
Retrieving details from a fundraising page
- Previous: Introduction
- Up: Introduction
- Next: Fundraiser search
Docs Navigation
- Introduction
- Getting started
- Fundraiser search
- Fundraiser details
- Fundraiser details V2
- Fundraising page details
- Fundraising page details V2
- Charity search
- Validate URL
- Country code lookup
- Address lookup
- Account Exists
- Create fundraiser account
- Activity lookup
- Event search
- Create fundraiser page
- Event summary
- Event fundraisers
- Event Fundraisers V2
- Event fundraisers 2
- Event fundraisers 2 V2
- Charity fundraisers
- Charity fundraisers V2
- Charity details
- Authentication
- Useful information
- Error codes
- Glossary
- Software development kit