Bayarcash icon

Bayarcash

Consume Bayarcash API

Payment Intent → Get Status

AI-generated

Overview

This node interacts with the Bayarcash API to retrieve the status of a specific payment intent. It is useful in scenarios where you need to check the current state of a payment intent, such as whether it is pending, successful, or failed. For example, after creating a payment intent, you can use this node to monitor its status and take appropriate actions based on the result.

Use Case Examples

  1. Check the status of a payment intent by providing its ID to track payment progress.
  2. Use in payment workflows to verify if a payment intent has been completed before fulfilling an order.

Properties

Name Meaning
Payment Intent ID The unique identifier of the payment intent whose status you want to retrieve.

Output

JSON

  • id - The unique identifier of the payment intent.
  • status - The current status of the payment intent.
  • amount - The amount associated with the payment intent.
  • payer_name - Name of the person making the payment.
  • payer_email - Email of the person making the payment.
  • payment_channel - The payment channel used for the payment intent.
  • created_at - Timestamp when the payment intent was created.
  • updated_at - Timestamp when the payment intent was last updated.

Dependencies

  • Bayarcash API v3
  • An API authentication token (PAT token) for Bayarcash API

Troubleshooting

  • Authentication failed: Ensure the API token is valid and not expired.
  • Validation errors: Check that the payment intent ID is correctly formatted and exists.
  • Forbidden access: Verify that your account has permission to access the payment intent and that the payment channel is enabled.
  • Not found errors: Confirm the payment intent ID exists in the Bayarcash system.
  • Server errors: Retry later or contact Bayarcash support if the server is down or unresponsive.

Links

Discussion