Actions7
- Payment Intent Actions
- Portal Actions
- Transaction Actions
Payment Intent → Delete
AI-generatedOverview
This node deletes a specified payment intent using the Bayarcash API v3. It is useful for scenarios where a payment intent needs to be canceled or removed, such as when a payment is no longer required or was created in error. For example, an e-commerce platform might use this node to delete a payment intent if a customer cancels their order before payment completion.
Use Case Examples
- Deleting a payment intent by providing its ID to cancel a pending payment.
- Removing a payment intent that was created mistakenly to keep the payment records clean.
Properties
| Name | Meaning |
|---|---|
| Payment Intent ID | The unique identifier of the payment intent to delete (e.g., pi_zByPm9). This is a required field to specify which payment intent to delete. |
Output
JSON
id- The ID of the deleted payment intent.status- The status of the deletion operation or the payment intent after deletion.message- Any message returned by the API regarding the deletion operation.
Dependencies
- Requires Bayarcash API credentials including a personal access token (PAT) for authentication.
Troubleshooting
- Authentication errors due to invalid or expired PAT token. Solution: Verify and update the API credentials.
- Validation errors if the payment intent ID is missing or malformed. Solution: Ensure the Payment Intent ID is correctly provided.
- Forbidden errors if the user lacks permission or the payment channel is not enabled. Solution: Check account permissions and enabled payment channels.
- Not found errors if the payment intent ID does not exist. Solution: Confirm the ID is correct and the payment intent exists.
- Server errors from Bayarcash API. Solution: Retry later or contact Bayarcash support if persistent.
Links
- Bayarcash API v3 - Delete Payment Intent - Official documentation for the payment intent delete endpoint in Bayarcash API v3.