payment/

Single-time payment JSON

Single-time payment JSON
An online payment system is a way of making a financial transaction to another person or company using a computer, smartphone, or tablet. It involves three parts: a payment gateway, a payment processor, and a merchant account. Some examples of online payment systems are Paytm, UPI.

JSON Data:

1{ 2 "transaction_id": "txn_12345", 3 "date": "2022-02-08", 4 "customer": { 5 "name": "John Doe", 6 "email": "johndoe@example.com", 7 "phone": "123-456-7890" 8 }, 9 "amount": 99.99, 10 "currency": "USD", 11 "payment_method": "credit_card", 12 "status": "paid" 13}

 

Description:

This JSON data includes the unique transaction ID, the date of the transaction, customer details, the payment amount and currency, the payment method used, and the status of the payment (in this case, "paid").

This is a JSON object representing a transaction. Here is a breakdown of the information contained in this object:

  • transaction_id: A string representing the unique identifier for this transaction, which in this case is "txn_12345".

  • date: A string representing the date of the transaction in the format of "YYYY-MM-DD", which in this case is "2022-02-08".

  • customer: An object representing the customer associated with this transaction. It contains the following properties:

    • name: A string representing the customer's name, which in this case is "John Doe".

    • email: A string representing the customer's email address, which in this case is "johndoe@example.com".

    • phone: A string representing the customer's phone number, which in this case is "123-456-7890".

  • amount: A number representing the amount of money associated with this transaction, which in this case is 99.99 USD.

  • currency: A string representing the currency used for this transaction, which in this case is "USD" (US Dollars).

  • payment_method: A string representing the payment method used for this transaction, which in this case is "credit_card".

  • status: A string representing the current status of the transaction, which in this case is "paid". This indicates that the transaction has been successfully completed and the payment has been received.

episyche logo

Developed by

Episyche Technologies

Copyright © 2022-2024 Episyche Technologies. All rights reserved.

twitter
linkedin