Dreamz Wallet

API's

API's

Dreamzwallet API Documentation

Overview

Welcome to the Dreamzwallet API documentation. This API allows you to process online payments securely and efficiently. It supports various payment methods and provides a simple integration process for merchants.

Authentication

All API requests must be authenticated to ensure security and control access. Authentication is achieved by including an API key in the request headers. To obtain an API key, contact our support team.

 

 

Authentication Header:

 

makefile
Copy code
Authorization: Bearer YOUR_API_KEY
Endpoints

1. Process Payment  Endpoint: /v1/payments
 

Method: POST

Description: Initiates a payment transaction for a given amount and payment method.

Request Body:

 

 

 json

{

  “amount”: 29.99,

  “currency”: “USD”,

  “payment_method”: “credit_card”,

  “card_number”: “4111 1111 1111 1111”,

  “expiry_month”: 12,

  “expiry_year”: 2025,

  “cvv”: 123,

  “customer_email”: “john.doe@example.com”,

  “customer_name”: “John Doe”

}

 

Response:

 

json

{

  “transaction_id”: “1234567890”,

  “status”: “success”,

  “amount”: 29.99,

  “currency”: “USD”,

  “payment_method”: “credit_card”,

  “timestamp”: “2023-07-17T12:34:56Z”

}

2. Get Transaction
Endpoint:  /v1/transactions/:transaction_id

Method: GET

Description: Retrieves the details of a specific transaction by its ID.

Response:

 

json
{
“transaction_id”: “1234567890”,
“status”: “success”,
“amount”: 29.99,
“currency”: “USD”,
“payment_method”: “credit_card”,
“timestamp”: “2023-07-17T12:34:56Z”,
“customer_email”: “john.doe@example.com”,
“customer_name”: “John Doe”
}

 

Request and Response Formats

Request Format
All requests must be made in JSON format with the required parameters as described in each endpoint.

Response Format
All responses will be in JSON format. The status field indicates the success or failure of the request.

Error Handling
In case of errors, the API will return an appropriate HTTP status code along with a JSON error message in the response body.

Here are some common error codes:

400 Bad Request: Invalid request parameters.
401 Unauthorized: Authentication failed or API key missing.
404 Not Found: The requested resource was not found.
500 Internal Server Error: An unexpected error occurred on the server.
Sample Code
Here’s an example of how you can use the  Dreamzwallet API in Python:

 

python
Copy code
import requests

url = “https://api.dreamzwallet.com/v1/payments”

 

headers = {
“Authorization”: “Bearer YOUR_API_KEY”,
“Content-Type”: “application/json”
}
data = {
“amount”: 29.99,
“currency”: “USD”,
“payment_method”: “credit_card”,
“card_number”: “4111 1111 1111 1111”,
“expiry_month”: 12,
“expiry_year”: 2025,
“cvv”: 123,
“customer_email”: “john.doe@example.com”,
“customer_name”: “John Doe”
}

 

response = requests.post(url, headers=headers, json=data)
print(response.json())

Remember to replace YOUR_API_KEY with your actual API key.

 

Conclusion

This concludes the basic documentation for our Dreamzwallet API.

If you have any questions or need further assistance, please contact our support team.

Please note that this is a simplified template and may not cover all the complexities of a real-world payment gateway. In practice, you should provide more comprehensive details, such as API rate limits, security considerations, testing environments, and more. Also, consider including real-world use case examples to help developers understand the integration better.

FAQS Dreamzwallet

A Dreamzwallet is an online service that facilitates secure and efficient transactions between customers and businesses. It acts as a bridge between the customer’s payment information and the merchant’s bank, ensuring that sensitive data is encrypted and transmitted securely.

When a customer makes a purchase online, the Dreamzwallet securely captures the payment information (credit card details, etc.), encrypts it, and sends it to the payment processor. The processor then communicates with the customer’s bank to authorize the transaction. Once approved, the Dreamzwallet returns the response to the merchant, completing the transaction.

Our Dreamzwallet supports a wide range of payment methods, including major credit cards (Visa, Mastercard, American Express), debit cards, digital wallets (Apple Pay, Google Pay), and bank transfers. This ensures that your customers have multiple options for making payments.

We prioritize the security of transactions processed through our Dreamzwallet. We utilize robust encryption protocols and adhere to industry standards, such as PCI DSS compliance, to protect sensitive customer data. Our systems undergo regular security audits to maintain a high level of security.

Yes, our Dreamzwallet is fully compliant with PCI DSS. We adhere to the strictest security measures and industry best practices to ensure the safety of cardholder data. Compliance with PCI DSS helps protect both merchants and their customers from potential security breaches.

Our fee structure is transparent and designed to be competitive in the industry. We charge a transaction fee based on the volume of transactions processed. Additionally, there may be other fees, such as setup fees or monthly service fees, depending on your specific business requirements. Please refer to our pricing page or contact our sales team for detailed information.

Integrating our Dreamzwallet is straightforward. We provide comprehensive documentation, including APIs and SDKs, to assist developers in the integration process. Our support team is also available to provide guidance and answer any questions you may have during the integration.

Our Dreamzwallet integrates seamlessly with a variety of popular e-commerce platforms and shopping carts, including Shopify, WooCommerce, Magento, BigCommerce, and more. We offer plugins or extensions specific to each platform, simplifying the integration process for merchants.

We may have a one-time setup fee to get you started with our Dreamzwallet. Additionally, there may be a monthly fee depending on the plan or features you choose. Our pricing structure is designed to be flexible and scalable, allowing you to select the most suitable option for your business.

Setting up an account with our Dreamzwallet is simple. Visit our website and click on the sign-up or get started button to initiate the process. You will be guided through the registration process, where you’ll provide necessary information. Once your account is verified, you can start integrating the payment gateway into your website or application.