mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
@@ -32,7 +32,8 @@ export enum ProviderMethod {
|
||||
CBE_BILL = "CBE_BILL",
|
||||
}
|
||||
|
||||
export type PaymentPlatform = "web" | "mobile";
|
||||
|
||||
export type PaymentPlatform = "web" | "mobile" | "inapp";
|
||||
|
||||
export type ClientAction =
|
||||
| { type: "REDIRECT"; url: string }
|
||||
@@ -42,6 +43,16 @@ export type ClientAction =
|
||||
receiveCode?: string;
|
||||
shortCode: string;
|
||||
}
|
||||
| {
|
||||
type: "INVOKE_BRIDGE";
|
||||
/** Which SuperApp host bridge the payload targets. */
|
||||
bridge: "TELEBIRR";
|
||||
/**
|
||||
* Signed query string handed verbatim to the host bridge (`js_fun_start_pay`).
|
||||
* NOT a URL — it has no scheme or host and must never be navigated to.
|
||||
*/
|
||||
rawRequest: string;
|
||||
}
|
||||
| {
|
||||
type: "COLLECT_OTP";
|
||||
providerOrderId: string;
|
||||
|
||||
Reference in New Issue
Block a user