GCash

Inactivate a binding from a GCash access token revoke notification

Verifies GCash's signature over the relayed notification, then marks the binding identified by the revoked access token as inactivated. GCash has already revoked the token, so the GCash unbind API is not called. Already-inactivated bindings are returned as-is.

post/v1/gcash/bindings/unbind_webhook

Request

  • Base URL
    https://ewallets-api.paymongo.com
  • URL
    https://ewallets-api.paymongo.com/v1/gcash/bindings/unbind_webhook
  • Auth
    HTTP basic

Request body

requestobject required
signaturestring required

Example request

{
  "signature": "pIEdfkHOcaywvTBhJ3kJlK742BUegmwAmLHuryOXlZln..."
}

Response

Successfully inactivated binding

has_moreboolean

Example response

{
  "data": {
    "id": "bind_abc123",
    "inactivated_at": "2023-01-01 00:00:00+00:00",
    "organization_id": "org_abc123",
    "payment_method_id": "pm_abc123",
    "status_code": "INACTIVATED"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.