Payment Request
Update Payment Request
Guides
API References
- Payment Request
- Recurring Billing
- Charges
- Payout
- Account
- Orders
- Products
- Product Category
- Customers
- Staffs
- Invoice
- Webhook Events
- Static QR Codes
- Notifications
- Terminal
Payment Request
Update Payment Request
This endpoint is to update the payment request.
PUT
/
v1
/
payment-requests
/
{request_id}
curl --request PUT \
--url https://api.sandbox.hit-pay.com/v1/payment-requests/{request_id} \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '{
"amount": 100,
"currency": "SGD",
"payment_methods": [
"<string>"
],
"email": "jsmith@example.com",
"name": "<string>",
"phone": "<string>",
"wifi_terminal_id": "<string>",
"staff_id": "98888a24-d6b2-430d-9063-d2be76d443cd",
"purpose": "<string>",
"reference_number": "<string>",
"redirect_url": "https://www.google.com",
"webhook": "https://www.google.com",
"allow_repeated_payments": "false",
"expiry_date": "<string>",
"expires_after": "5 minutes",
"add_admin_fee": "false",
"send_email": "false",
"send_sms": "true",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"country": "<string>",
"state": "<string>",
"postal_code": "<string>"
},
"generate_qr": false
}'
Headers
Example:
"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"
Path Parameters
It's payment request id
Body
application/json
Was this page helpful?
curl --request PUT \
--url https://api.sandbox.hit-pay.com/v1/payment-requests/{request_id} \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '{
"amount": 100,
"currency": "SGD",
"payment_methods": [
"<string>"
],
"email": "jsmith@example.com",
"name": "<string>",
"phone": "<string>",
"wifi_terminal_id": "<string>",
"staff_id": "98888a24-d6b2-430d-9063-d2be76d443cd",
"purpose": "<string>",
"reference_number": "<string>",
"redirect_url": "https://www.google.com",
"webhook": "https://www.google.com",
"allow_repeated_payments": "false",
"expiry_date": "<string>",
"expires_after": "5 minutes",
"add_admin_fee": "false",
"send_email": "false",
"send_sms": "true",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"country": "<string>",
"state": "<string>",
"postal_code": "<string>"
},
"generate_qr": false
}'