Skip to main content
GET
/
processor
/
api
/
v1
/
webhook
Get registered processor webhooks ( DEPRECATED )
curl --request GET \
  --url https://api.grailpay.com/processor/api/v1/webhook \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "",
  "data": [
    {
      "event_name": "TransactionStarted",
      "webhook_url": "https://example.com/webhook",
      "created_at": "2023-08-01 11:32:28",
      "updated_at": "2023-08-01 11:32:28"
    },
    {
      "event_name": "TransactionCompleted",
      "webhook_url": "https://example.com/webhook",
      "created_at": "2023-08-01 11:32:28",
      "updated_at": "2023-08-01 11:32:28"
    }
  ],
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team

Response

Successful response

status
boolean
Example:

true

message
string
Example:

""

data
object[]
Example:
[
{
"event_name": "TransactionStarted",
"webhook_url": "https://example.com/webhook",
"created_at": "2023-08-01 11:32:28",
"updated_at": "2023-08-01 11:32:28"
},
{
"event_name": "TransactionCompleted",
"webhook_url": "https://example.com/webhook",
"created_at": "2023-08-01 11:32:28",
"updated_at": "2023-08-01 11:32:28"
}
]
errors
string
Example:

null

error_code
string
Example:

null