mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 21:08:12 +00:00
fix: ( telebirr ) read transId from webhook for provider_txn_id
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user