Send a test event
POST
apiKeyheader
AuthorizationBearer <clave>Your secret API key, sent as Authorization: Bearer <key>. A key names its environment: psp_test_… works only against sandbox (https://api-sandbox.caibopay.app), psp_live_… only against live (https://api.caibopay.app). Keys are issued by Caibo when your account is opened; the dashboard (Developers) shows the key in use.
id*stringAccepted
application/json- response
attempts*integercreated_at*stringWhen it was created.
Formato
date-timedelivered_at?stringWhen it was delivered.
Formato
date-timeendpoint_id*stringThe id of the endpoint.
Match
^we_[0-9a-z]+$event_id*stringThe id of the event.
Match
^evt_[0-9a-z]+$event_type*stringThe event type.
Valor en
"beneficiary.created""beneficiary.verified""customer.created""customer.status_changed""customer.updated""funding_account.active""funding_account.failed""hosted_session.created""hosted_session.payment_reported""payin.completed""payin.failed""payout.cancelled""payout.completed""payout.created""payout.failed""payout.return_settled""payout.returned""payout_batch.cancellation_finished""payout_batch.cancellation_requested""payout_batch.completed""payout_batch.created""reconciliation.exception_created""reconciliation.exception_resolved""refund.approved""refund.completed""refund.created""refund.failed""refund.processing""remittance.completed""remittance.created""remittance.failed""remittance.processing""remittance.returned""remittance.review""risk.review_required""settlement.completed""settlement.created""settlement.failed""settlement.on_hold""settlement.processing""settlement_schedule.activated""settlement_schedule.blocked""webhook.ping""withdrawal.approved""withdrawal.cancelled""withdrawal.completed""withdrawal.created""withdrawal.failed""withdrawal.pending_approval""withdrawal.submitted"history*array<>id*stringThe id of the delivery.
Match
^whd_[0-9a-z]+$next_attempt_at?stringWhen it is tried next.
Formato
date-timeredelivery_of?stringThe id of the delivery this one repeats.
Match
^whd_[0-9a-z]+$status*stringpending: not yet attempted, or waiting for its next attempt. delivered: the receiver answered 2xx. exhausted: every attempt failed; redeliver to try again. cancelled: the endpoint was deleted first.
Valor en
"pending""delivered""exhausted""cancelled"Ejemplo de solicitud
curl -X POST 'https://api-sandbox.caibopay.app/v1/webhook-endpoints/string/ping'Ejemplo de respuesta
{ "attempts": 0, "created_at": "2019-08-24T14:15:22Z", "delivered_at": "2019-08-24T14:15:22Z", "endpoint_id": "string", "event_id": "string", "event_type": "beneficiary.created", "history": [ { "duration_ms": 0, "error": "string", "http_status": 0, "number": 0, "occurred_at": "2019-08-24T14:15:22Z" } ], "id": "string", "next_attempt_at": "2019-08-24T14:15:22Z", "redelivery_of": "string", "status": "pending"}