Edit, list, and delete payment requests
You can modify existing payment requests to update certain properties.
https://cloud.handcash.io/v3/paymentRequests/{id}
Replace {id}
with the ID of the payment request you want to edit.
Include your app credentials in the request headers:
Parameter | Type | Description |
---|---|---|
product.name | String | The name of the product |
product.description | String | The description of the product |
product.imageUrl | String | URL of the product image |
decreaseRemainingUnits | Integer | Number of units to decrease from remainingUnits |
redirectUrl | String | URL to redirect users after successful payment |
notifications.webhook.webhookUrl | String | URL for receiving webhook notifications |
notifications.webhook.customParameters | Object | Custom parameters to include in webhook notifications |
notifications.email | String | Email address to receive payment notifications |
expirationInSeconds | Integer | Number of seconds until the payment request expires |
Note: This is only allowed with payment requests that have the limit
expiration type.
limit
expiration type.id
in the URL must match an existing payment request associated with your app.Retrieve a list of existing payment requests for your authenticated app.
https://cloud.handcash.io/v3/paymentRequests
The response will be a JSON object containing an array of payment request objects:
Delete a payment request that is no longer valid to avoid potential customer confusion.
https://cloud.handcash.io/v3/paymentRequests/{id}
Replace {id}
with the ID of the payment request you want to delete.
A successful deletion will return a 200 OK status code.
id
of the payment request you’re modifying or deleting to prevent accidental changes to the wrong request.Edit, list, and delete payment requests
You can modify existing payment requests to update certain properties.
https://cloud.handcash.io/v3/paymentRequests/{id}
Replace {id}
with the ID of the payment request you want to edit.
Include your app credentials in the request headers:
Parameter | Type | Description |
---|---|---|
product.name | String | The name of the product |
product.description | String | The description of the product |
product.imageUrl | String | URL of the product image |
decreaseRemainingUnits | Integer | Number of units to decrease from remainingUnits |
redirectUrl | String | URL to redirect users after successful payment |
notifications.webhook.webhookUrl | String | URL for receiving webhook notifications |
notifications.webhook.customParameters | Object | Custom parameters to include in webhook notifications |
notifications.email | String | Email address to receive payment notifications |
expirationInSeconds | Integer | Number of seconds until the payment request expires |
Note: This is only allowed with payment requests that have the limit
expiration type.
limit
expiration type.id
in the URL must match an existing payment request associated with your app.Retrieve a list of existing payment requests for your authenticated app.
https://cloud.handcash.io/v3/paymentRequests
The response will be a JSON object containing an array of payment request objects:
Delete a payment request that is no longer valid to avoid potential customer confusion.
https://cloud.handcash.io/v3/paymentRequests/{id}
Replace {id}
with the ID of the payment request you want to delete.
A successful deletion will return a 200 OK status code.
id
of the payment request you’re modifying or deleting to prevent accidental changes to the wrong request.