Hello everyone,
My US based 501c3 nonprofit charity is trying to set up an integrated API to be able to receive international donations from a business to business transaction using VisaNet. My local bank in the US is US Bank and they have given me the bid number sheet so that I have all the information I need on their side to integrate. I am new to the whole development thing is looking for assistance setting up and developing the new API. In my search I have found that the API may not work with my current website creator specifically Weebly and may need a new website that can hold the new API. Any thoughts or suggestions/instructions will be much appreciated.
Solved! Go to Solution
Thank you for reaching out, @LOEAccount ! An agent is looking for a solution for you and will get back with you shortly! If any community members know a solution, please feel free to respond in this thread. - Cathy
Hi @LOEAccount,
Please view our Payment Methods APIs here: https://developer.visa.com/site/payment-methods
In particular, you can use Visa Checkout for donations. Here's the page to the VCO API product: https://developer.visa.com/capabilities/visa_checkout
Hey @solarveritas,
To address the question regarding B2B or B2C transactions and the appropriate APIs to use on the Visa Developer Platform, here is a detailed response:
To facilitate B2B or B2C transactions and integrate with banks in the UK for withdrawing payments, you can leverage several APIs available on the Visa Developer Platform. Here are some key APIs and their functionalities that may suit your needs:
1. Visa Direct: This API allows you to push funds directly to eligible debit and prepaid cards, making it ideal for both B2B and B2C transactions. It supports various use cases, including sending payments to consumers, disbursing funds to employees, and transferring money between businesses.
2. Funds Transfer API: This API can be used to transfer funds between Visa accounts. It is suitable for scenarios where you need to move money from one business account to another or from a business to a consumer.
3. Merchant Search API: This API helps you find and retrieve information about merchants. It can be useful for identifying where transactions are occurring and ensuring that your platform is compatible with various merchants.
4. Visa B2B Connect: This API is designed specifically for cross-border B2B payments. It provides a secure and efficient way to process large-value transactions between businesses in different countries, including the UK.
Regarding which banks in the UK you can integrate with to withdraw payments, you should consider banks that support open banking and have robust API offerings. Some of the major banks in the UK that provide API integration for payment services include:
- Barclays
- HSBC
- Lloyds Bank
- NatWest
- Santander UK
You can reach out to these banks directly or explore their developer portals to find more information about their API offerings and how to integrate them into your platform.
To get started with the Visa Developer Platform, you can follow these steps:
1. Sign Up: Create an account on the Visa Developer Portal.
2. Browse APIs: Explore the available APIs and their documentation to understand their capabilities and how they can meet your requirements.
3. Create a Project: Set up a new project and select the APIs you want to use.
4. Get API Keys: Obtain the necessary API keys and credentials to authenticate your API requests.
5. Test and Integrate: Use the sandbox environment to test the APIs and integrate them into your platform.
For detailed documentation and support, you can visit the Visa Developer Platform at https://developer.visa.com/ and refer to their guides and tutorials.
Here is a simple example of how you might initiate a funds transfer using the Visa Direct API:
```javascript
// START
const axios = require('axios');
const visaDirectEndpoint = 'https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pushfundstransactions';
const apiKey = 'YOUR_API_KEY';
const credentials = 'YOUR_CREDENTIALS';
const transferFunds = async () => {
const payload = {
"amount": "100.00",
"currency": "USD",
"recipientName": "John Doe",
"recipientCardNumber": "4111111111111111",
"senderName": "Jane Doe",
"senderCardNumber": "4111111111111112",
"transactionIdentifier": "1234567890"
};
try {
const response = await axios.post(visaDirectEndpoint, payload, {
headers: {
'Content-Type': 'application/json',
'Authorization': `Basic ${credentials}`
},
params: {
'apikey': apiKey
}
});
console.log('Funds Transfer Response:', response.data);
} catch (error) {
console.error('Error in Funds Transfer:', error.response.data);
}
};
transferFunds();
// END
```
Remember to replace `YOUR_API_KEY` and `YOUR_CREDENTIALS` with your actual API key and credentials from the Visa Developer Portal. This code snippet demonstrates a basic funds transfer request using the Visa Direct API in a Node.js environment.