package onpoint const ( PaymentMethodCOD = "cod" PaymentMethodBankTransfer = "bank_transfer" PaymentMethodWallet = "wallet" ) const ( CodeSuccess = "SUCCESS" TimeLayout = "2006-01-02T15:04:05Z" ) const ( baseURLStaging = "https://dev-selly-api.onpoint.vn" baseURLProd = "https://selly-api.onpoint.vn" apiPathCreateOrder = "/v1/orders/create" apiPathUpdateDelivery = "/v1/orders/update_delivery" apiPathCancelOrder = "/v1/orders/cancel" apiPathGetChannels = "/v1/channels" headerXAPIKey = "x-api-key" headerXTimestamp = "x-timestamp" headerXSignature = "x-signature" webhookEventUpdateOrderStatus = "UPDATE_ORDER_STATUS" webhookEventUpdateInventory = "update_inventory" ) var ( baseURLENVMapping = map[ENV]string{ EnvProd: baseURLProd, EnvStaging: baseURLStaging, } )