fix: ( telebirr ) read transId from webhook for provider_txn_id

This commit is contained in:
Abubeker Yasin
2026-07-19 22:16:20 +03:00
parent 996c0d8896
commit f48a4735c8
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,9 @@ export interface TelebirrWebhookPayload {
merch_order_id: string;
payment_order_id: string;
trade_status: string;
/** Telebirr's webhook (notify) sends the transaction id as camelCase `transId`;
* the queryOrder/status-query biz_content uses snake_case `trans_id`. Support both. */
transId?: string;
trans_id?: string;
total_amount?: string;
trans_currency?: string;