Appearance
getPaymentMethodDetails ​
Definition ​
Get payment method details
Signature ​
ts
export async function getPaymentMethodDetails(
paymentId: string,
contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<PaymentMethod>
Parameters ​
| Name | Type | Description |
|---|---|---|
| paymentId | string | id of the payment method |
| contextInstance | ShopwareApiInstance | instance of the api client (by default it's an Axios instance) |
Return type ​
ts
Promise<PaymentMethod>
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.