/api/v1/payment_intents/[slug]
Fetch the payment intent by identifier
GET - Public
Roles
type Role = "customer" | "merchant";https://debitllama.com/api/v1/payment_intents/[slug]?role=[ROLE]interface DynamicPaymentRequest_ApiV1 {
created_at: string;
status: DynamicPaymentRequestJobsStatus_ApiV1;
amount: string; // This is formatted ether in the DB, maybe I should serve it as WEI always!
currency: Currency_ApiV1;
chain_id: string;
allocated_gas: string; // This is also formatted ether!
}
enum DynamicPaymentRequestJobsStatus_ApiV1 {
CREATED = "Created",
LOCKED = "Locked",
COMPLETED = "Completed",
REJECETED = "Rejected",
}POST - Authenticated Endpoint
Last updated