GET
/
v1
/
payment-requests
/
{request_id}
curl --request GET \
  --url https://api.sandbox.hit-pay.com/v1/payment-requests/{request_id} \
  --header 'X-BUSINESS-API-KEY: <x-business-api-key>'
"{\n    \"id\": \"974ee963-ad54-4ace-8802-1e5e724c28b5\",\n    \"name\": \"Buyer_Name_1663651788\",\n    \"email\": \"buyer_1663651788@gmail.com\",\n    \"phone\": \"+6539393939\",\n    \"amount\": \"900.00\",\n    \"currency\": \"SGD\",\n    \"status\": \"pending\",\n    \"purpose\": \"Testing\",\n    \"reference_number\": \"12345678\",\n    \"payment_methods\": [\n        \"card\"\n    ],\n    \"url\": \"https://securecheckout.sandbox.hit-pay.com/payment-request/@ban/974ee963-ad54-4ace-8802-1e5e724c28b5/checkout\",\n    \"redirect_url\": \"https://hit-pay.postman.co/\",\n    \"webhook\": \"https://hit-pay.postman.co/\",\n    \"send_sms\": true,\n    \"send_email\": true,\n    \"sms_status\": \"pending\",\n    \"email_status\": \"pending\",\n    \"allow_repeated_payments\": false,\n    \"expiry_date\": \"2022-10-10T01:01:01\",\n    \"created_at\": \"2022-09-20T13:29:48\",\n    \"updated_at\": \"2022-09-20T13:29:48\"\n}"

Headers

X-BUSINESS-API-KEY
string
required

Path Parameters

request_id
string
required

It's required field

Response

200
application/json
200
id
string
name
string
email
string
phone
string
amount
string
currency
string
status
string
purpose
string
reference_number
string
payment_methods
string[]
url
string
redirect_url
string
webhook
string
send_sms
boolean
send_email
boolean
sms_status
string
email_status
string
allow_repeated_payments
boolean
expiry_date
string
address
object
line_items
object[]
created_at
string
updated_at
string
payments
object[]