Skip to main content

Refund Transaction

Using BharatX Dashboard#

You can refund any transaction done via BharatX using our dashboard here. You can find the shopify order number from shopify dashboard.

Using API#

note

You can use testPartnerId as your partnerId and testPrivateKey as your API Key for testing purposes.

warning

Never share your API Keys with anyone. Anyone with the API Key will be able to create transactions on your behalf. It should reside solely on your servers.

POST https://web.bharatx.tech/api/shopify/refund-transaction
Headers:Content-Type: application/jsonAuthorization: <Basic Auth using partnerId:privateApiKey>
Body:{  "shopifyOrderNumber": 1002 // The order number visible to user / visible in shopify dashboard}

shopifyOrderNumber: this is the order number from the dashboard. It is also availbale as order.order_number in Shopify Order resource.