Skip to main content
GET
/
v1
/
partner
/
webhooks
List webhooks
curl --request GET \
  --url https://sandbox.api.acountpay.com/v1/partner/webhooks \
  --header 'X-Partner-Client-Id: <api-key>' \
  --header 'X-Partner-Client-Secret: <api-key>'
[
  {
    "id": 1,
    "url": "https://your-pos.com/webhooks/acountpay",
    "events": [
      "payment.completed",
      "payment.failed"
    ],
    "status": "active",
    "secret": "whsec_...",
    "lastTriggeredAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-Partner-Client-Id
string
header
required

Your partner client ID

X-Partner-Client-Secret
string
header
required

Your partner client secret

Response

List of webhooks

id
number
Example:

1

url
string
Example:

"https://your-pos.com/webhooks/acountpay"

events
string[]
Example:
["payment.completed", "payment.failed"]
status
enum<string>
Available options:
active,
inactive
Example:

"active"

secret
string

Only returned on creation

Example:

"whsec_..."

lastTriggeredAt
string<date-time> | null
createdAt
string<date-time>